共用方式為


ArmSqlModelFactory.ManagedInstancePatch Method

Definition

Overloads

ManagedInstancePatch(SqlSku, ManagedServiceIdentity, IDictionary<String, String>, Nullable<ManagedInstancePropertiesProvisioningState>, Nullable<ManagedServerCreateMode>, String, String, String, ResourceIdentifier, String, Nullable<ManagedInstanceLicenseType>, Nullable<Int32>, Nullable<Int32>, String, String, ResourceIdentifier, Nullable<Boolean>, ResourceIdentifier, Nullable<DateTimeOffset>, Nullable<ManagedInstanceProxyOverride>, String, ResourceIdentifier, ResourceIdentifier, IEnumerable<ManagedInstancePecProperty>, String, Nullable<SqlBackupStorageRedundancy>, Nullable<SqlBackupStorageRedundancy>, Nullable<Boolean>, ResourceIdentifier, Uri, ManagedInstanceExternalAdministrator, SqlServicePrincipal)

Initializes a new instance of ManagedInstancePatch.

ManagedInstancePatch(SqlSku, ManagedServiceIdentity, IDictionary<String, String>, Nullable<ManagedInstancePropertiesProvisioningState>, Nullable<ManagedServerCreateMode>, String, String, String, ResourceIdentifier, String, Nullable<ManagedInstanceLicenseType>, Nullable<Int32>, Nullable<Int32>, String, String, String, Nullable<Boolean>, ResourceIdentifier, Nullable<DateTimeOffset>, Nullable<ManagedInstanceProxyOverride>, String, ResourceIdentifier, ResourceIdentifier, IEnumerable<ManagedInstancePecProperty>, String, Nullable<SqlBackupStorageRedundancy>, Nullable<SqlBackupStorageRedundancy>, Nullable<Boolean>, ResourceIdentifier, Uri, ManagedInstanceExternalAdministrator, SqlServicePrincipal)

ManagedInstancePatch(SqlSku, ManagedServiceIdentity, IDictionary<String, String>, Nullable<ManagedInstancePropertiesProvisioningState>, Nullable<ManagedServerCreateMode>, String, String, String, ResourceIdentifier, String, Nullable<ManagedInstanceLicenseType>, Nullable<Int32>, Nullable<Int32>, String, String, ResourceIdentifier, Nullable<Boolean>, ResourceIdentifier, Nullable<DateTimeOffset>, Nullable<ManagedInstanceProxyOverride>, String, ResourceIdentifier, ResourceIdentifier, IEnumerable<ManagedInstancePecProperty>, String, Nullable<SqlBackupStorageRedundancy>, Nullable<SqlBackupStorageRedundancy>, Nullable<Boolean>, ResourceIdentifier, Uri, ManagedInstanceExternalAdministrator, SqlServicePrincipal)

Source:
ArmSqlModelFactory.cs

Initializes a new instance of ManagedInstancePatch.

public static Azure.ResourceManager.Sql.Models.ManagedInstancePatch ManagedInstancePatch (Azure.ResourceManager.Sql.Models.SqlSku sku = default, Azure.ResourceManager.Models.ManagedServiceIdentity identity = default, System.Collections.Generic.IDictionary<string,string> tags = default, Azure.ResourceManager.Sql.Models.ManagedInstancePropertiesProvisioningState? provisioningState = default, Azure.ResourceManager.Sql.Models.ManagedServerCreateMode? managedInstanceCreateMode = default, string fullyQualifiedDomainName = default, string administratorLogin = default, string administratorLoginPassword = default, Azure.Core.ResourceIdentifier subnetId = default, string state = default, Azure.ResourceManager.Sql.Models.ManagedInstanceLicenseType? licenseType = default, int? vCores = default, int? storageSizeInGB = default, string collation = default, string dnsZone = default, Azure.Core.ResourceIdentifier managedDnsZonePartner = default, bool? isPublicDataEndpointEnabled = default, Azure.Core.ResourceIdentifier sourceManagedInstanceId = default, DateTimeOffset? restorePointInTime = default, Azure.ResourceManager.Sql.Models.ManagedInstanceProxyOverride? proxyOverride = default, string timezoneId = default, Azure.Core.ResourceIdentifier instancePoolId = default, Azure.Core.ResourceIdentifier maintenanceConfigurationId = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Sql.Models.ManagedInstancePecProperty> privateEndpointConnections = default, string minimalTlsVersion = default, Azure.ResourceManager.Sql.Models.SqlBackupStorageRedundancy? currentBackupStorageRedundancy = default, Azure.ResourceManager.Sql.Models.SqlBackupStorageRedundancy? requestedBackupStorageRedundancy = default, bool? isZoneRedundant = default, Azure.Core.ResourceIdentifier primaryUserAssignedIdentityId = default, Uri keyId = default, Azure.ResourceManager.Sql.Models.ManagedInstanceExternalAdministrator administrators = default, Azure.ResourceManager.Sql.Models.SqlServicePrincipal servicePrincipal = default);
static member ManagedInstancePatch : Azure.ResourceManager.Sql.Models.SqlSku * Azure.ResourceManager.Models.ManagedServiceIdentity * System.Collections.Generic.IDictionary<string, string> * Nullable<Azure.ResourceManager.Sql.Models.ManagedInstancePropertiesProvisioningState> * Nullable<Azure.ResourceManager.Sql.Models.ManagedServerCreateMode> * string * string * string * Azure.Core.ResourceIdentifier * string * Nullable<Azure.ResourceManager.Sql.Models.ManagedInstanceLicenseType> * 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.ResourceManager.Sql.Models.ManagedInstancePatch
Public Shared Function ManagedInstancePatch (Optional sku As SqlSku = Nothing, Optional identity As ManagedServiceIdentity = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional provisioningState As Nullable(Of ManagedInstancePropertiesProvisioningState) = Nothing, Optional managedInstanceCreateMode As Nullable(Of ManagedServerCreateMode) = Nothing, Optional fullyQualifiedDomainName As String = Nothing, Optional administratorLogin As String = Nothing, Optional administratorLoginPassword As String = Nothing, Optional subnetId As ResourceIdentifier = Nothing, Optional state As String = Nothing, Optional licenseType As Nullable(Of ManagedInstanceLicenseType) = Nothing, Optional vCores As Nullable(Of Integer) = Nothing, Optional storageSizeInGB As Nullable(Of Integer) = Nothing, Optional collation As String = Nothing, Optional dnsZone As String = Nothing, Optional managedDnsZonePartner As ResourceIdentifier = Nothing, Optional isPublicDataEndpointEnabled As Nullable(Of Boolean) = Nothing, Optional sourceManagedInstanceId As ResourceIdentifier = Nothing, Optional restorePointInTime As Nullable(Of DateTimeOffset) = Nothing, Optional proxyOverride As Nullable(Of ManagedInstanceProxyOverride) = Nothing, Optional timezoneId As String = Nothing, Optional instancePoolId As ResourceIdentifier = Nothing, Optional maintenanceConfigurationId As ResourceIdentifier = Nothing, Optional privateEndpointConnections As IEnumerable(Of ManagedInstancePecProperty) = Nothing, Optional minimalTlsVersion As String = Nothing, Optional currentBackupStorageRedundancy As Nullable(Of SqlBackupStorageRedundancy) = Nothing, Optional requestedBackupStorageRedundancy As Nullable(Of SqlBackupStorageRedundancy) = Nothing, Optional isZoneRedundant As Nullable(Of Boolean) = Nothing, Optional primaryUserAssignedIdentityId As ResourceIdentifier = Nothing, Optional keyId As Uri = Nothing, Optional administrators As ManagedInstanceExternalAdministrator = Nothing, Optional servicePrincipal As SqlServicePrincipal = Nothing) As ManagedInstancePatch

Parameters

sku
SqlSku

Managed instance sku.

identity
ManagedServiceIdentity

Managed instance identity.

tags
IDictionary<String,String>

Resource tags.

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.

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).

vCores
Nullable<Int32>

The number of vCores. Allowed values: 8, 16, 24, 32, 40, 64, 80.

storageSizeInGB
Nullable<Int32>

Storage size in GB. Minimum value: 32. Maximum value: 16384. Increments of 32 GB allowed only. Maximum value depends on the selected hardware family and number of vCores.

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.

isPublicDataEndpointEnabled
Nullable<Boolean>

Whether or not the public data endpoint is enabled.

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).

isZoneRedundant
Nullable<Boolean>

Whether or not the multi-az is enabled.

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 of the instance. This can only be used at instance create time. If used for instance update, it will be ignored or it will result in an error. For updates individual APIs will need to be used.

servicePrincipal
SqlServicePrincipal

The managed instance's service principal.

Returns

A new ManagedInstancePatch instance for mocking.

Applies to

ManagedInstancePatch(SqlSku, ManagedServiceIdentity, IDictionary<String, String>, Nullable<ManagedInstancePropertiesProvisioningState>, Nullable<ManagedServerCreateMode>, String, String, String, ResourceIdentifier, String, Nullable<ManagedInstanceLicenseType>, Nullable<Int32>, Nullable<Int32>, String, String, String, Nullable<Boolean>, ResourceIdentifier, Nullable<DateTimeOffset>, Nullable<ManagedInstanceProxyOverride>, String, ResourceIdentifier, ResourceIdentifier, IEnumerable<ManagedInstancePecProperty>, String, Nullable<SqlBackupStorageRedundancy>, Nullable<SqlBackupStorageRedundancy>, Nullable<Boolean>, ResourceIdentifier, Uri, ManagedInstanceExternalAdministrator, SqlServicePrincipal)

Source:
ArmSqlModelFactory.cs
public static Azure.ResourceManager.Sql.Models.ManagedInstancePatch ManagedInstancePatch (Azure.ResourceManager.Sql.Models.SqlSku sku = default, Azure.ResourceManager.Models.ManagedServiceIdentity identity = default, System.Collections.Generic.IDictionary<string,string> tags = default, Azure.ResourceManager.Sql.Models.ManagedInstancePropertiesProvisioningState? provisioningState = default, Azure.ResourceManager.Sql.Models.ManagedServerCreateMode? managedInstanceCreateMode = default, string fullyQualifiedDomainName = default, string administratorLogin = default, string administratorLoginPassword = default, Azure.Core.ResourceIdentifier subnetId = default, string state = default, Azure.ResourceManager.Sql.Models.ManagedInstanceLicenseType? licenseType = default, int? vCores = default, int? storageSizeInGB = default, string collation = default, string dnsZone = default, string dnsZonePartner = default, bool? isPublicDataEndpointEnabled = default, Azure.Core.ResourceIdentifier sourceManagedInstanceId = default, DateTimeOffset? restorePointInTime = default, Azure.ResourceManager.Sql.Models.ManagedInstanceProxyOverride? proxyOverride = default, string timezoneId = default, Azure.Core.ResourceIdentifier instancePoolId = default, Azure.Core.ResourceIdentifier maintenanceConfigurationId = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Sql.Models.ManagedInstancePecProperty> privateEndpointConnections = default, string minimalTlsVersion = default, Azure.ResourceManager.Sql.Models.SqlBackupStorageRedundancy? currentBackupStorageRedundancy = default, Azure.ResourceManager.Sql.Models.SqlBackupStorageRedundancy? requestedBackupStorageRedundancy = default, bool? isZoneRedundant = default, Azure.Core.ResourceIdentifier primaryUserAssignedIdentityId = default, Uri keyId = default, Azure.ResourceManager.Sql.Models.ManagedInstanceExternalAdministrator administrators = default, Azure.ResourceManager.Sql.Models.SqlServicePrincipal servicePrincipal = default);
static member ManagedInstancePatch : Azure.ResourceManager.Sql.Models.SqlSku * Azure.ResourceManager.Models.ManagedServiceIdentity * System.Collections.Generic.IDictionary<string, string> * Nullable<Azure.ResourceManager.Sql.Models.ManagedInstancePropertiesProvisioningState> * Nullable<Azure.ResourceManager.Sql.Models.ManagedServerCreateMode> * string * string * string * Azure.Core.ResourceIdentifier * string * Nullable<Azure.ResourceManager.Sql.Models.ManagedInstanceLicenseType> * Nullable<int> * Nullable<int> * string * string * string * 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.ResourceManager.Sql.Models.ManagedInstancePatch
Public Shared Function ManagedInstancePatch (Optional sku As SqlSku = Nothing, Optional identity As ManagedServiceIdentity = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional provisioningState As Nullable(Of ManagedInstancePropertiesProvisioningState) = Nothing, Optional managedInstanceCreateMode As Nullable(Of ManagedServerCreateMode) = Nothing, Optional fullyQualifiedDomainName As String = Nothing, Optional administratorLogin As String = Nothing, Optional administratorLoginPassword As String = Nothing, Optional subnetId As ResourceIdentifier = Nothing, Optional state As String = Nothing, Optional licenseType As Nullable(Of ManagedInstanceLicenseType) = Nothing, Optional vCores As Nullable(Of Integer) = Nothing, Optional storageSizeInGB As Nullable(Of Integer) = Nothing, Optional collation As String = Nothing, Optional dnsZone As String = Nothing, Optional dnsZonePartner As String = Nothing, Optional isPublicDataEndpointEnabled As Nullable(Of Boolean) = Nothing, Optional sourceManagedInstanceId As ResourceIdentifier = Nothing, Optional restorePointInTime As Nullable(Of DateTimeOffset) = Nothing, Optional proxyOverride As Nullable(Of ManagedInstanceProxyOverride) = Nothing, Optional timezoneId As String = Nothing, Optional instancePoolId As ResourceIdentifier = Nothing, Optional maintenanceConfigurationId As ResourceIdentifier = Nothing, Optional privateEndpointConnections As IEnumerable(Of ManagedInstancePecProperty) = Nothing, Optional minimalTlsVersion As String = Nothing, Optional currentBackupStorageRedundancy As Nullable(Of SqlBackupStorageRedundancy) = Nothing, Optional requestedBackupStorageRedundancy As Nullable(Of SqlBackupStorageRedundancy) = Nothing, Optional isZoneRedundant As Nullable(Of Boolean) = Nothing, Optional primaryUserAssignedIdentityId As ResourceIdentifier = Nothing, Optional keyId As Uri = Nothing, Optional administrators As ManagedInstanceExternalAdministrator = Nothing, Optional servicePrincipal As SqlServicePrincipal = Nothing) As ManagedInstancePatch

Parameters

sku
SqlSku
managedInstanceCreateMode
Nullable<ManagedServerCreateMode>
fullyQualifiedDomainName
String
administratorLogin
String
administratorLoginPassword
String
state
String
vCores
Nullable<Int32>
storageSizeInGB
Nullable<Int32>
collation
String
dnsZone
String
dnsZonePartner
String
isPublicDataEndpointEnabled
Nullable<Boolean>
sourceManagedInstanceId
ResourceIdentifier
restorePointInTime
Nullable<DateTimeOffset>
timezoneId
String
instancePoolId
ResourceIdentifier
maintenanceConfigurationId
ResourceIdentifier
privateEndpointConnections
IEnumerable<ManagedInstancePecProperty>
minimalTlsVersion
String
currentBackupStorageRedundancy
Nullable<SqlBackupStorageRedundancy>
requestedBackupStorageRedundancy
Nullable<SqlBackupStorageRedundancy>
isZoneRedundant
Nullable<Boolean>
primaryUserAssignedIdentityId
ResourceIdentifier
keyId
Uri
servicePrincipal
SqlServicePrincipal

Returns

Applies to