SqlManagedInstanceProperties Class
- java.
lang. Object - com.
azure. resourcemanager. azurearcdata. models. SqlManagedInstanceProperties
- com.
Implements
public final class SqlManagedInstanceProperties
implements JsonSerializable<SqlManagedInstanceProperties>
Properties of sqlManagedInstance.
Constructor Summary
| Constructor | Description |
|---|---|
| SqlManagedInstanceProperties() |
Creates an instance of Sql |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| String |
admin()
Get the admin property: The instance admin user. |
|
Basic |
basicLoginInformation()
Get the basic |
| String |
clusterId()
Get the cluster |
| String |
dataControllerId()
Get the data |
| String |
endTime()
Get the end |
| String |
extensionId()
Get the extension |
|
static
Sql |
fromJson(JsonReader jsonReader)
Reads an instance of Sql |
|
Sql |
k8SRaw()
Get the k8SRaw property: The raw kubernetes information. |
|
Offset |
lastUploadedDate()
Get the last |
|
Arc |
licenseType()
Get the license |
| String |
provisioningState()
Get the provisioning |
| String |
startTime()
Get the start |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Sql |
withAdmin(String admin)
Set the admin property: The instance admin user. |
|
Sql |
withBasicLoginInformation(BasicLoginInformation basicLoginInformation)
Set the basic |
|
Sql |
withClusterId(String clusterId)
Set the cluster |
|
Sql |
withDataControllerId(String dataControllerId)
Set the data |
|
Sql |
withEndTime(String endTime)
Set the end |
|
Sql |
withExtensionId(String extensionId)
Set the extension |
|
Sql |
withK8SRaw(SqlManagedInstanceK8SRaw k8SRaw)
Set the k8SRaw property: The raw kubernetes information. |
|
Sql |
withLastUploadedDate(OffsetDateTime lastUploadedDate)
Set the last |
|
Sql |
withLicenseType(ArcSqlManagedInstanceLicenseType licenseType)
Set the license |
|
Sql |
withStartTime(String startTime)
Set the start |
Methods inherited from java.lang.Object
Constructor Details
SqlManagedInstanceProperties
public SqlManagedInstanceProperties()
Creates an instance of SqlManagedInstanceProperties class.
Method Details
admin
public String admin()
Get the admin property: The instance admin user.
Returns:
basicLoginInformation
public BasicLoginInformation basicLoginInformation()
Get the basicLoginInformation property: Username and password for basic authentication.
Returns:
clusterId
public String clusterId()
Get the clusterId property: If a CustomLocation is provided, this contains the ARM id of the connected cluster the custom location belongs to.
Returns:
dataControllerId
public String dataControllerId()
Get the dataControllerId property: null.
Returns:
endTime
public String endTime()
Get the endTime property: The instance end time.
Returns:
extensionId
public String extensionId()
Get the extensionId property: If a CustomLocation is provided, this contains the ARM id of the extension the custom location belongs to.
Returns:
fromJson
public static SqlManagedInstanceProperties fromJson(JsonReader jsonReader)
Reads an instance of SqlManagedInstanceProperties from the JsonReader.
Parameters:
Returns:
Throws:
k8SRaw
public SqlManagedInstanceK8SRaw k8SRaw()
Get the k8SRaw property: The raw kubernetes information.
Returns:
lastUploadedDate
public OffsetDateTime lastUploadedDate()
Get the lastUploadedDate property: Last uploaded date from Kubernetes cluster. Defaults to current date time.
Returns:
licenseType
public ArcSqlManagedInstanceLicenseType licenseType()
Get the licenseType property: The license type to apply for this managed instance.
Returns:
provisioningState
public String provisioningState()
Get the provisioningState property: The provisioningState property.
Returns:
startTime
public String startTime()
Get the startTime property: The instance start time.
Returns:
toJson
validate
public void validate()
Validates the instance.
withAdmin
public SqlManagedInstanceProperties withAdmin(String admin)
Set the admin property: The instance admin user.
Parameters:
Returns:
withBasicLoginInformation
public SqlManagedInstanceProperties withBasicLoginInformation(BasicLoginInformation basicLoginInformation)
Set the basicLoginInformation property: Username and password for basic authentication.
Parameters:
Returns:
withClusterId
public SqlManagedInstanceProperties withClusterId(String clusterId)
Set the clusterId property: If a CustomLocation is provided, this contains the ARM id of the connected cluster the custom location belongs to.
Parameters:
Returns:
withDataControllerId
public SqlManagedInstanceProperties withDataControllerId(String dataControllerId)
Set the dataControllerId property: null.
Parameters:
Returns:
withEndTime
public SqlManagedInstanceProperties withEndTime(String endTime)
Set the endTime property: The instance end time.
Parameters:
Returns:
withExtensionId
public SqlManagedInstanceProperties withExtensionId(String extensionId)
Set the extensionId property: If a CustomLocation is provided, this contains the ARM id of the extension the custom location belongs to.
Parameters:
Returns:
withK8SRaw
public SqlManagedInstanceProperties withK8SRaw(SqlManagedInstanceK8SRaw k8SRaw)
Set the k8SRaw property: The raw kubernetes information.
Parameters:
Returns:
withLastUploadedDate
public SqlManagedInstanceProperties withLastUploadedDate(OffsetDateTime lastUploadedDate)
Set the lastUploadedDate property: Last uploaded date from Kubernetes cluster. Defaults to current date time.
Parameters:
Returns:
withLicenseType
public SqlManagedInstanceProperties withLicenseType(ArcSqlManagedInstanceLicenseType licenseType)
Set the licenseType property: The license type to apply for this managed instance.
Parameters:
Returns:
withStartTime
public SqlManagedInstanceProperties withStartTime(String startTime)
Set the startTime property: The instance start time.
Parameters:
Returns: