Share via


SqlManagedInstanceProperties Class

  • java.lang.Object
    • com.azure.resourcemanager.azurearcdata.models.SqlManagedInstanceProperties

Implements

public final class SqlManagedInstanceProperties
implements JsonSerializable<SqlManagedInstanceProperties>

Properties of sqlManagedInstance.

Constructor Summary

Constructor Description
SqlManagedInstanceProperties()

Creates an instance of SqlManagedInstanceProperties class.

Method Summary

Modifier and Type Method and Description
String admin()

Get the admin property: The instance admin user.

BasicLoginInformation basicLoginInformation()

Get the basicLoginInformation property: Username and password for basic authentication.

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.

String dataControllerId()

Get the dataControllerId property: null.

String endTime()

Get the endTime property: The instance end time.

String extensionId()

Get the extensionId property: If a CustomLocation is provided, this contains the ARM id of the extension the custom location belongs to.

static SqlManagedInstanceProperties fromJson(JsonReader jsonReader)

Reads an instance of SqlManagedInstanceProperties from the JsonReader.

SqlManagedInstanceK8SRaw k8SRaw()

Get the k8SRaw property: The raw kubernetes information.

OffsetDateTime lastUploadedDate()

Get the lastUploadedDate property: Last uploaded date from Kubernetes cluster.

ArcSqlManagedInstanceLicenseType licenseType()

Get the licenseType property: The license type to apply for this managed instance.

String provisioningState()

Get the provisioningState property: The provisioningState property.

String startTime()

Get the startTime property: The instance start time.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

SqlManagedInstanceProperties withAdmin(String admin)

Set the admin property: The instance admin user.

SqlManagedInstanceProperties withBasicLoginInformation(BasicLoginInformation basicLoginInformation)

Set the basicLoginInformation property: Username and password for basic authentication.

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.

SqlManagedInstanceProperties withDataControllerId(String dataControllerId)

Set the dataControllerId property: null.

SqlManagedInstanceProperties withEndTime(String endTime)

Set the endTime property: The instance end time.

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.

SqlManagedInstanceProperties withK8SRaw(SqlManagedInstanceK8SRaw k8SRaw)

Set the k8SRaw property: The raw kubernetes information.

SqlManagedInstanceProperties withLastUploadedDate(OffsetDateTime lastUploadedDate)

Set the lastUploadedDate property: Last uploaded date from Kubernetes cluster.

SqlManagedInstanceProperties withLicenseType(ArcSqlManagedInstanceLicenseType licenseType)

Set the licenseType property: The license type to apply for this managed instance.

SqlManagedInstanceProperties withStartTime(String startTime)

Set the startTime property: The instance start time.

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:

the admin value.

basicLoginInformation

public BasicLoginInformation basicLoginInformation()

Get the basicLoginInformation property: Username and password for basic authentication.

Returns:

the basicLoginInformation value.

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:

the clusterId value.

dataControllerId

public String dataControllerId()

Get the dataControllerId property: null.

Returns:

the dataControllerId value.

endTime

public String endTime()

Get the endTime property: The instance end time.

Returns:

the endTime value.

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:

the extensionId value.

fromJson

public static SqlManagedInstanceProperties fromJson(JsonReader jsonReader)

Reads an instance of SqlManagedInstanceProperties from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of SqlManagedInstanceProperties if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the SqlManagedInstanceProperties.

k8SRaw

public SqlManagedInstanceK8SRaw k8SRaw()

Get the k8SRaw property: The raw kubernetes information.

Returns:

the k8SRaw value.

lastUploadedDate

public OffsetDateTime lastUploadedDate()

Get the lastUploadedDate property: Last uploaded date from Kubernetes cluster. Defaults to current date time.

Returns:

the lastUploadedDate value.

licenseType

public ArcSqlManagedInstanceLicenseType licenseType()

Get the licenseType property: The license type to apply for this managed instance.

Returns:

the licenseType value.

provisioningState

public String provisioningState()

Get the provisioningState property: The provisioningState property.

Returns:

the provisioningState value.

startTime

public String startTime()

Get the startTime property: The instance start time.

Returns:

the startTime value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withAdmin

public SqlManagedInstanceProperties withAdmin(String admin)

Set the admin property: The instance admin user.

Parameters:

admin - the admin value to set.

Returns:

the SqlManagedInstanceProperties object itself.

withBasicLoginInformation

public SqlManagedInstanceProperties withBasicLoginInformation(BasicLoginInformation basicLoginInformation)

Set the basicLoginInformation property: Username and password for basic authentication.

Parameters:

basicLoginInformation - the basicLoginInformation value to set.

Returns:

the SqlManagedInstanceProperties object itself.

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:

clusterId - the clusterId value to set.

Returns:

the SqlManagedInstanceProperties object itself.

withDataControllerId

public SqlManagedInstanceProperties withDataControllerId(String dataControllerId)

Set the dataControllerId property: null.

Parameters:

dataControllerId - the dataControllerId value to set.

Returns:

the SqlManagedInstanceProperties object itself.

withEndTime

public SqlManagedInstanceProperties withEndTime(String endTime)

Set the endTime property: The instance end time.

Parameters:

endTime - the endTime value to set.

Returns:

the SqlManagedInstanceProperties object itself.

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:

extensionId - the extensionId value to set.

Returns:

the SqlManagedInstanceProperties object itself.

withK8SRaw

public SqlManagedInstanceProperties withK8SRaw(SqlManagedInstanceK8SRaw k8SRaw)

Set the k8SRaw property: The raw kubernetes information.

Parameters:

k8SRaw - the k8SRaw value to set.

Returns:

the SqlManagedInstanceProperties object itself.

withLastUploadedDate

public SqlManagedInstanceProperties withLastUploadedDate(OffsetDateTime lastUploadedDate)

Set the lastUploadedDate property: Last uploaded date from Kubernetes cluster. Defaults to current date time.

Parameters:

lastUploadedDate - the lastUploadedDate value to set.

Returns:

the SqlManagedInstanceProperties object itself.

withLicenseType

public SqlManagedInstanceProperties withLicenseType(ArcSqlManagedInstanceLicenseType licenseType)

Set the licenseType property: The license type to apply for this managed instance.

Parameters:

licenseType - the licenseType value to set.

Returns:

the SqlManagedInstanceProperties object itself.

withStartTime

public SqlManagedInstanceProperties withStartTime(String startTime)

Set the startTime property: The instance start time.

Parameters:

startTime - the startTime value to set.

Returns:

the SqlManagedInstanceProperties object itself.

Applies to