Condividi tramite


ManagedInstancePatch Class

Definition

An update request for an Azure SQL Database managed instance.

public class ManagedInstancePatch : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.Sql.Models.ManagedInstancePatch>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.Sql.Models.ManagedInstancePatch>
type ManagedInstancePatch = class
    interface IJsonModel<ManagedInstancePatch>
    interface IPersistableModel<ManagedInstancePatch>
Public Class ManagedInstancePatch
Implements IJsonModel(Of ManagedInstancePatch), IPersistableModel(Of ManagedInstancePatch)
Inheritance
ManagedInstancePatch
Implements

Constructors

ManagedInstancePatch()

Initializes a new instance of ManagedInstancePatch.

Properties

AdministratorLogin

Administrator username for the managed instance. Can only be specified when the managed instance is being created (and is required for creation).

AdministratorLoginPassword

The administrator login password (required for managed instance creation).

Administrators

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.

Collation

Collation of the managed instance.

CurrentBackupStorageRedundancy

The storage account type used to store backups for this instance. The options are Local (LocallyRedundantStorage), Zone (ZoneRedundantStorage), Geo (GeoRedundantStorage) and GeoZone(GeoZoneRedundantStorage).

DnsZone

The Dns Zone that the managed instance is in.

DnsZonePartner

The resource id of another managed instance whose DNS zone this managed instance will share after creation.

FullyQualifiedDomainName

The fully qualified domain name of the managed instance.

Identity

Managed instance identity.

InstancePoolId

The Id of the instance pool this managed server belongs to.

IsPublicDataEndpointEnabled

Whether or not the public data endpoint is enabled.

IsZoneRedundant

Whether or not the multi-az is enabled.

KeyId

A CMK URI of the key to use for encryption.

LicenseType

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

MaintenanceConfigurationId

Specifies maintenance configuration id to apply to this managed instance.

ManagedDnsZonePartner

The resource id of another managed instance whose DNS zone this managed instance will share after creation.

ManagedInstanceCreateMode

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.

MinimalTlsVersion

Minimal TLS version. Allowed values: 'None', '1.0', '1.1', '1.2'.

PrimaryUserAssignedIdentityId

The resource id of a user assigned identity to be used by default.

PrivateEndpointConnections

List of private endpoint connections on a managed instance.

ProvisioningState

Gets the provisioning state.

ProxyOverride

Connection type used for connecting to the instance.

RequestedBackupStorageRedundancy

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

RestorePointInTime

Specifies the point in time (ISO8601 format) of the source database that will be restored to create the new database.

ServicePrincipal

The managed instance's service principal.

Sku

Managed instance sku.

SourceManagedInstanceId

The resource identifier of the source managed instance associated with create operation of this instance.

State

The state of the managed instance.

StorageSizeInGB

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.

SubnetId

Subnet resource ID for the managed instance.

Tags

Resource tags.

TimezoneId

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

VCores

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

Explicit Interface Implementations

IJsonModel<ManagedInstancePatch>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<ManagedInstancePatch>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ManagedInstancePatch>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ManagedInstancePatch>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<ManagedInstancePatch>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to