ArmSqlModelFactory.ManagedInstancePatch Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
public static Azure.ResourceManager.Sql.Models.ManagedInstancePatch ManagedInstancePatch(Azure.ResourceManager.Sql.Models.SqlSku sku, Azure.ResourceManager.Models.ManagedServiceIdentity identity, Azure.ResourceManager.Sql.Models.ManagedInstancePropertiesProvisioningState? provisioningState, Azure.ResourceManager.Sql.Models.ManagedServerCreateMode? managedInstanceCreateMode, string fullyQualifiedDomainName, bool? isGeneralPurposeV2, string administratorLogin, string administratorLoginPassword, Azure.Core.ResourceIdentifier subnetId, string state, Azure.ResourceManager.Sql.Models.ManagedInstanceLicenseType? licenseType, Azure.ResourceManager.Sql.Models.HybridSecondaryUsage? hybridSecondaryUsage, Azure.ResourceManager.Sql.Models.HybridSecondaryUsageDetected? hybridSecondaryUsageDetected, int? vCores, int? storageSizeInGB, int? storageIOps, int? storageThroughputMBps, int? memorySizeInGB, string collation, string dnsZone, Azure.Core.ResourceIdentifier managedDnsZonePartner, bool? isPublicDataEndpointEnabled, Azure.Core.ResourceIdentifier sourceManagedInstanceId, DateTimeOffset? restorePointInTime, Azure.ResourceManager.Sql.Models.ManagedInstanceProxyOverride? proxyOverride, string timezoneId, Azure.Core.ResourceIdentifier instancePoolId, Azure.Core.ResourceIdentifier maintenanceConfigurationId, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Sql.Models.ManagedInstancePecProperty> privateEndpointConnections, string minimalTlsVersion, Azure.ResourceManager.Sql.Models.SqlBackupStorageRedundancy? currentBackupStorageRedundancy, Azure.ResourceManager.Sql.Models.SqlBackupStorageRedundancy? requestedBackupStorageRedundancy, bool? isZoneRedundant, Azure.Core.ResourceIdentifier primaryUserAssignedIdentityId, Uri keyId, Azure.ResourceManager.Sql.Models.ManagedInstanceExternalAdministrator administrators, Azure.ResourceManager.Sql.Models.SqlServicePrincipal servicePrincipal, Azure.Core.ResourceIdentifier virtualClusterId, Azure.ResourceManager.Sql.Models.ExternalGovernanceStatus? externalGovernanceStatus, Azure.ResourceManager.Sql.Models.SqlManagedInstancePricingModel? pricingModel, DateTimeOffset? createOn, Azure.ResourceManager.Sql.Models.AuthMetadataLookupMode? authenticationMetadata, Azure.ResourceManager.Sql.Models.ManagedInstanceDatabaseFormat? databaseFormat, Azure.ResourceManager.Sql.Models.SqlAvailabilityZoneType? requestedLogicalAvailabilityZone, System.Collections.Generic.IDictionary<string,string> tags);
static member ManagedInstancePatch : Azure.ResourceManager.Sql.Models.SqlSku * Azure.ResourceManager.Models.ManagedServiceIdentity * Nullable<Azure.ResourceManager.Sql.Models.ManagedInstancePropertiesProvisioningState> * Nullable<Azure.ResourceManager.Sql.Models.ManagedServerCreateMode> * string * Nullable<bool> * string * string * Azure.Core.ResourceIdentifier * string * Nullable<Azure.ResourceManager.Sql.Models.ManagedInstanceLicenseType> * Nullable<Azure.ResourceManager.Sql.Models.HybridSecondaryUsage> * Nullable<Azure.ResourceManager.Sql.Models.HybridSecondaryUsageDetected> * Nullable<int> * Nullable<int> * Nullable<int> * Nullable<int> * Nullable<int> * string * string * Azure.Core.ResourceIdentifier * Nullable<bool> * Azure.Core.ResourceIdentifier * Nullable<DateTimeOffset> * Nullable<Azure.ResourceManager.Sql.Models.ManagedInstanceProxyOverride> * string * Azure.Core.ResourceIdentifier * Azure.Core.ResourceIdentifier * seq<Azure.ResourceManager.Sql.Models.ManagedInstancePecProperty> * string * Nullable<Azure.ResourceManager.Sql.Models.SqlBackupStorageRedundancy> * Nullable<Azure.ResourceManager.Sql.Models.SqlBackupStorageRedundancy> * Nullable<bool> * Azure.Core.ResourceIdentifier * Uri * Azure.ResourceManager.Sql.Models.ManagedInstanceExternalAdministrator * Azure.ResourceManager.Sql.Models.SqlServicePrincipal * Azure.Core.ResourceIdentifier * Nullable<Azure.ResourceManager.Sql.Models.ExternalGovernanceStatus> * Nullable<Azure.ResourceManager.Sql.Models.SqlManagedInstancePricingModel> * Nullable<DateTimeOffset> * Nullable<Azure.ResourceManager.Sql.Models.AuthMetadataLookupMode> * Nullable<Azure.ResourceManager.Sql.Models.ManagedInstanceDatabaseFormat> * Nullable<Azure.ResourceManager.Sql.Models.SqlAvailabilityZoneType> * System.Collections.Generic.IDictionary<string, string> -> Azure.ResourceManager.Sql.Models.ManagedInstancePatch
Public Shared Function ManagedInstancePatch (sku As SqlSku, identity As ManagedServiceIdentity, provisioningState As Nullable(Of ManagedInstancePropertiesProvisioningState), managedInstanceCreateMode As Nullable(Of ManagedServerCreateMode), fullyQualifiedDomainName As String, isGeneralPurposeV2 As Nullable(Of Boolean), administratorLogin As String, administratorLoginPassword As String, subnetId As ResourceIdentifier, state As String, licenseType As Nullable(Of ManagedInstanceLicenseType), hybridSecondaryUsage As Nullable(Of HybridSecondaryUsage), hybridSecondaryUsageDetected As Nullable(Of HybridSecondaryUsageDetected), vCores As Nullable(Of Integer), storageSizeInGB As Nullable(Of Integer), storageIOps As Nullable(Of Integer), storageThroughputMBps As Nullable(Of Integer), memorySizeInGB As Nullable(Of Integer), collation As String, dnsZone As String, managedDnsZonePartner As ResourceIdentifier, isPublicDataEndpointEnabled As Nullable(Of Boolean), sourceManagedInstanceId As ResourceIdentifier, restorePointInTime As Nullable(Of DateTimeOffset), proxyOverride As Nullable(Of ManagedInstanceProxyOverride), timezoneId As String, instancePoolId As ResourceIdentifier, maintenanceConfigurationId As ResourceIdentifier, privateEndpointConnections As IEnumerable(Of ManagedInstancePecProperty), minimalTlsVersion As String, currentBackupStorageRedundancy As Nullable(Of SqlBackupStorageRedundancy), requestedBackupStorageRedundancy As Nullable(Of SqlBackupStorageRedundancy), isZoneRedundant As Nullable(Of Boolean), primaryUserAssignedIdentityId As ResourceIdentifier, keyId As Uri, administrators As ManagedInstanceExternalAdministrator, servicePrincipal As SqlServicePrincipal, virtualClusterId As ResourceIdentifier, externalGovernanceStatus As Nullable(Of ExternalGovernanceStatus), pricingModel As Nullable(Of SqlManagedInstancePricingModel), createOn As Nullable(Of DateTimeOffset), authenticationMetadata As Nullable(Of AuthMetadataLookupMode), databaseFormat As Nullable(Of ManagedInstanceDatabaseFormat), requestedLogicalAvailabilityZone As Nullable(Of SqlAvailabilityZoneType), tags As IDictionary(Of String, String)) As ManagedInstancePatch
Parameters
- sku
- SqlSku
Managed instance sku.
- identity
- ManagedServiceIdentity
Managed instance identity.
- provisioningState
- Nullable<ManagedInstancePropertiesProvisioningState>
Provisioning state of managed instance.
- managedInstanceCreateMode
- Nullable<ManagedServerCreateMode>
Specifies the mode of database 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.
- fullyQualifiedDomainName
- String
The fully qualified domain name of the managed instance.
Whether or not this is a GPv2 variant of General Purpose edition.
- administratorLogin
- String
Administrator username for the managed instance. Can only be specified when the managed instance is being created (and is required for creation).
- administratorLoginPassword
- String
The administrator login password (required for managed instance creation).
- subnetId
- ResourceIdentifier
Subnet resource ID for the managed instance.
- state
- String
The state of the managed instance.
- licenseType
- Nullable<ManagedInstanceLicenseType>
The license type. Possible values are 'LicenseIncluded' (regular price inclusive of a new SQL license) and 'BasePrice' (discounted AHB price for bringing your own SQL licenses).
- hybridSecondaryUsage
- Nullable<HybridSecondaryUsage>
Hybrid secondary usage. Possible values are 'Active' (default value) and 'Passive' (customer uses the secondary as Passive DR).
- hybridSecondaryUsageDetected
- Nullable<HybridSecondaryUsageDetected>
Hybrid secondary usage detected. Possible values are 'Active' (customer does not meet the requirements to use the secondary as Passive DR) and 'Passive' (customer meets the requirements to use the secondary as Passive DR).
The number of vCores. Allowed values: 4, 6, 8, 10, 12, 16, 20, 24, 32, 40, 48, 56, 64, 80, 96, 128. Supported vCores depends on the selected hardware family and service tier.
Storage size in GB. Minimum value: 32. Maximum value: 32768. Increments of 32 GB allowed only. Maximum value depends on the selected hardware family and number of vCores.
Storage IOps. Minimum value: 300. Maximum value: 80000. Increments of 1 IOps allowed only. Maximum value depends on the selected hardware family and number of vCores.
Storage throughput MBps parameter is not supported in the instance create/update operation.
Memory size in GB. Minimum value: 28. Maximum value: 870. Minimum and maximum value depend on the number of vCores and service tier. Read more about resource limits: https://aka.ms/mi-resource-limits-api.
- collation
- String
Collation of the managed instance.
- dnsZone
- String
The Dns Zone that the managed instance is in.
- managedDnsZonePartner
- ResourceIdentifier
The resource id of another managed instance whose DNS zone this managed instance will share after creation.
- sourceManagedInstanceId
- ResourceIdentifier
The resource identifier of the source managed instance associated with create operation of this instance.
- restorePointInTime
- Nullable<DateTimeOffset>
Specifies the point in time (ISO8601 format) of the source database that will be restored to create the new database.
- proxyOverride
- Nullable<ManagedInstanceProxyOverride>
Connection type used for connecting to the instance.
- timezoneId
- String
Id of the timezone. Allowed values are timezones supported by Windows. Windows keeps details on supported timezones, including the id, in registry under KEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Time 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".
- instancePoolId
- ResourceIdentifier
The Id of the instance pool this managed server belongs to.
- maintenanceConfigurationId
- ResourceIdentifier
Specifies maintenance configuration id to apply to this managed instance.
- privateEndpointConnections
- IEnumerable<ManagedInstancePecProperty>
List of private endpoint connections on a managed instance.
- minimalTlsVersion
- String
Minimal TLS version. Allowed values: 'None', '1.0', '1.1', '1.2'.
- currentBackupStorageRedundancy
- Nullable<SqlBackupStorageRedundancy>
The storage account type used to store backups for this instance. The options are Local (LocallyRedundantStorage), Zone (ZoneRedundantStorage), Geo (GeoRedundantStorage) and GeoZone(GeoZoneRedundantStorage).
- requestedBackupStorageRedundancy
- Nullable<SqlBackupStorageRedundancy>
The storage account type to be used to store backups for this instance. The options are Local (LocallyRedundantStorage), Zone (ZoneRedundantStorage), Geo (GeoRedundantStorage) and GeoZone(GeoZoneRedundantStorage).
- primaryUserAssignedIdentityId
- ResourceIdentifier
The resource id of a user assigned identity to be used by default.
- keyId
- Uri
A CMK URI of the key to use for encryption.
- administrators
- ManagedInstanceExternalAdministrator
The Azure Active Directory administrator can be utilized during instance creation and for instance updates, except for the azureADOnlyAuthentication property. To update the azureADOnlyAuthentication property, individual API must be used.
- servicePrincipal
- SqlServicePrincipal
The managed instance's service principal.
- virtualClusterId
- ResourceIdentifier
Virtual cluster resource id for the Managed Instance.
- externalGovernanceStatus
- Nullable<ExternalGovernanceStatus>
Status of external governance.
- pricingModel
- Nullable<SqlManagedInstancePricingModel>
Pricing model of Managed Instance.
- createOn
- Nullable<DateTimeOffset>
Specifies the point in time (ISO8601 format) of the Managed Instance creation.
- authenticationMetadata
- Nullable<AuthMetadataLookupMode>
The managed instance's authentication metadata lookup mode.
- databaseFormat
- Nullable<ManagedInstanceDatabaseFormat>
Specifies the internal format of instance databases specific to the SQL engine version.
- requestedLogicalAvailabilityZone
- Nullable<SqlAvailabilityZoneType>
Specifies the logical availability zone Managed Instance is pinned to.
- tags
- IDictionary<String,String>
Resource tags.
Returns
A new ManagedInstancePatch instance for mocking.