public class ManagedInstanceUpdate extends Object
| Constructor and Description |
|---|
ManagedInstanceUpdate() |
| Modifier and Type | Method and Description |
|---|---|
String |
administratorLogin()
Get administrator username for the managed instance.
|
String |
administratorLoginPassword()
Get the administrator login password (required for managed instance creation).
|
String |
collation()
Get collation of the managed instance.
|
String |
dnsZone()
Get the Dns Zone that the managed instance is in.
|
String |
dnsZonePartner()
Get the resource id of another managed instance whose DNS zone this managed instance will share after creation.
|
String |
fullyQualifiedDomainName()
Get the fully qualified domain name of the managed instance.
|
String |
instancePoolId()
Get the Id of the instance pool this managed server belongs to.
|
ManagedInstanceLicenseType |
licenseType()
Get the license type.
|
ManagedServerCreateMode |
managedInstanceCreateMode()
Get specifies the mode of database creation.
|
ManagedInstanceProxyOverride |
proxyOverride()
Get connection type used for connecting to the instance.
|
Boolean |
publicDataEndpointEnabled()
Get whether or not the public data endpoint is enabled.
|
org.joda.time.DateTime |
restorePointInTime()
Get specifies the point in time (ISO8601 format) of the source database that will be restored to create the new database.
|
Sku |
sku()
Get managed instance sku.
|
String |
sourceManagedInstanceId()
Get the resource identifier of the source managed instance associated with create operation of this instance.
|
String |
state()
Get the state of the managed instance.
|
Integer |
storageSizeInGB()
Get storage size in GB.
|
String |
subnetId()
Get subnet resource ID for the managed instance.
|
Map<String,String> |
tags()
Get resource tags.
|
String |
timezoneId()
Get id of the timezone.
|
Integer |
vCores()
Get the number of vCores.
|
ManagedInstanceUpdate |
withAdministratorLogin(String administratorLogin)
Set administrator username for the managed instance.
|
ManagedInstanceUpdate |
withAdministratorLoginPassword(String administratorLoginPassword)
Set the administrator login password (required for managed instance creation).
|
ManagedInstanceUpdate |
withCollation(String collation)
Set collation of the managed instance.
|
ManagedInstanceUpdate |
withDnsZonePartner(String dnsZonePartner)
Set the resource id of another managed instance whose DNS zone this managed instance will share after creation.
|
ManagedInstanceUpdate |
withInstancePoolId(String instancePoolId)
Set the Id of the instance pool this managed server belongs to.
|
ManagedInstanceUpdate |
withLicenseType(ManagedInstanceLicenseType licenseType)
Set the license type.
|
ManagedInstanceUpdate |
withManagedInstanceCreateMode(ManagedServerCreateMode managedInstanceCreateMode)
Set specifies the mode of database creation.
|
ManagedInstanceUpdate |
withProxyOverride(ManagedInstanceProxyOverride proxyOverride)
Set connection type used for connecting to the instance.
|
ManagedInstanceUpdate |
withPublicDataEndpointEnabled(Boolean publicDataEndpointEnabled)
Set whether or not the public data endpoint is enabled.
|
ManagedInstanceUpdate |
withRestorePointInTime(org.joda.time.DateTime restorePointInTime)
Set 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 managed instance sku.
|
ManagedInstanceUpdate |
withSourceManagedInstanceId(String sourceManagedInstanceId)
Set the resource identifier of the source managed instance associated with create operation of this instance.
|
ManagedInstanceUpdate |
withStorageSizeInGB(Integer storageSizeInGB)
Set storage size in GB.
|
ManagedInstanceUpdate |
withSubnetId(String subnetId)
Set subnet resource ID for the managed instance.
|
ManagedInstanceUpdate |
withTags(Map<String,String> tags)
Set resource tags.
|
ManagedInstanceUpdate |
withTimezoneId(String timezoneId)
Set id of the timezone.
|
ManagedInstanceUpdate |
withVCores(Integer vCores)
Set the number of vCores.
|
public Sku sku()
public ManagedInstanceUpdate withSku(Sku sku)
sku - the sku value to setpublic ManagedServerCreateMode managedInstanceCreateMode()
public ManagedInstanceUpdate withManagedInstanceCreateMode(ManagedServerCreateMode managedInstanceCreateMode)
managedInstanceCreateMode - the managedInstanceCreateMode value to setpublic String fullyQualifiedDomainName()
public String administratorLogin()
public ManagedInstanceUpdate withAdministratorLogin(String administratorLogin)
administratorLogin - the administratorLogin value to setpublic String administratorLoginPassword()
public ManagedInstanceUpdate withAdministratorLoginPassword(String administratorLoginPassword)
administratorLoginPassword - the administratorLoginPassword value to setpublic String subnetId()
public ManagedInstanceUpdate withSubnetId(String subnetId)
subnetId - the subnetId value to setpublic String state()
public ManagedInstanceLicenseType licenseType()
public ManagedInstanceUpdate withLicenseType(ManagedInstanceLicenseType licenseType)
licenseType - the licenseType value to setpublic Integer vCores()
public ManagedInstanceUpdate withVCores(Integer vCores)
vCores - the vCores value to setpublic Integer storageSizeInGB()
public ManagedInstanceUpdate withStorageSizeInGB(Integer storageSizeInGB)
storageSizeInGB - the storageSizeInGB value to setpublic String collation()
public ManagedInstanceUpdate withCollation(String collation)
collation - the collation value to setpublic String dnsZone()
public String dnsZonePartner()
public ManagedInstanceUpdate withDnsZonePartner(String dnsZonePartner)
dnsZonePartner - the dnsZonePartner value to setpublic Boolean publicDataEndpointEnabled()
public ManagedInstanceUpdate withPublicDataEndpointEnabled(Boolean publicDataEndpointEnabled)
publicDataEndpointEnabled - the publicDataEndpointEnabled value to setpublic String sourceManagedInstanceId()
public ManagedInstanceUpdate withSourceManagedInstanceId(String sourceManagedInstanceId)
sourceManagedInstanceId - the sourceManagedInstanceId value to setpublic org.joda.time.DateTime restorePointInTime()
public ManagedInstanceUpdate withRestorePointInTime(org.joda.time.DateTime restorePointInTime)
restorePointInTime - the restorePointInTime value to setpublic ManagedInstanceProxyOverride proxyOverride()
public ManagedInstanceUpdate withProxyOverride(ManagedInstanceProxyOverride proxyOverride)
proxyOverride - the proxyOverride value to setpublic String timezoneId()
public ManagedInstanceUpdate withTimezoneId(String timezoneId)
timezoneId - the timezoneId value to setpublic String instancePoolId()
public ManagedInstanceUpdate withInstancePoolId(String instancePoolId)
instancePoolId - the instancePoolId value to setpublic ManagedInstanceUpdate withTags(Map<String,String> tags)
tags - the tags value to set/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/