Class TrustedAccessRoleInner

java.lang.Object
com.azure.resourcemanager.containerservice.fluent.models.TrustedAccessRoleInner

public final class TrustedAccessRoleInner extends Object
Trusted access role definition.
  • Constructor Details

    • TrustedAccessRoleInner

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

    • sourceResourceType

      public String sourceResourceType()
      Get the sourceResourceType property: Resource type of Azure resource.
      Returns:
      the sourceResourceType value.
    • name

      public String name()
      Get the name property: Name of role, name is unique under a source resource type.
      Returns:
      the name value.
    • rules

      public List<TrustedAccessRoleRule> rules()
      Get the rules property: List of rules for the role. This maps to 'rules' property of [Kubernetes Cluster Role](https://kubernetes.io/docs/reference/kubernetes-api/authorization-resources/cluster-role-v1/#ClusterRole).
      Returns:
      the rules value.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.