Class ManagedClusterPodIdentity

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

public final class ManagedClusterPodIdentity extends Object implements com.azure.json.JsonSerializable<ManagedClusterPodIdentity>
Details about the pod identity assigned to the Managed Cluster.
  • Constructor Details

    • ManagedClusterPodIdentity

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

    • name

      public String name()
      Get the name property: The name of the pod identity.
      Returns:
      the name value.
    • 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.
    • namespace

      public String namespace()
      Get the namespace property: The namespace of the pod identity.
      Returns:
      the namespace value.
    • 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.
    • bindingSelector

      public String bindingSelector()
      Get the bindingSelector property: The binding selector to use for the AzureIdentityBinding resource.
      Returns:
      the bindingSelector value.
    • 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.
    • identity

      public UserAssignedIdentity identity()
      Get the identity property: The user assigned identity details.
      Returns:
      the identity value.
    • 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.
    • provisioningState

      public ManagedClusterPodIdentityProvisioningState provisioningState()
      Get the provisioningState property: The current provisioning state of the pod identity.
      Returns:
      the provisioningState value.
    • provisioningInfo

      public ManagedClusterPodIdentityProvisioningInfo provisioningInfo()
      Get the provisioningInfo property: The provisioningInfo property.
      Returns:
      the provisioningInfo value.
    • 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<ManagedClusterPodIdentity>
      Throws:
      IOException
    • fromJson

      public static ManagedClusterPodIdentity fromJson(com.azure.json.JsonReader jsonReader) throws IOException
      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:
      IllegalStateException - If the deserialized JSON object was missing any required properties.
      IOException - If an error occurs while reading the ManagedClusterPodIdentity.