Class TrustedAccessRoleRule

java.lang.Object
com.azure.resourcemanager.containerservice.models.TrustedAccessRoleRule

public final class TrustedAccessRoleRule extends Object
Rule for trusted access role.
  • Constructor Details

    • TrustedAccessRoleRule

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

    • verbs

      public List<String> verbs()
      Get the verbs property: List of allowed verbs.
      Returns:
      the verbs value.
    • apiGroups

      public List<String> apiGroups()
      Get the apiGroups property: List of allowed apiGroups.
      Returns:
      the apiGroups value.
    • resources

      public List<String> resources()
      Get the resources property: List of allowed resources.
      Returns:
      the resources value.
    • resourceNames

      public List<String> resourceNames()
      Get the resourceNames property: List of allowed names.
      Returns:
      the resourceNames value.
    • nonResourceUrls

      public List<String> nonResourceUrls()
      Get the nonResourceUrls property: List of allowed nonResourceURLs.
      Returns:
      the nonResourceUrls value.
    • validate

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