Class SqlManagedInstanceProperties

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

public final class SqlManagedInstanceProperties extends Object
Properties of sqlManagedInstance.
  • Constructor Details

    • SqlManagedInstanceProperties

      public SqlManagedInstanceProperties()
      Creates an instance of SqlManagedInstanceProperties class.
  • Method Details

    • dataControllerId

      public String dataControllerId()
      Get the dataControllerId property: null.
      Returns:
      the dataControllerId value.
    • withDataControllerId

      public SqlManagedInstanceProperties withDataControllerId(String dataControllerId)
      Set the dataControllerId property: null.
      Parameters:
      dataControllerId - the dataControllerId value to set.
      Returns:
      the SqlManagedInstanceProperties object itself.
    • admin

      public String admin()
      Get the admin property: The instance admin user.
      Returns:
      the admin value.
    • 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.
    • startTime

      public String startTime()
      Get the startTime property: The instance start time.
      Returns:
      the startTime value.
    • 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.
    • endTime

      public String endTime()
      Get the endTime property: The instance end time.
      Returns:
      the endTime value.
    • 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.
    • k8SRaw

      public SqlManagedInstanceK8SRaw 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

      public BasicLoginInformation 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

      public OffsetDateTime lastUploadedDate()
      Get the lastUploadedDate property: Last uploaded date from Kubernetes cluster. Defaults to current date time.
      Returns:
      the lastUploadedDate value.
    • 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.
    • provisioningState

      public String provisioningState()
      Get the provisioningState property: The provisioningState property.
      Returns:
      the provisioningState value.
    • licenseType

      public ArcSqlManagedInstanceLicenseType licenseType()
      Get the licenseType property: The license type to apply for this managed instance.
      Returns:
      the licenseType value.
    • 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.
    • 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.
    • 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.
    • 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.
    • 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.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.