public class ManagedInstanceUpdate extends Object
| Constructor and Description |
|---|
ManagedInstanceUpdate() |
| Modifier and Type | Method and Description |
|---|---|
String |
administratorLogin()
Get the administratorLogin property: Administrator username for the managed instance.
|
String |
administratorLoginPassword()
Get the administratorLoginPassword property: The administrator login password (required for managed instance
creation).
|
String |
collation()
Get the collation property: Collation of the managed instance.
|
String |
dnsZone()
Get the dnsZone property: The Dns Zone that the managed instance is in.
|
String |
dnsZonePartner()
Get the dnsZonePartner property: The resource id of another managed instance whose DNS zone this managed instance
will share after creation.
|
String |
fullyQualifiedDomainName()
Get the fullyQualifiedDomainName property: The fully qualified domain name of the managed instance.
|
String |
instancePoolId()
Get the instancePoolId property: The Id of the instance pool this managed server belongs to.
|
ManagedInstanceLicenseType |
licenseType()
Get the licenseType property: The license type.
|
ManagedServerCreateMode |
managedInstanceCreateMode()
Get the managedInstanceCreateMode property: Specifies the mode of database creation.
|
String |
minimalTlsVersion()
Get the minimalTlsVersion property: Minimal TLS version.
|
ManagedInstanceProxyOverride |
proxyOverride()
Get the proxyOverride property: Connection type used for connecting to the instance.
|
Boolean |
publicDataEndpointEnabled()
Get the publicDataEndpointEnabled property: Whether or not the public data endpoint is enabled.
|
OffsetDateTime |
restorePointInTime()
Get the restorePointInTime property: Specifies the point in time (ISO8601 format) of the source database that
will be restored to create the new database.
|
Sku |
sku()
Get the sku property: Managed instance sku.
|
String |
sourceManagedInstanceId()
Get the sourceManagedInstanceId property: The resource identifier of the source managed instance associated with
create operation of this instance.
|
String |
state()
Get the state property: The state of the managed instance.
|
Integer |
storageSizeInGB()
Get the storageSizeInGB property: Storage size in GB.
|
String |
subnetId()
Get the subnetId property: Subnet resource ID for the managed instance.
|
Map<String,String> |
tags()
Get the tags property: Resource tags.
|
String |
timezoneId()
Get the timezoneId property: Id of the timezone.
|
void |
validate()
Validates the instance.
|
Integer |
vCores()
Get the vCores property: The number of vCores.
|
ManagedInstanceUpdate |
withAdministratorLogin(String administratorLogin)
Set the administratorLogin property: Administrator username for the managed instance.
|
ManagedInstanceUpdate |
withAdministratorLoginPassword(String administratorLoginPassword)
Set the administratorLoginPassword property: The administrator login password (required for managed instance
creation).
|
ManagedInstanceUpdate |
withCollation(String collation)
Set the collation property: Collation of the managed instance.
|
ManagedInstanceUpdate |
withDnsZonePartner(String dnsZonePartner)
Set the dnsZonePartner property: The resource id of another managed instance whose DNS zone this managed instance
will share after creation.
|
ManagedInstanceUpdate |
withInstancePoolId(String instancePoolId)
Set the instancePoolId property: The Id of the instance pool this managed server belongs to.
|
ManagedInstanceUpdate |
withLicenseType(ManagedInstanceLicenseType licenseType)
Set the licenseType property: The license type.
|
ManagedInstanceUpdate |
withManagedInstanceCreateMode(ManagedServerCreateMode managedInstanceCreateMode)
Set the managedInstanceCreateMode property: Specifies the mode of database creation.
|
ManagedInstanceUpdate |
withMinimalTlsVersion(String minimalTlsVersion)
Set the minimalTlsVersion property: Minimal TLS version.
|
ManagedInstanceUpdate |
withProxyOverride(ManagedInstanceProxyOverride proxyOverride)
Set the proxyOverride property: Connection type used for connecting to the instance.
|
ManagedInstanceUpdate |
withPublicDataEndpointEnabled(Boolean publicDataEndpointEnabled)
Set the publicDataEndpointEnabled property: Whether or not the public data endpoint is enabled.
|
ManagedInstanceUpdate |
withRestorePointInTime(OffsetDateTime restorePointInTime)
Set the restorePointInTime property: Specifies the point in time (ISO8601 format) of the source database that
will be restored to create the new database.
|
ManagedInstanceUpdate |
withSku(Sku sku)
Set the sku property: Managed instance sku.
|
ManagedInstanceUpdate |
withSourceManagedInstanceId(String sourceManagedInstanceId)
Set the sourceManagedInstanceId property: The resource identifier of the source managed instance associated with
create operation of this instance.
|
ManagedInstanceUpdate |
withStorageSizeInGB(Integer storageSizeInGB)
Set the storageSizeInGB property: Storage size in GB.
|
ManagedInstanceUpdate |
withSubnetId(String subnetId)
Set the subnetId property: Subnet resource ID for the managed instance.
|
ManagedInstanceUpdate |
withTags(Map<String,String> tags)
Set the tags property: Resource tags.
|
ManagedInstanceUpdate |
withTimezoneId(String timezoneId)
Set the timezoneId property: Id of the timezone.
|
ManagedInstanceUpdate |
withVCores(Integer vCores)
Set the vCores property: The number of vCores.
|
public Sku sku()
public ManagedInstanceUpdate withSku(Sku sku)
sku - the sku value to set.public Map<String,String> tags()
public ManagedInstanceUpdate withTags(Map<String,String> tags)
tags - the tags value to set.public ManagedServerCreateMode managedInstanceCreateMode()
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.
public ManagedInstanceUpdate withManagedInstanceCreateMode(ManagedServerCreateMode managedInstanceCreateMode)
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.
managedInstanceCreateMode - the managedInstanceCreateMode value to set.public String fullyQualifiedDomainName()
public String administratorLogin()
public ManagedInstanceUpdate withAdministratorLogin(String administratorLogin)
administratorLogin - the administratorLogin value to set.public String administratorLoginPassword()
public ManagedInstanceUpdate withAdministratorLoginPassword(String administratorLoginPassword)
administratorLoginPassword - the administratorLoginPassword value to set.public String subnetId()
public ManagedInstanceUpdate withSubnetId(String subnetId)
subnetId - the subnetId value to set.public String state()
public ManagedInstanceLicenseType licenseType()
public ManagedInstanceUpdate withLicenseType(ManagedInstanceLicenseType licenseType)
licenseType - the licenseType value to set.public Integer vCores()
public ManagedInstanceUpdate withVCores(Integer vCores)
vCores - the vCores value to set.public Integer storageSizeInGB()
public ManagedInstanceUpdate withStorageSizeInGB(Integer storageSizeInGB)
storageSizeInGB - the storageSizeInGB value to set.public String collation()
public ManagedInstanceUpdate withCollation(String collation)
collation - the collation value to set.public String dnsZone()
public String dnsZonePartner()
public ManagedInstanceUpdate withDnsZonePartner(String dnsZonePartner)
dnsZonePartner - the dnsZonePartner value to set.public Boolean publicDataEndpointEnabled()
public ManagedInstanceUpdate withPublicDataEndpointEnabled(Boolean publicDataEndpointEnabled)
publicDataEndpointEnabled - the publicDataEndpointEnabled value to set.public String sourceManagedInstanceId()
public ManagedInstanceUpdate withSourceManagedInstanceId(String sourceManagedInstanceId)
sourceManagedInstanceId - the sourceManagedInstanceId value to set.public OffsetDateTime restorePointInTime()
public ManagedInstanceUpdate withRestorePointInTime(OffsetDateTime restorePointInTime)
restorePointInTime - the restorePointInTime value to set.public ManagedInstanceProxyOverride proxyOverride()
public ManagedInstanceUpdate withProxyOverride(ManagedInstanceProxyOverride proxyOverride)
proxyOverride - the proxyOverride value to set.public String timezoneId()
public ManagedInstanceUpdate withTimezoneId(String timezoneId)
timezoneId - the timezoneId value to set.public String instancePoolId()
public ManagedInstanceUpdate withInstancePoolId(String instancePoolId)
instancePoolId - the instancePoolId value to set.public String minimalTlsVersion()
public ManagedInstanceUpdate withMinimalTlsVersion(String minimalTlsVersion)
minimalTlsVersion - the minimalTlsVersion value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2020 Microsoft Corporation. All rights reserved.