Class: Azure::Hanaonazure::Mgmt::V2017_11_03_preview::Models::HanaInstance

Inherits:
Resource
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2017-11-03-preview/generated/azure_mgmt_hanaonazure/models/hana_instance.rb

Overview

HANA instance info on Azure (ARM properties and HANA properties)

Instance Attribute Summary collapse

Attributes inherited from Resource

#id, #location, #name, #tags, #type

Class Method Summary collapse

Methods inherited from Resource

#resource_group

Instance Attribute Details

#hana_instance_idString

Returns Specifies the HANA instance unique ID.

Returns:

  • (String)

    Specifies the HANA instance unique ID.



32
33
34
# File 'lib/2017-11-03-preview/generated/azure_mgmt_hanaonazure/models/hana_instance.rb', line 32

def hana_instance_id
  @hana_instance_id
end

#hardware_profileHardwareProfile

instance.

Returns:



17
18
19
# File 'lib/2017-11-03-preview/generated/azure_mgmt_hanaonazure/models/hana_instance.rb', line 17

def hardware_profile
  @hardware_profile
end

#hw_revisionString

Returns Hardware revision of a HANA instance.

Returns:

  • (String)

    Hardware revision of a HANA instance



43
44
45
# File 'lib/2017-11-03-preview/generated/azure_mgmt_hanaonazure/models/hana_instance.rb', line 43

def hw_revision
  @hw_revision
end

#network_profileNetworkProfile

instance.

Returns:



29
30
31
# File 'lib/2017-11-03-preview/generated/azure_mgmt_hanaonazure/models/hana_instance.rb', line 29

def network_profile
  @network_profile
end

#os_profileOSProfile

HANA instance.

Returns:

  • (OSProfile)

    Specifies the operating system settings for the



25
26
27
# File 'lib/2017-11-03-preview/generated/azure_mgmt_hanaonazure/models/hana_instance.rb', line 25

def os_profile
  @os_profile
end

#partner_node_idString

network with this HanaInstance

Returns:

  • (String)

    ARM ID of another HanaInstance that will share a



47
48
49
# File 'lib/2017-11-03-preview/generated/azure_mgmt_hanaonazure/models/hana_instance.rb', line 47

def partner_node_id
  @partner_node_id
end

#power_stateHanaInstancePowerStateEnum

values include: ‘starting’, ‘started’, ‘stopping’, ‘stopped’, ‘restarting’, ‘unknown’

Returns:



37
38
39
# File 'lib/2017-11-03-preview/generated/azure_mgmt_hanaonazure/models/hana_instance.rb', line 37

def power_state
  @power_state
end

#provisioning_stateHanaProvisioningStatesEnum

HanaInstance. Possible values include: ‘Accepted’, ‘Creating’, ‘Updating’, ‘Failed’, ‘Succeeded’, ‘Deleting’, ‘Migrating’

Returns:



52
53
54
# File 'lib/2017-11-03-preview/generated/azure_mgmt_hanaonazure/models/hana_instance.rb', line 52

def provisioning_state
  @provisioning_state
end

#proximity_placement_groupString

Returns Resource proximity placement group.

Returns:

  • (String)

    Resource proximity placement group



40
41
42
# File 'lib/2017-11-03-preview/generated/azure_mgmt_hanaonazure/models/hana_instance.rb', line 40

def proximity_placement_group
  @proximity_placement_group
end

#storage_profileStorageProfile

instance disks.

Returns:



21
22
23
# File 'lib/2017-11-03-preview/generated/azure_mgmt_hanaonazure/models/hana_instance.rb', line 21

def storage_profile
  @storage_profile
end

Class Method Details

.mapperObject

Mapper for HanaInstance class as Ruby Hash. This will be used for serialization/deserialization.



59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
# File 'lib/2017-11-03-preview/generated/azure_mgmt_hanaonazure/models/hana_instance.rb', line 59

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'HanaInstance',
    type: {
      name: 'Composite',
      class_name: 'HanaInstance',
      model_properties: {
        id: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'id',
          type: {
            name: 'String'
          }
        },
        name: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'name',
          type: {
            name: 'String'
          }
        },
        type: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'type',
          type: {
            name: 'String'
          }
        },
        location: {
          client_side_validation: true,
          required: false,
          serialized_name: 'location',
          type: {
            name: 'String'
          }
        },
        tags: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'tags',
          type: {
            name: 'Dictionary',
            value: {
                client_side_validation: true,
                required: false,
                serialized_name: 'StringElementType',
                type: {
                  name: 'String'
                }
            }
          }
        },
        hardware_profile: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.hardwareProfile',
          type: {
            name: 'Composite',
            class_name: 'HardwareProfile'
          }
        },
        storage_profile: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.storageProfile',
          type: {
            name: 'Composite',
            class_name: 'StorageProfile'
          }
        },
        os_profile: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.osProfile',
          type: {
            name: 'Composite',
            class_name: 'OSProfile'
          }
        },
        network_profile: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.networkProfile',
          type: {
            name: 'Composite',
            class_name: 'NetworkProfile'
          }
        },
        hana_instance_id: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.hanaInstanceId',
          type: {
            name: 'String'
          }
        },
        power_state: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.powerState',
          type: {
            name: 'String'
          }
        },
        proximity_placement_group: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.proximityPlacementGroup',
          type: {
            name: 'String'
          }
        },
        hw_revision: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.hwRevision',
          type: {
            name: 'String'
          }
        },
        partner_node_id: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.partnerNodeId',
          type: {
            name: 'String'
          }
        },
        provisioning_state: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.provisioningState',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end