ClusterResourceProperties Class

  • java.lang.Object
    • com.azure.resourcemanager.appplatform.models.ClusterResourceProperties

Implements

public final class ClusterResourceProperties
implements JsonSerializable<ClusterResourceProperties>

Service properties payload.

Constructor Summary

Constructor Description
ClusterResourceProperties()

Creates an instance of ClusterResourceProperties class.

Method Summary

Modifier and Type Method and Description
String fqdn()

Get the fqdn property: Fully qualified dns name of the service instance.

static ClusterResourceProperties fromJson(JsonReader jsonReader)

Reads an instance of ClusterResourceProperties from the JsonReader.

MarketplaceResource marketplaceResource()

Get the marketplaceResource property: Purchasing 3rd party product of the Service resource.

NetworkProfile networkProfile()

Get the networkProfile property: Network profile of the Service.

PowerState powerState()

Get the powerState property: Power state of the Service.

ProvisioningState provisioningState()

Get the provisioningState property: Provisioning state of the Service.

String serviceId()

Get the serviceId property: ServiceInstanceEntity Id which uniquely identifies a created resource.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Integer version()

Get the version property: Version of the Service.

ServiceVNetAddons vnetAddons()

Get the vnetAddons property: Additional Service settings in vnet injection instance.

ClusterResourceProperties withMarketplaceResource(MarketplaceResource marketplaceResource)

Set the marketplaceResource property: Purchasing 3rd party product of the Service resource.

ClusterResourceProperties withNetworkProfile(NetworkProfile networkProfile)

Set the networkProfile property: Network profile of the Service.

ClusterResourceProperties withVnetAddons(ServiceVNetAddons vnetAddons)

Set the vnetAddons property: Additional Service settings in vnet injection instance.

ClusterResourceProperties withZoneRedundant(Boolean zoneRedundant)

Set the zoneRedundant property: The zoneRedundant property.

Boolean zoneRedundant()

Get the zoneRedundant property: The zoneRedundant property.

Methods inherited from java.lang.Object

Constructor Details

ClusterResourceProperties

public ClusterResourceProperties()

Creates an instance of ClusterResourceProperties class.

Method Details

fqdn

public String fqdn()

Get the fqdn property: Fully qualified dns name of the service instance.

Returns:

the fqdn value.

fromJson

public static ClusterResourceProperties fromJson(JsonReader jsonReader)

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.

marketplaceResource

public MarketplaceResource marketplaceResource()

Get the marketplaceResource property: Purchasing 3rd party product of the Service resource.

Returns:

the marketplaceResource value.

networkProfile

public NetworkProfile networkProfile()

Get the networkProfile property: Network profile of the Service.

Returns:

the networkProfile value.

powerState

public PowerState powerState()

Get the powerState property: Power state of the Service.

Returns:

the powerState value.

provisioningState

public ProvisioningState provisioningState()

Get the provisioningState property: Provisioning state of the Service.

Returns:

the provisioningState value.

serviceId

public String serviceId()

Get the serviceId property: ServiceInstanceEntity Id which uniquely identifies a created resource.

Returns:

the serviceId value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

version

public Integer version()

Get the version property: Version of the Service.

Returns:

the version value.

vnetAddons

public ServiceVNetAddons vnetAddons()

Get the vnetAddons property: Additional Service settings in vnet injection instance.

Returns:

the vnetAddons 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.

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.

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.

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.

zoneRedundant

public Boolean zoneRedundant()

Get the zoneRedundant property: The zoneRedundant property.

Returns:

the zoneRedundant value.

Applies to