TrustedAccessRoleRule Class
- java.
lang. Object - com.
azure. resourcemanager. containerservice. models. TrustedAccessRoleRule
- com.
Implements
public final class TrustedAccessRoleRule
implements JsonSerializable<TrustedAccessRoleRule>
Rule for trusted access role.
Constructor Summary
Constructor | Description |
---|---|
TrustedAccessRoleRule() |
Creates an instance of Trusted |
Method Summary
Modifier and Type | Method and Description |
---|---|
List<String> |
apiGroups()
Get the api |
static
Trusted |
fromJson(JsonReader jsonReader)
Reads an instance of Trusted |
List<String> |
nonResourceUrls()
Get the non |
List<String> |
resourceNames()
Get the resource |
List<String> |
resources()
Get the resources property: List of allowed resources. |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
List<String> |
verbs()
Get the verbs property: List of allowed verbs. |
Methods inherited from java.lang.Object
Constructor Details
TrustedAccessRoleRule
public TrustedAccessRoleRule()
Creates an instance of TrustedAccessRoleRule class.
Method Details
apiGroups
public List
Get the apiGroups property: List of allowed apiGroups.
Returns:
fromJson
public static TrustedAccessRoleRule fromJson(JsonReader jsonReader)
Reads an instance of TrustedAccessRoleRule from the JsonReader.
Parameters:
Returns:
Throws:
nonResourceUrls
public List
Get the nonResourceUrls property: List of allowed nonResourceURLs.
Returns:
resourceNames
public List
Get the resourceNames property: List of allowed names.
Returns:
resources
public List
Get the resources property: List of allowed resources.
Returns:
toJson
validate
public void validate()
Validates the instance.
verbs
public List
Get the verbs property: List of allowed verbs.
Returns:
Applies to
Azure SDK for Java