Partager via


ManagedClusterPodIdentity Class

  • java.lang.Object
    • com.azure.resourcemanager.containerservice.models.ManagedClusterPodIdentity

Implements

public final class ManagedClusterPodIdentity
implements JsonSerializable<ManagedClusterPodIdentity>

Details about the pod identity assigned to the Managed Cluster.

Constructor Summary

Constructor Description
ManagedClusterPodIdentity()

Creates an instance of ManagedClusterPodIdentity class.

Method Summary

Modifier and Type Method and Description
String bindingSelector()

Get the bindingSelector property: The binding selector to use for the AzureIdentityBinding resource.

static ManagedClusterPodIdentity fromJson(JsonReader jsonReader)

Reads an instance of ManagedClusterPodIdentity from the JsonReader.

UserAssignedIdentity identity()

Get the identity property: The user assigned identity details.

String name()

Get the name property: The name of the pod identity.

String namespace()

Get the namespace property: The namespace of the pod identity.

ManagedClusterPodIdentityProvisioningInfo provisioningInfo()

Get the provisioningInfo property: The provisioningInfo property.

ManagedClusterPodIdentityProvisioningState provisioningState()

Get the provisioningState property: The current provisioning state of the pod identity.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

ManagedClusterPodIdentity withBindingSelector(String bindingSelector)

Set the bindingSelector property: The binding selector to use for the AzureIdentityBinding resource.

ManagedClusterPodIdentity withIdentity(UserAssignedIdentity identity)

Set the identity property: The user assigned identity details.

ManagedClusterPodIdentity withName(String name)

Set the name property: The name of the pod identity.

ManagedClusterPodIdentity withNamespace(String namespace)

Set the namespace property: The namespace of the pod identity.

Methods inherited from java.lang.Object

Constructor Details

ManagedClusterPodIdentity

public ManagedClusterPodIdentity()

Creates an instance of ManagedClusterPodIdentity class.

Method Details

bindingSelector

public String bindingSelector()

Get the bindingSelector property: The binding selector to use for the AzureIdentityBinding resource.

Returns:

the bindingSelector value.

fromJson

public static ManagedClusterPodIdentity fromJson(JsonReader jsonReader)

Reads an instance of ManagedClusterPodIdentity from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of ManagedClusterPodIdentity 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.

identity

public UserAssignedIdentity identity()

Get the identity property: The user assigned identity details.

Returns:

the identity value.

name

public String name()

Get the name property: The name of the pod identity.

Returns:

the name value.

namespace

public String namespace()

Get the namespace property: The namespace of the pod identity.

Returns:

the namespace value.

provisioningInfo

public ManagedClusterPodIdentityProvisioningInfo provisioningInfo()

Get the provisioningInfo property: The provisioningInfo property.

Returns:

the provisioningInfo value.

provisioningState

public ManagedClusterPodIdentityProvisioningState provisioningState()

Get the provisioningState property: The current provisioning state of the pod identity.

Returns:

the provisioningState value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withBindingSelector

public ManagedClusterPodIdentity withBindingSelector(String bindingSelector)

Set the bindingSelector property: The binding selector to use for the AzureIdentityBinding resource.

Parameters:

bindingSelector - the bindingSelector value to set.

Returns:

the ManagedClusterPodIdentity object itself.

withIdentity

public ManagedClusterPodIdentity withIdentity(UserAssignedIdentity identity)

Set the identity property: The user assigned identity details.

Parameters:

identity - the identity value to set.

Returns:

the ManagedClusterPodIdentity object itself.

withName

public ManagedClusterPodIdentity withName(String name)

Set the name property: The name of the pod identity.

Parameters:

name - the name value to set.

Returns:

the ManagedClusterPodIdentity object itself.

withNamespace

public ManagedClusterPodIdentity withNamespace(String namespace)

Set the namespace property: The namespace of the pod identity.

Parameters:

namespace - the namespace value to set.

Returns:

the ManagedClusterPodIdentity object itself.

Applies to