Class ClusterResourceProperties

java.lang.Object
com.azure.resourcemanager.appplatform.models.ClusterResourceProperties
All Implemented Interfaces:
com.azure.json.JsonSerializable<ClusterResourceProperties>

public final class ClusterResourceProperties extends Object implements com.azure.json.JsonSerializable<ClusterResourceProperties>
Service properties payload.
  • Constructor Details

    • ClusterResourceProperties

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

    • provisioningState

      public ProvisioningState provisioningState()
      Get the provisioningState property: Provisioning state of the Service.
      Returns:
      the provisioningState value.
    • networkProfile

      public NetworkProfile networkProfile()
      Get the networkProfile property: Network profile of the Service.
      Returns:
      the networkProfile value.
    • withNetworkProfile

      public ClusterResourceProperties withNetworkProfile(NetworkProfile networkProfile)
      Set the networkProfile property: Network profile of the Service.
      Parameters:
      networkProfile - the networkProfile value to set.
      Returns:
      the ClusterResourceProperties object itself.
    • vnetAddons

      public ServiceVNetAddons vnetAddons()
      Get the vnetAddons property: Additional Service settings in vnet injection instance.
      Returns:
      the vnetAddons value.
    • withVnetAddons

      public ClusterResourceProperties withVnetAddons(ServiceVNetAddons vnetAddons)
      Set the vnetAddons property: Additional Service settings in vnet injection instance.
      Parameters:
      vnetAddons - the vnetAddons value to set.
      Returns:
      the ClusterResourceProperties object itself.
    • version

      public Integer version()
      Get the version property: Version of the Service.
      Returns:
      the version value.
    • serviceId

      public String serviceId()
      Get the serviceId property: ServiceInstanceEntity Id which uniquely identifies a created resource.
      Returns:
      the serviceId value.
    • powerState

      public PowerState powerState()
      Get the powerState property: Power state of the Service.
      Returns:
      the powerState value.
    • zoneRedundant

      public Boolean zoneRedundant()
      Get the zoneRedundant property: The zoneRedundant property.
      Returns:
      the zoneRedundant value.
    • withZoneRedundant

      public ClusterResourceProperties withZoneRedundant(Boolean zoneRedundant)
      Set the zoneRedundant property: The zoneRedundant property.
      Parameters:
      zoneRedundant - the zoneRedundant value to set.
      Returns:
      the ClusterResourceProperties object itself.
    • fqdn

      public String fqdn()
      Get the fqdn property: Fully qualified dns name of the service instance.
      Returns:
      the fqdn value.
    • marketplaceResource

      public MarketplaceResource marketplaceResource()
      Get the marketplaceResource property: Purchasing 3rd party product of the Service resource.
      Returns:
      the marketplaceResource value.
    • withMarketplaceResource

      public ClusterResourceProperties withMarketplaceResource(MarketplaceResource marketplaceResource)
      Set the marketplaceResource property: Purchasing 3rd party product of the Service resource.
      Parameters:
      marketplaceResource - the marketplaceResource value to set.
      Returns:
      the ClusterResourceProperties object itself.
    • validate

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

      public com.azure.json.JsonWriter toJson(com.azure.json.JsonWriter jsonWriter) throws IOException
      Specified by:
      toJson in interface com.azure.json.JsonSerializable<ClusterResourceProperties>
      Throws:
      IOException
    • fromJson

      public static ClusterResourceProperties fromJson(com.azure.json.JsonReader jsonReader) throws IOException
      Reads an instance of ClusterResourceProperties from the JsonReader.
      Parameters:
      jsonReader - The JsonReader being read.
      Returns:
      An instance of ClusterResourceProperties 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 ClusterResourceProperties.