/// <summary> /// Initializes a new instance of the ManagedInstanceUpdate class. /// </summary> /// <param name="sku">Managed instance sku</param> /// <param name="identity">Managed instance identity</param> /// <param name="provisioningState">Possible values include: /// 'Creating', 'Deleting', 'Updating', 'Unknown', 'Succeeded', /// 'Failed'</param> /// <param name="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. Possible values include: /// 'Default', 'PointInTimeRestore'</param> /// <param name="fullyQualifiedDomainName">The fully qualified domain /// name of the managed instance.</param> /// <param name="administratorLogin">Administrator username for the /// managed instance. Can only be specified when the managed instance /// is being created (and is required for creation).</param> /// <param name="administratorLoginPassword">The administrator login /// password (required for managed instance creation).</param> /// <param name="subnetId">Subnet resource ID for the managed /// instance.</param> /// <param name="state">The state of the managed instance.</param> /// <param name="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). Possible values include: 'LicenseIncluded', /// 'BasePrice'</param> /// <param name="vCores">The number of vCores. Allowed values: 8, 16, /// 24, 32, 40, 64, 80.</param> /// <param name="storageSizeInGB">Storage size in GB. Minimum value: /// 32. Maximum value: 8192. Increments of 32 GB allowed only.</param> /// <param name="collation">Collation of the managed instance.</param> /// <param name="dnsZone">The Dns Zone that the managed instance is /// in.</param> /// <param name="dnsZonePartner">The resource id of another managed /// instance whose DNS zone this managed instance will share after /// creation.</param> /// <param name="publicDataEndpointEnabled">Whether or not the public /// data endpoint is enabled.</param> /// <param name="sourceManagedInstanceId">The resource identifier of /// the source managed instance associated with create operation of /// this instance.</param> /// <param name="restorePointInTime">Specifies the point in time /// (ISO8601 format) of the source database that will be restored to /// create the new database.</param> /// <param name="proxyOverride">Connection type used for connecting to /// the instance. Possible values include: 'Proxy', 'Redirect', /// 'Default'</param> /// <param name="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".</param> /// <param name="instancePoolId">The Id of the instance pool this /// managed server belongs to.</param> /// <param name="maintenanceConfigurationId">Specifies maintenance /// configuration id to apply to this managed instance.</param> /// <param name="privateEndpointConnections">List of private endpoint /// connections on a managed instance.</param> /// <param name="minimalTlsVersion">Minimal TLS version. Allowed /// values: 'None', '1.0', '1.1', '1.2'</param> /// <param name="storageAccountType">The storage account type used to /// store backups for this instance. The options are LRS /// (LocallyRedundantStorage), ZRS (ZoneRedundantStorage) and GRS /// (GeoRedundantStorage). Possible values include: 'GRS', 'LRS', /// 'ZRS'</param> /// <param name="zoneRedundant">Whether or not the multi-az is /// enabled.</param> /// <param name="primaryUserAssignedIdentityId">The resource id of a /// user assigned identity to be used by default.</param> /// <param name="keyId">A CMK URI of the key to use for /// encryption.</param> /// <param name="administrators">The Azure Active Directory /// administrator of the server.</param> /// <param name="tags">Resource tags.</param> public ManagedInstanceUpdate(Sku sku = default(Sku), ResourceIdentityWithUserAssignedIdentities identity = default(ResourceIdentityWithUserAssignedIdentities), string provisioningState = default(string), string managedInstanceCreateMode = default(string), string fullyQualifiedDomainName = default(string), string administratorLogin = default(string), string administratorLoginPassword = default(string), string subnetId = default(string), string state = default(string), string licenseType = default(string), int?vCores = default(int?), int?storageSizeInGB = 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), IList <ManagedInstancePecProperty> privateEndpointConnections = default(IList <ManagedInstancePecProperty>), string minimalTlsVersion = default(string), string storageAccountType = default(string), bool?zoneRedundant = default(bool?), string primaryUserAssignedIdentityId = default(string), string keyId = default(string), ManagedInstanceExternalAdministrator administrators = default(ManagedInstanceExternalAdministrator), IDictionary <string, string> tags = default(IDictionary <string, string>)) { Sku = sku; Identity = identity; ProvisioningState = provisioningState; ManagedInstanceCreateMode = managedInstanceCreateMode; FullyQualifiedDomainName = fullyQualifiedDomainName; AdministratorLogin = administratorLogin; AdministratorLoginPassword = administratorLoginPassword; SubnetId = subnetId; State = state; LicenseType = licenseType; VCores = vCores; StorageSizeInGB = storageSizeInGB; Collation = collation; DnsZone = dnsZone; DnsZonePartner = dnsZonePartner; PublicDataEndpointEnabled = publicDataEndpointEnabled; SourceManagedInstanceId = sourceManagedInstanceId; RestorePointInTime = restorePointInTime; ProxyOverride = proxyOverride; TimezoneId = timezoneId; InstancePoolId = instancePoolId; MaintenanceConfigurationId = maintenanceConfigurationId; PrivateEndpointConnections = privateEndpointConnections; MinimalTlsVersion = minimalTlsVersion; StorageAccountType = storageAccountType; ZoneRedundant = zoneRedundant; PrimaryUserAssignedIdentityId = primaryUserAssignedIdentityId; KeyId = keyId; Administrators = administrators; Tags = tags; CustomInit(); }
/// <summary> /// Initializes a new instance of the ServerUpdate class. /// </summary> /// <param name="identity">Server identity</param> /// <param name="administratorLogin">Administrator username for the /// server. Once created it cannot be changed.</param> /// <param name="administratorLoginPassword">The administrator login /// password (required for server creation).</param> /// <param name="version">The version of the server.</param> /// <param name="state">The state of the server.</param> /// <param name="fullyQualifiedDomainName">The fully qualified domain /// name of the server.</param> /// <param name="privateEndpointConnections">List of private endpoint /// connections on a server</param> /// <param name="minimalTlsVersion">Minimal TLS version. Allowed /// values: '1.0', '1.1', '1.2'</param> /// <param name="publicNetworkAccess">Whether or not public endpoint /// access is allowed for this server. Value is optional but if passed /// in, must be 'Enabled' or 'Disabled'. Possible values include: /// 'Enabled', 'Disabled'</param> /// <param name="workspaceFeature">Whether or not existing server has a /// workspace created and if it allows connection from workspace. /// Possible values include: 'Connected', 'Disconnected'</param> /// <param name="primaryUserAssignedIdentityId">The resource id of a /// user assigned identity to be used by default.</param> /// <param name="keyId">A CMK URI of the key to use for /// encryption.</param> /// <param name="administrators">The Azure Active Directory identity of /// the server.</param> /// <param name="tags">Resource tags.</param> public ServerUpdate(ResourceIdentityWithUserAssignedIdentities identity = default(ResourceIdentityWithUserAssignedIdentities), string administratorLogin = default(string), string administratorLoginPassword = default(string), string version = default(string), string state = default(string), string fullyQualifiedDomainName = default(string), IList <ServerPrivateEndpointConnection> privateEndpointConnections = default(IList <ServerPrivateEndpointConnection>), string minimalTlsVersion = default(string), string publicNetworkAccess = default(string), string workspaceFeature = default(string), string primaryUserAssignedIdentityId = default(string), string keyId = default(string), ServerExternalAdministrator administrators = default(ServerExternalAdministrator), IDictionary <string, string> tags = default(IDictionary <string, string>)) { Identity = identity; AdministratorLogin = administratorLogin; AdministratorLoginPassword = administratorLoginPassword; Version = version; State = state; FullyQualifiedDomainName = fullyQualifiedDomainName; PrivateEndpointConnections = privateEndpointConnections; MinimalTlsVersion = minimalTlsVersion; PublicNetworkAccess = publicNetworkAccess; WorkspaceFeature = workspaceFeature; PrimaryUserAssignedIdentityId = primaryUserAssignedIdentityId; KeyId = keyId; Administrators = administrators; Tags = tags; CustomInit(); }