Class: Azure::SQL::Mgmt::V2015_05_01_preview::Models::ManagedInstance
- Inherits:
-
TrackedResource
- Object
- Resource
- TrackedResource
- Azure::SQL::Mgmt::V2015_05_01_preview::Models::ManagedInstance
- Includes:
- MsRestAzure
- Defined in:
- lib/2015-05-01-preview/generated/azure_mgmt_sql/models/managed_instance.rb
Overview
An Azure SQL managed instance.
Instance Attribute Summary collapse
-
#administrator_login ⇒ String
only be specified when the managed instance is being created (and is required for creation).
-
#administrator_login_password ⇒ String
instance creation).
-
#collation ⇒ String
Collation of the managed instance.
-
#dns_zone ⇒ String
The Dns Zone that the managed instance is in.
-
#dns_zone_partner ⇒ String
zone this managed instance will share after creation.
-
#fully_qualified_domain_name ⇒ String
instance.
-
#identity ⇒ ResourceIdentity
managed instance.
-
#instance_pool_id ⇒ String
belongs to.
-
#license_type ⇒ ManagedInstanceLicenseType
are ‘LicenseIncluded’ (regular price inclusive of a new SQL license) and ‘BasePrice’ (discounted AHB price for bringing your own SQL licenses).
-
#managed_instance_create_mode ⇒ ManagedServerCreateMode
creation.
-
#proxy_override ⇒ ManagedInstanceProxyOverride
connecting to the instance.
-
#public_data_endpoint_enabled ⇒ Boolean
Whether or not the public data endpoint is enabled.
-
#restore_point_in_time ⇒ DateTime
source database that will be restored to create the new database.
-
#sku ⇒ Sku
GP_Gen4, GP_Gen5, BC_Gen4, BC_Gen5.
-
#source_managed_instance_id ⇒ String
associated with create operation of this instance.
-
#state ⇒ String
The state of the managed instance.
-
#storage_size_in_gb ⇒ Integer
8192.
-
#subnet_id ⇒ String
Subnet resource ID for the managed instance.
-
#timezone_id ⇒ String
supported by Windows.
-
#v_cores ⇒ Integer
40, 64, 80.
Attributes inherited from TrackedResource
Attributes inherited from Resource
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for ManagedInstance class as Ruby Hash.
Methods inherited from Resource
Instance Attribute Details
#administrator_login ⇒ String
only be specified when the managed instance is being created (and is required for creation).
40 41 42 |
# File 'lib/2015-05-01-preview/generated/azure_mgmt_sql/models/managed_instance.rb', line 40 def administrator_login @administrator_login end |
#administrator_login_password ⇒ String
instance creation).
44 45 46 |
# File 'lib/2015-05-01-preview/generated/azure_mgmt_sql/models/managed_instance.rb', line 44 def administrator_login_password @administrator_login_password end |
#collation ⇒ String
Returns Collation of the managed instance.
67 68 69 |
# File 'lib/2015-05-01-preview/generated/azure_mgmt_sql/models/managed_instance.rb', line 67 def collation @collation end |
#dns_zone ⇒ String
Returns The Dns Zone that the managed instance is in.
70 71 72 |
# File 'lib/2015-05-01-preview/generated/azure_mgmt_sql/models/managed_instance.rb', line 70 def dns_zone @dns_zone end |
#dns_zone_partner ⇒ String
zone this managed instance will share after creation.
74 75 76 |
# File 'lib/2015-05-01-preview/generated/azure_mgmt_sql/models/managed_instance.rb', line 74 def dns_zone_partner @dns_zone_partner end |
#fully_qualified_domain_name ⇒ String
instance.
35 36 37 |
# File 'lib/2015-05-01-preview/generated/azure_mgmt_sql/models/managed_instance.rb', line 35 def fully_qualified_domain_name @fully_qualified_domain_name end |
#identity ⇒ ResourceIdentity
managed instance.
17 18 19 |
# File 'lib/2015-05-01-preview/generated/azure_mgmt_sql/models/managed_instance.rb', line 17 def identity @identity end |
#instance_pool_id ⇒ String
belongs to.
108 109 110 |
# File 'lib/2015-05-01-preview/generated/azure_mgmt_sql/models/managed_instance.rb', line 108 def instance_pool_id @instance_pool_id end |
#license_type ⇒ ManagedInstanceLicenseType
are ‘LicenseIncluded’ (regular price inclusive of a new SQL license) and ‘BasePrice’ (discounted AHB price for bringing your own SQL licenses). Possible values include: ‘LicenseIncluded’, ‘BasePrice’
56 57 58 |
# File 'lib/2015-05-01-preview/generated/azure_mgmt_sql/models/managed_instance.rb', line 56 def license_type @license_type end |
#managed_instance_create_mode ⇒ ManagedServerCreateMode
creation.
Default: Regular instance creation.
Restore: Creates an instance by restoring a set of backups to specific point in time. RestorePointInTime and SourceManagedInstanceId must be specified. Possible values include: ‘Default’, ‘PointInTimeRestore’
31 32 33 |
# File 'lib/2015-05-01-preview/generated/azure_mgmt_sql/models/managed_instance.rb', line 31 def managed_instance_create_mode @managed_instance_create_mode end |
#proxy_override ⇒ ManagedInstanceProxyOverride
connecting to the instance. Possible values include: ‘Proxy’, ‘Redirect’, ‘Default’
90 91 92 |
# File 'lib/2015-05-01-preview/generated/azure_mgmt_sql/models/managed_instance.rb', line 90 def proxy_override @proxy_override end |
#public_data_endpoint_enabled ⇒ Boolean
Returns Whether or not the public data endpoint is enabled.
77 78 79 |
# File 'lib/2015-05-01-preview/generated/azure_mgmt_sql/models/managed_instance.rb', line 77 def public_data_endpoint_enabled @public_data_endpoint_enabled end |
#restore_point_in_time ⇒ DateTime
source database that will be restored to create the new database.
85 86 87 |
# File 'lib/2015-05-01-preview/generated/azure_mgmt_sql/models/managed_instance.rb', line 85 def restore_point_in_time @restore_point_in_time end |
#sku ⇒ Sku
GP_Gen4, GP_Gen5, BC_Gen4, BC_Gen5
21 22 23 |
# File 'lib/2015-05-01-preview/generated/azure_mgmt_sql/models/managed_instance.rb', line 21 def sku @sku end |
#source_managed_instance_id ⇒ String
associated with create operation of this instance.
81 82 83 |
# File 'lib/2015-05-01-preview/generated/azure_mgmt_sql/models/managed_instance.rb', line 81 def source_managed_instance_id @source_managed_instance_id end |
#state ⇒ String
Returns The state of the managed instance.
50 51 52 |
# File 'lib/2015-05-01-preview/generated/azure_mgmt_sql/models/managed_instance.rb', line 50 def state @state end |
#storage_size_in_gb ⇒ Integer
-
Increments of 32 GB allowed only.
64 65 66 |
# File 'lib/2015-05-01-preview/generated/azure_mgmt_sql/models/managed_instance.rb', line 64 def storage_size_in_gb @storage_size_in_gb end |
#subnet_id ⇒ String
Returns Subnet resource ID for the managed instance.
47 48 49 |
# File 'lib/2015-05-01-preview/generated/azure_mgmt_sql/models/managed_instance.rb', line 47 def subnet_id @subnet_id end |
#timezone_id ⇒ String
supported by Windows. Windows keeps details on supported timezones, including the id, in registry under KEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionTime Zones. You can get those registry values via SQL Server by querying SELECT name AS timezone_id FROM sys.time_zone_info. List of Ids can also be obtained by executing [System.TimeZoneInfo]::GetSystemTimeZones() in PowerShell. An example of valid timezone id is “Pacific Standard Time” or “W. Europe Standard Time”.
104 105 106 |
# File 'lib/2015-05-01-preview/generated/azure_mgmt_sql/models/managed_instance.rb', line 104 def timezone_id @timezone_id end |
#v_cores ⇒ Integer
40, 64, 80.
60 61 62 |
# File 'lib/2015-05-01-preview/generated/azure_mgmt_sql/models/managed_instance.rb', line 60 def v_cores @v_cores end |
Class Method Details
.mapper ⇒ Object
Mapper for ManagedInstance class as Ruby Hash. This will be used for serialization/deserialization.
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 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 |
# File 'lib/2015-05-01-preview/generated/azure_mgmt_sql/models/managed_instance.rb', line 115 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'ManagedInstance', type: { name: 'Composite', class_name: 'ManagedInstance', 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: true, serialized_name: 'location', type: { name: 'String' } }, tags: { client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { name: 'String' } } } }, identity: { client_side_validation: true, required: false, serialized_name: 'identity', type: { name: 'Composite', class_name: 'ResourceIdentity' } }, sku: { client_side_validation: true, required: false, serialized_name: 'sku', type: { name: 'Composite', class_name: 'Sku' } }, managed_instance_create_mode: { client_side_validation: true, required: false, serialized_name: 'properties.managedInstanceCreateMode', type: { name: 'String' } }, fully_qualified_domain_name: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.fullyQualifiedDomainName', type: { name: 'String' } }, administrator_login: { client_side_validation: true, required: false, serialized_name: 'properties.administratorLogin', type: { name: 'String' } }, administrator_login_password: { client_side_validation: true, required: false, serialized_name: 'properties.administratorLoginPassword', type: { name: 'String' } }, subnet_id: { client_side_validation: true, required: false, serialized_name: 'properties.subnetId', type: { name: 'String' } }, state: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.state', type: { name: 'String' } }, license_type: { client_side_validation: true, required: false, serialized_name: 'properties.licenseType', type: { name: 'String' } }, v_cores: { client_side_validation: true, required: false, serialized_name: 'properties.vCores', type: { name: 'Number' } }, storage_size_in_gb: { client_side_validation: true, required: false, serialized_name: 'properties.storageSizeInGB', type: { name: 'Number' } }, collation: { client_side_validation: true, required: false, serialized_name: 'properties.collation', type: { name: 'String' } }, dns_zone: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.dnsZone', type: { name: 'String' } }, dns_zone_partner: { client_side_validation: true, required: false, serialized_name: 'properties.dnsZonePartner', type: { name: 'String' } }, public_data_endpoint_enabled: { client_side_validation: true, required: false, serialized_name: 'properties.publicDataEndpointEnabled', type: { name: 'Boolean' } }, source_managed_instance_id: { client_side_validation: true, required: false, serialized_name: 'properties.sourceManagedInstanceId', type: { name: 'String' } }, restore_point_in_time: { client_side_validation: true, required: false, serialized_name: 'properties.restorePointInTime', type: { name: 'DateTime' } }, proxy_override: { client_side_validation: true, required: false, serialized_name: 'properties.proxyOverride', type: { name: 'String' } }, timezone_id: { client_side_validation: true, required: false, serialized_name: 'properties.timezoneId', type: { name: 'String' } }, instance_pool_id: { client_side_validation: true, required: false, serialized_name: 'properties.instancePoolId', type: { name: 'String' } } } } } end |