Partager via


KubernetesClusterFeatureInner Class

public final class KubernetesClusterFeatureInner
extends Resource

KubernetesClusterFeature represents the feature of a Kubernetes cluster.

Constructor Summary

Constructor Description
KubernetesClusterFeatureInner()

Creates an instance of KubernetesClusterFeatureInner class.

Method Summary

Modifier and Type Method and Description
KubernetesClusterFeatureAvailabilityLifecycle availabilityLifecycle()

Get the availabilityLifecycle property: The lifecycle indicator of the feature.

KubernetesClusterFeatureDetailedStatus detailedStatus()

Get the detailedStatus property: The detailed status of the feature.

String detailedStatusMessage()

Get the detailedStatusMessage property: The descriptive message for the detailed status of the feature.

String etag()

Get the etag property: Resource ETag.

static KubernetesClusterFeatureInner fromJson(JsonReader jsonReader)

Reads an instance of KubernetesClusterFeatureInner from the JsonReader.

String id()

Get the id property: Fully qualified resource Id for the resource.

String name()

Get the name property: The name of the resource.

List<StringKeyValuePair> options()

Get the options property: The configured options for the feature.

KubernetesClusterFeatureProvisioningState provisioningState()

Get the provisioningState property: The provisioning state of the Kubernetes cluster feature.

KubernetesClusterFeatureRequired required()

Get the required property: The indicator of if the feature is required or optional.

SystemData systemData()

Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: The type of the resource.

void validate()

Validates the instance.

String version()

Get the version property: The version of the feature.

KubernetesClusterFeatureInner withLocation(String location)
KubernetesClusterFeatureInner withOptions(List<StringKeyValuePair> options)

Set the options property: The configured options for the feature.

KubernetesClusterFeatureInner withTags(Map<String,String> tags)

Methods inherited from ProxyResource

Methods inherited from Resource

Methods inherited from java.lang.Object

Constructor Details

KubernetesClusterFeatureInner

public KubernetesClusterFeatureInner()

Creates an instance of KubernetesClusterFeatureInner class.

Method Details

availabilityLifecycle

public KubernetesClusterFeatureAvailabilityLifecycle availabilityLifecycle()

Get the availabilityLifecycle property: The lifecycle indicator of the feature.

Returns:

the availabilityLifecycle value.

detailedStatus

public KubernetesClusterFeatureDetailedStatus detailedStatus()

Get the detailedStatus property: The detailed status of the feature.

Returns:

the detailedStatus value.

detailedStatusMessage

public String detailedStatusMessage()

Get the detailedStatusMessage property: The descriptive message for the detailed status of the feature.

Returns:

the detailedStatusMessage value.

etag

public String etag()

Get the etag property: Resource ETag.

Returns:

the etag value.

fromJson

public static KubernetesClusterFeatureInner fromJson(JsonReader jsonReader)

Reads an instance of KubernetesClusterFeatureInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of KubernetesClusterFeatureInner if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If the deserialized JSON object was missing any required properties.

id

public String id()

Get the id property: Fully qualified resource Id for the resource.

Overrides:

KubernetesClusterFeatureInner.id()

Returns:

the id value.

name

public String name()

Get the name property: The name of the resource.

Overrides:

KubernetesClusterFeatureInner.name()

Returns:

the name value.

options

public List<StringKeyValuePair> options()

Get the options property: The configured options for the feature.

Returns:

the options value.

provisioningState

public KubernetesClusterFeatureProvisioningState provisioningState()

Get the provisioningState property: The provisioning state of the Kubernetes cluster feature.

Returns:

the provisioningState value.

required

public KubernetesClusterFeatureRequired required()

Get the required property: The indicator of if the feature is required or optional. Optional features may be deleted by the user, while required features are managed with the kubernetes cluster lifecycle.

Returns:

the required value.

systemData

public SystemData systemData()

Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.

Returns:

the systemData value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

KubernetesClusterFeatureInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The type of the resource.

Overrides:

KubernetesClusterFeatureInner.type()

Returns:

the type value.

validate

public void validate()

Validates the instance.

version

public String version()

Get the version property: The version of the feature.

Returns:

the version value.

withLocation

public KubernetesClusterFeatureInner withLocation(String location)

Overrides:

KubernetesClusterFeatureInner.withLocation(String location)

Parameters:

location

withOptions

public KubernetesClusterFeatureInner withOptions(List<StringKeyValuePair> options)

Set the options property: The configured options for the feature.

Parameters:

options - the options value to set.

Returns:

the KubernetesClusterFeatureInner object itself.

withTags

public KubernetesClusterFeatureInner withTags(Map<String,String> tags)

Overrides:

KubernetesClusterFeatureInner.withTags(Map<String,String> tags)

Parameters:

tags

Applies to