TrustedAccessRoleInner Class
- java.
lang. Object - com.
azure. resourcemanager. containerservice. fluent. models. TrustedAccessRoleInner
- com.
Implements
public final class TrustedAccessRoleInner
implements JsonSerializable<TrustedAccessRoleInner>
Trusted access role definition.
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Trusted |
fromJson(JsonReader jsonReader)
Reads an instance of Trusted |
| String |
name()
Get the name property: Name of role, name is unique under a source resource type. |
|
List<Trusted |
rules()
Get the rules property: List of rules for the role. |
| String |
sourceResourceType()
Get the source |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
Methods inherited from java.lang.Object
Method Details
fromJson
public static TrustedAccessRoleInner fromJson(JsonReader jsonReader)
Reads an instance of TrustedAccessRoleInner from the JsonReader.
Parameters:
Returns:
Throws:
name
public String name()
Get the name property: Name of role, name is unique under a source resource type.
Returns:
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:
sourceResourceType
public String sourceResourceType()
Get the sourceResourceType property: Resource type of Azure resource.
Returns:
toJson
validate
public void validate()
Validates the instance.