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 Summary
ConstructorsConstructorDescriptionCreates an instance of ClusterResourceProperties class. -
Method Summary
Modifier and TypeMethodDescriptionfqdn()Get the fqdn property: Fully qualified dns name of the service instance.static ClusterResourcePropertiesfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of ClusterResourceProperties from the JsonReader.Get the marketplaceResource property: Purchasing 3rd party product of the Service resource.Get the networkProfile property: Network profile of the Service.Get the powerState property: Power state of the Service.Get the provisioningState property: Provisioning state of the Service.Get the serviceId property: ServiceInstanceEntity Id which uniquely identifies a created resource.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) voidvalidate()Validates the instance.version()Get the version property: Version of the Service.Get the vnetAddons property: Additional Service settings in vnet injection instance.withMarketplaceResource(MarketplaceResource marketplaceResource) Set the marketplaceResource property: Purchasing 3rd party product of the Service resource.withNetworkProfile(NetworkProfile networkProfile) Set the networkProfile property: Network profile of the Service.withVnetAddons(ServiceVNetAddons vnetAddons) Set the vnetAddons property: Additional Service settings in vnet injection instance.withZoneRedundant(Boolean zoneRedundant) Set the zoneRedundant property: The zoneRedundant property.Get the zoneRedundant property: The zoneRedundant property.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
ClusterResourceProperties
public ClusterResourceProperties()Creates an instance of ClusterResourceProperties class.
-
-
Method Details
-
provisioningState
Get the provisioningState property: Provisioning state of the Service.- Returns:
- the provisioningState value.
-
networkProfile
Get the networkProfile property: Network profile of the Service.- Returns:
- the networkProfile value.
-
withNetworkProfile
Set the networkProfile property: Network profile of the Service.- Parameters:
networkProfile- the networkProfile value to set.- Returns:
- the ClusterResourceProperties object itself.
-
vnetAddons
Get the vnetAddons property: Additional Service settings in vnet injection instance.- Returns:
- the vnetAddons value.
-
withVnetAddons
Set the vnetAddons property: Additional Service settings in vnet injection instance.- Parameters:
vnetAddons- the vnetAddons value to set.- Returns:
- the ClusterResourceProperties object itself.
-
version
Get the version property: Version of the Service.- Returns:
- the version value.
-
serviceId
Get the serviceId property: ServiceInstanceEntity Id which uniquely identifies a created resource.- Returns:
- the serviceId value.
-
powerState
Get the powerState property: Power state of the Service.- Returns:
- the powerState value.
-
zoneRedundant
Get the zoneRedundant property: The zoneRedundant property.- Returns:
- the zoneRedundant value.
-
withZoneRedundant
Set the zoneRedundant property: The zoneRedundant property.- Parameters:
zoneRedundant- the zoneRedundant value to set.- Returns:
- the ClusterResourceProperties object itself.
-
fqdn
Get the fqdn property: Fully qualified dns name of the service instance.- Returns:
- the fqdn value.
-
marketplaceResource
Get the marketplaceResource property: Purchasing 3rd party product of the Service resource.- Returns:
- the marketplaceResource value.
-
withMarketplaceResource
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
- Specified by:
toJsonin interfacecom.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.
-