@@ -69,10 +69,12 @@ public ManagedInstanceProperties()
69
69
/// DR).
70
70
/// Possible values include: 'Active', 'Passive'</param>
71
71
72
- /// <param name="vCores">The number of vCores. Allowed values: 8, 16, 24, 32, 40, 64, 80.
72
+ /// <param name="vCores">The number of vCores. Allowed values: 4, 6, 8, 10, 12, 16, 20, 24, 32, 40,
73
+ /// 48, 56, 64, 80, 96, 128. Supported vCores depends on the selected hardware
74
+ /// family and service tier.
73
75
/// </param>
74
76
75
- /// <param name="storageSizeInGb">Storage size in GB. Minimum value: 32. Maximum value: 16384 . Increments of
77
+ /// <param name="storageSizeInGb">Storage size in GB. Minimum value: 32. Maximum value: 32768 . Increments of
76
78
/// 32 GB allowed only. Maximum value depends on the selected hardware family
77
79
/// and number of vCores.
78
80
/// </param>
@@ -86,6 +88,11 @@ public ManagedInstanceProperties()
86
88
/// create/update operation.
87
89
/// </param>
88
90
91
+ /// <param name="memorySizeInGb">Memory size in GB. Minimum value: 28. Maximum value: 870. Minimum and
92
+ /// maximum value depend on the number of vCores and service tier. Read more
93
+ /// about resource limits: https://aka.ms/mi-resource-limits-api.
94
+ /// </param>
95
+
89
96
/// <param name="collation">Collation of the managed instance.
90
97
/// </param>
91
98
@@ -144,7 +151,7 @@ public ManagedInstanceProperties()
144
151
/// Geo (GeoRedundantStorage) and GeoZone(GeoZoneRedundantStorage)
145
152
/// Possible values include: 'Geo', 'Local', 'Zone', 'GeoZone'</param>
146
153
147
- /// <param name="zoneRedundant">Whether or not the multi-az is enabled.
154
+ /// <param name="zoneRedundant">Whether or not the zone-redundancy is enabled.
148
155
/// </param>
149
156
150
157
/// <param name="primaryUserAssignedIdentityId">The resource id of a user assigned identity to be used by default.
@@ -153,10 +160,10 @@ public ManagedInstanceProperties()
153
160
/// <param name="keyId">A CMK URI of the key to use for encryption.
154
161
/// </param>
155
162
156
- /// <param name="administrators">The Azure Active Directory administrator of the instance. This can only be
157
- /// used at instance create time. If used for instance update, it will be
158
- /// ignored or it will result in an error. For updates individual APIs will
159
- /// need to be used.
163
+ /// <param name="administrators">The Azure Active Directory administrator can be utilized during instance
164
+ /// creation and for instance updates, except for the azureADOnlyAuthentication
165
+ /// property. To update the azureADOnlyAuthentication property, individual API
166
+ /// must be used.
160
167
/// </param>
161
168
162
169
/// <param name="servicePrincipal">The managed instance's service principal.
@@ -168,7 +175,7 @@ public ManagedInstanceProperties()
168
175
/// <param name="externalGovernanceStatus">Status of external governance.
169
176
/// Possible values include: 'Enabled', 'Disabled'</param>
170
177
171
- /// <param name="pricingModel">Weather or not Managed Instance is freemium .
178
+ /// <param name="pricingModel">Pricing model of Managed Instance.
172
179
/// Possible values include: 'Regular', 'Freemium'</param>
173
180
174
181
/// <param name="createTime">Specifies the point in time (ISO8601 format) of the Managed Instance
@@ -180,8 +187,11 @@ public ManagedInstanceProperties()
180
187
181
188
/// <param name="databaseFormat">Specifies the internal format of instance databases specific to the SQL
182
189
/// engine version.
183
- /// Possible values include: 'AlwaysUpToDate', 'SQLServer2022'</param>
184
- public ManagedInstanceProperties ( string provisioningState = default ( string ) , string managedInstanceCreateMode = default ( string ) , string fullyQualifiedDomainName = default ( string ) , bool ? isGeneralPurposeV2 = default ( bool ? ) , string administratorLogin = default ( string ) , string administratorLoginPassword = default ( string ) , string subnetId = default ( string ) , string state = default ( string ) , string licenseType = default ( string ) , string hybridSecondaryUsage = default ( string ) , string hybridSecondaryUsageDetected = default ( string ) , int ? vCores = default ( int ? ) , int ? storageSizeInGb = default ( int ? ) , int ? storageIOps = default ( int ? ) , int ? storageThroughputMBps = default ( int ? ) , string collation = default ( string ) , string dnsZone = default ( string ) , string dnsZonePartner = default ( string ) , bool ? publicDataEndpointEnabled = default ( bool ? ) , string sourceManagedInstanceId = default ( string ) , System . DateTime ? restorePointInTime = default ( System . DateTime ? ) , string proxyOverride = default ( string ) , string timezoneId = default ( string ) , string instancePoolId = default ( string ) , string maintenanceConfigurationId = default ( string ) , System . Collections . Generic . IList < ManagedInstancePecProperty > privateEndpointConnections = default ( System . Collections . Generic . IList < ManagedInstancePecProperty > ) , string minimalTlsVersion = default ( string ) , string currentBackupStorageRedundancy = default ( string ) , string requestedBackupStorageRedundancy = default ( string ) , bool ? zoneRedundant = default ( bool ? ) , string primaryUserAssignedIdentityId = default ( string ) , string keyId = default ( string ) , ManagedInstanceExternalAdministrator administrators = default ( ManagedInstanceExternalAdministrator ) , ServicePrincipal servicePrincipal = default ( ServicePrincipal ) , string virtualClusterId = default ( string ) , string externalGovernanceStatus = default ( string ) , string pricingModel = default ( string ) , System . DateTime ? createTime = default ( System . DateTime ? ) , string authenticationMetadata = default ( string ) , string databaseFormat = default ( string ) )
190
+ /// Possible values include: 'AlwaysUpToDate', 'SQLServer2022', 'SQLServer2025'</param>
191
+
192
+ /// <param name="requestedLogicalAvailabilityZone">Specifies the logical availability zone Managed Instance is pinned to.
193
+ /// Possible values include: 'NoPreference', '1', '2', '3'</param>
194
+ public ManagedInstanceProperties ( string provisioningState = default ( string ) , string managedInstanceCreateMode = default ( string ) , string fullyQualifiedDomainName = default ( string ) , bool ? isGeneralPurposeV2 = default ( bool ? ) , string administratorLogin = default ( string ) , string administratorLoginPassword = default ( string ) , string subnetId = default ( string ) , string state = default ( string ) , string licenseType = default ( string ) , string hybridSecondaryUsage = default ( string ) , string hybridSecondaryUsageDetected = default ( string ) , int ? vCores = default ( int ? ) , int ? storageSizeInGb = default ( int ? ) , int ? storageIOps = default ( int ? ) , int ? storageThroughputMBps = default ( int ? ) , int ? memorySizeInGb = default ( int ? ) , string collation = default ( string ) , string dnsZone = default ( string ) , string dnsZonePartner = default ( string ) , bool ? publicDataEndpointEnabled = default ( bool ? ) , string sourceManagedInstanceId = default ( string ) , System . DateTime ? restorePointInTime = default ( System . DateTime ? ) , string proxyOverride = default ( string ) , string timezoneId = default ( string ) , string instancePoolId = default ( string ) , string maintenanceConfigurationId = default ( string ) , System . Collections . Generic . IList < ManagedInstancePecProperty > privateEndpointConnections = default ( System . Collections . Generic . IList < ManagedInstancePecProperty > ) , string minimalTlsVersion = default ( string ) , string currentBackupStorageRedundancy = default ( string ) , string requestedBackupStorageRedundancy = default ( string ) , bool ? zoneRedundant = default ( bool ? ) , string primaryUserAssignedIdentityId = default ( string ) , string keyId = default ( string ) , ManagedInstanceExternalAdministrator administrators = default ( ManagedInstanceExternalAdministrator ) , ServicePrincipal servicePrincipal = default ( ServicePrincipal ) , string virtualClusterId = default ( string ) , string externalGovernanceStatus = default ( string ) , string pricingModel = default ( string ) , System . DateTime ? createTime = default ( System . DateTime ? ) , string authenticationMetadata = default ( string ) , string databaseFormat = default ( string ) , string requestedLogicalAvailabilityZone = default ( string ) )
185
195
186
196
{
187
197
this . ProvisioningState = provisioningState ;
@@ -199,6 +209,7 @@ public ManagedInstanceProperties()
199
209
this . StorageSizeInGb = storageSizeInGb ;
200
210
this . StorageIOps = storageIOps ;
201
211
this . StorageThroughputMBps = storageThroughputMBps ;
212
+ this . MemorySizeInGb = memorySizeInGb ;
202
213
this . Collation = collation ;
203
214
this . DnsZone = dnsZone ;
204
215
this . DnsZonePartner = dnsZonePartner ;
@@ -224,6 +235,7 @@ public ManagedInstanceProperties()
224
235
this . CreateTime = createTime ;
225
236
this . AuthenticationMetadata = authenticationMetadata ;
226
237
this . DatabaseFormat = databaseFormat ;
238
+ this . RequestedLogicalAvailabilityZone = requestedLogicalAvailabilityZone ;
227
239
CustomInit ( ) ;
228
240
}
229
241
@@ -314,14 +326,15 @@ public ManagedInstanceProperties()
314
326
public string HybridSecondaryUsageDetected { get ; private set ; }
315
327
316
328
/// <summary>
317
- /// Gets or sets the number of vCores. Allowed values: 8, 16, 24, 32, 40, 64,
318
- /// 80.
329
+ /// Gets or sets the number of vCores. Allowed values: 4, 6, 8, 10, 12, 16, 20,
330
+ /// 24, 32, 40, 48, 56, 64, 80, 96, 128. Supported vCores depends on the
331
+ /// selected hardware family and service tier.
319
332
/// </summary>
320
333
[ Newtonsoft . Json . JsonProperty ( PropertyName = "vCores" ) ]
321
334
public int ? VCores { get ; set ; }
322
335
323
336
/// <summary>
324
- /// Gets or sets storage size in GB. Minimum value: 32. Maximum value: 16384 .
337
+ /// Gets or sets storage size in GB. Minimum value: 32. Maximum value: 32768 .
325
338
/// Increments of 32 GB allowed only. Maximum value depends on the selected
326
339
/// hardware family and number of vCores.
327
340
/// </summary>
@@ -343,6 +356,14 @@ public ManagedInstanceProperties()
343
356
[ Newtonsoft . Json . JsonProperty ( PropertyName = "storageThroughputMBps" ) ]
344
357
public int ? StorageThroughputMBps { get ; set ; }
345
358
359
+ /// <summary>
360
+ /// Gets or sets memory size in GB. Minimum value: 28. Maximum value: 870.
361
+ /// Minimum and maximum value depend on the number of vCores and service tier.
362
+ /// Read more about resource limits: https://aka.ms/mi-resource-limits-api.
363
+ /// </summary>
364
+ [ Newtonsoft . Json . JsonProperty ( PropertyName = "memorySizeInGB" ) ]
365
+ public int ? MemorySizeInGb { get ; set ; }
366
+
346
367
/// <summary>
347
368
/// Gets or sets collation of the managed instance.
348
369
/// </summary>
@@ -448,7 +469,7 @@ public ManagedInstanceProperties()
448
469
public string RequestedBackupStorageRedundancy { get ; set ; }
449
470
450
471
/// <summary>
451
- /// Gets or sets whether or not the multi-az is enabled.
472
+ /// Gets or sets whether or not the zone-redundancy is enabled.
452
473
/// </summary>
453
474
[ Newtonsoft . Json . JsonProperty ( PropertyName = "zoneRedundant" ) ]
454
475
public bool ? ZoneRedundant { get ; set ; }
@@ -467,10 +488,10 @@ public ManagedInstanceProperties()
467
488
public string KeyId { get ; set ; }
468
489
469
490
/// <summary>
470
- /// Gets or sets the Azure Active Directory administrator of the instance. This
471
- /// can only be used at instance create time. If used for instance update, it
472
- /// will be ignored or it will result in an error. For updates individual APIs
473
- /// will need to be used.
491
+ /// Gets or sets the Azure Active Directory administrator can be utilized
492
+ /// during instance creation and for instance updates, except for the
493
+ /// azureADOnlyAuthentication property. To update the azureADOnlyAuthentication
494
+ /// property, individual API must be used.
474
495
/// </summary>
475
496
[ Newtonsoft . Json . JsonProperty ( PropertyName = "administrators" ) ]
476
497
public ManagedInstanceExternalAdministrator Administrators { get ; set ; }
@@ -494,7 +515,7 @@ public ManagedInstanceProperties()
494
515
public string ExternalGovernanceStatus { get ; private set ; }
495
516
496
517
/// <summary>
497
- /// Gets or sets weather or not Managed Instance is freemium . Possible values include: 'Regular', 'Freemium'
518
+ /// Gets or sets pricing model of Managed Instance. Possible values include: 'Regular', 'Freemium'
498
519
/// </summary>
499
520
[ Newtonsoft . Json . JsonProperty ( PropertyName = "pricingModel" ) ]
500
521
public string PricingModel { get ; set ; }
@@ -514,9 +535,16 @@ public ManagedInstanceProperties()
514
535
515
536
/// <summary>
516
537
/// Gets or sets specifies the internal format of instance databases specific
517
- /// to the SQL engine version. Possible values include: 'AlwaysUpToDate', 'SQLServer2022'
538
+ /// to the SQL engine version. Possible values include: 'AlwaysUpToDate', 'SQLServer2022', 'SQLServer2025'
518
539
/// </summary>
519
540
[ Newtonsoft . Json . JsonProperty ( PropertyName = "databaseFormat" ) ]
520
541
public string DatabaseFormat { get ; set ; }
542
+
543
+ /// <summary>
544
+ /// Gets or sets specifies the logical availability zone Managed Instance is
545
+ /// pinned to. Possible values include: 'NoPreference', '1', '2', '3'
546
+ /// </summary>
547
+ [ Newtonsoft . Json . JsonProperty ( PropertyName = "requestedLogicalAvailabilityZone" ) ]
548
+ public string RequestedLogicalAvailabilityZone { get ; set ; }
521
549
}
522
550
}
0 commit comments