Class SqlManagedInstanceProperties
java.lang.Object
com.azure.resourcemanager.azurearcdata.models.SqlManagedInstanceProperties
Properties of sqlManagedInstance.
-
Constructor Summary
ConstructorDescriptionCreates an instance of SqlManagedInstanceProperties class. -
Method Summary
Modifier and TypeMethodDescriptionadmin()
Get the admin property: The instance admin user.Get the basicLoginInformation property: Username and password for basic authentication.Get the clusterId property: If a CustomLocation is provided, this contains the ARM id of the connected cluster the custom location belongs to.Get the dataControllerId property: null.endTime()
Get the endTime property: The instance end time.Get the extensionId property: If a CustomLocation is provided, this contains the ARM id of the extension the custom location belongs to.k8SRaw()
Get the k8SRaw property: The raw kubernetes information.Get the lastUploadedDate property: Last uploaded date from Kubernetes cluster.Get the licenseType property: The license type to apply for this managed instance.Get the provisioningState property: The provisioningState property.Get the startTime property: The instance start time.void
validate()
Validates the instance.Set the admin property: The instance admin user.withBasicLoginInformation
(BasicLoginInformation basicLoginInformation) Set the basicLoginInformation property: Username and password for basic authentication.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.withDataControllerId
(String dataControllerId) Set the dataControllerId property: null.withEndTime
(String endTime) Set the endTime property: The instance end time.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.withK8SRaw
(SqlManagedInstanceK8SRaw k8SRaw) Set the k8SRaw property: The raw kubernetes information.withLastUploadedDate
(OffsetDateTime lastUploadedDate) Set the lastUploadedDate property: Last uploaded date from Kubernetes cluster.withLicenseType
(ArcSqlManagedInstanceLicenseType licenseType) Set the licenseType property: The license type to apply for this managed instance.withStartTime
(String startTime) Set the startTime property: The instance start time.
-
Constructor Details
-
SqlManagedInstanceProperties
public SqlManagedInstanceProperties()Creates an instance of SqlManagedInstanceProperties class.
-
-
Method Details
-
dataControllerId
Get the dataControllerId property: null.- Returns:
- the dataControllerId value.
-
withDataControllerId
Set the dataControllerId property: null.- Parameters:
dataControllerId
- the dataControllerId value to set.- Returns:
- the SqlManagedInstanceProperties object itself.
-
admin
Get the admin property: The instance admin user.- Returns:
- the admin value.
-
withAdmin
Set the admin property: The instance admin user.- Parameters:
admin
- the admin value to set.- Returns:
- the SqlManagedInstanceProperties object itself.
-
startTime
Get the startTime property: The instance start time.- Returns:
- the startTime value.
-
withStartTime
Set the startTime property: The instance start time.- Parameters:
startTime
- the startTime value to set.- Returns:
- the SqlManagedInstanceProperties object itself.
-
endTime
Get the endTime property: The instance end time.- Returns:
- the endTime value.
-
withEndTime
Set the endTime property: The instance end time.- Parameters:
endTime
- the endTime value to set.- Returns:
- the SqlManagedInstanceProperties object itself.
-
k8SRaw
Get the k8SRaw property: The raw kubernetes information.- Returns:
- the k8SRaw value.
-
withK8SRaw
Set the k8SRaw property: The raw kubernetes information.- Parameters:
k8SRaw
- the k8SRaw value to set.- Returns:
- the SqlManagedInstanceProperties object itself.
-
basicLoginInformation
Get the basicLoginInformation property: Username and password for basic authentication.- Returns:
- the basicLoginInformation value.
-
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.
-
lastUploadedDate
Get the lastUploadedDate property: Last uploaded date from Kubernetes cluster. Defaults to current date time.- Returns:
- the lastUploadedDate value.
-
withLastUploadedDate
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.
-
provisioningState
Get the provisioningState property: The provisioningState property.- Returns:
- the provisioningState value.
-
licenseType
Get the licenseType property: The license type to apply for this managed instance.- Returns:
- the licenseType value.
-
withLicenseType
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.
-
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.
-
withClusterId
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.
-
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.
-
withExtensionId
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.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-