public class ManagedInstanceInner
extends com.azure.core.management.Resource
| Constructor and Description |
|---|
ManagedInstanceInner() |
| 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.
|
ResourceIdentity |
identity()
Get the identity property: The Azure Active Directory identity 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.
|
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.
|
ManagedInstanceInner |
withAdministratorLogin(String administratorLogin)
Set the administratorLogin property: Administrator username for the managed instance.
|
ManagedInstanceInner |
withAdministratorLoginPassword(String administratorLoginPassword)
Set the administratorLoginPassword property: The administrator login password (required for managed instance
creation).
|
ManagedInstanceInner |
withCollation(String collation)
Set the collation property: Collation of the managed instance.
|
ManagedInstanceInner |
withDnsZonePartner(String dnsZonePartner)
Set the dnsZonePartner property: The resource id of another managed instance whose DNS zone this managed instance
will share after creation.
|
ManagedInstanceInner |
withIdentity(ResourceIdentity identity)
Set the identity property: The Azure Active Directory identity of the managed instance.
|
ManagedInstanceInner |
withInstancePoolId(String instancePoolId)
Set the instancePoolId property: The Id of the instance pool this managed server belongs to.
|
ManagedInstanceInner |
withLicenseType(ManagedInstanceLicenseType licenseType)
Set the licenseType property: The license type.
|
ManagedInstanceInner |
withManagedInstanceCreateMode(ManagedServerCreateMode managedInstanceCreateMode)
Set the managedInstanceCreateMode property: Specifies the mode of database creation.
|
ManagedInstanceInner |
withMinimalTlsVersion(String minimalTlsVersion)
Set the minimalTlsVersion property: Minimal TLS version.
|
ManagedInstanceInner |
withProxyOverride(ManagedInstanceProxyOverride proxyOverride)
Set the proxyOverride property: Connection type used for connecting to the instance.
|
ManagedInstanceInner |
withPublicDataEndpointEnabled(Boolean publicDataEndpointEnabled)
Set the publicDataEndpointEnabled property: Whether or not the public data endpoint is enabled.
|
ManagedInstanceInner |
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.
|
ManagedInstanceInner |
withSku(Sku sku)
Set the sku property: Managed instance SKU.
|
ManagedInstanceInner |
withSourceManagedInstanceId(String sourceManagedInstanceId)
Set the sourceManagedInstanceId property: The resource identifier of the source managed instance associated with
create operation of this instance.
|
ManagedInstanceInner |
withStorageSizeInGB(Integer storageSizeInGB)
Set the storageSizeInGB property: Storage size in GB.
|
ManagedInstanceInner |
withSubnetId(String subnetId)
Set the subnetId property: Subnet resource ID for the managed instance.
|
ManagedInstanceInner |
withTimezoneId(String timezoneId)
Set the timezoneId property: Id of the timezone.
|
ManagedInstanceInner |
withVCores(Integer vCores)
Set the vCores property: The number of vCores.
|
public ResourceIdentity identity()
public ManagedInstanceInner withIdentity(ResourceIdentity identity)
identity - the identity value to set.public Sku sku()
public ManagedInstanceInner withSku(Sku sku)
sku - the sku 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 ManagedInstanceInner 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 ManagedInstanceInner withAdministratorLogin(String administratorLogin)
administratorLogin - the administratorLogin value to set.public String administratorLoginPassword()
public ManagedInstanceInner withAdministratorLoginPassword(String administratorLoginPassword)
administratorLoginPassword - the administratorLoginPassword value to set.public String subnetId()
public ManagedInstanceInner withSubnetId(String subnetId)
subnetId - the subnetId value to set.public String state()
public ManagedInstanceLicenseType licenseType()
public ManagedInstanceInner withLicenseType(ManagedInstanceLicenseType licenseType)
licenseType - the licenseType value to set.public Integer vCores()
public ManagedInstanceInner withVCores(Integer vCores)
vCores - the vCores value to set.public Integer storageSizeInGB()
public ManagedInstanceInner withStorageSizeInGB(Integer storageSizeInGB)
storageSizeInGB - the storageSizeInGB value to set.public String collation()
public ManagedInstanceInner withCollation(String collation)
collation - the collation value to set.public String dnsZone()
public String dnsZonePartner()
public ManagedInstanceInner withDnsZonePartner(String dnsZonePartner)
dnsZonePartner - the dnsZonePartner value to set.public Boolean publicDataEndpointEnabled()
public ManagedInstanceInner withPublicDataEndpointEnabled(Boolean publicDataEndpointEnabled)
publicDataEndpointEnabled - the publicDataEndpointEnabled value to set.public String sourceManagedInstanceId()
public ManagedInstanceInner withSourceManagedInstanceId(String sourceManagedInstanceId)
sourceManagedInstanceId - the sourceManagedInstanceId value to set.public OffsetDateTime restorePointInTime()
public ManagedInstanceInner withRestorePointInTime(OffsetDateTime restorePointInTime)
restorePointInTime - the restorePointInTime value to set.public ManagedInstanceProxyOverride proxyOverride()
public ManagedInstanceInner withProxyOverride(ManagedInstanceProxyOverride proxyOverride)
proxyOverride - the proxyOverride value to set.public String timezoneId()
public ManagedInstanceInner withTimezoneId(String timezoneId)
timezoneId - the timezoneId value to set.public String instancePoolId()
public ManagedInstanceInner withInstancePoolId(String instancePoolId)
instancePoolId - the instancePoolId value to set.public String minimalTlsVersion()
public ManagedInstanceInner 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.