TrustedAccessRoleRule Class

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

Implements

public final class TrustedAccessRoleRule
implements JsonSerializable<TrustedAccessRoleRule>

Rule for trusted access role.

Constructor Summary

Constructor Description
TrustedAccessRoleRule()

Creates an instance of TrustedAccessRoleRule class.

Method Summary

Modifier and Type Method and Description
List<String> apiGroups()

Get the apiGroups property: List of allowed apiGroups.

static TrustedAccessRoleRule fromJson(JsonReader jsonReader)

Reads an instance of TrustedAccessRoleRule from the JsonReader.

List<String> nonResourceUrls()

Get the nonResourceUrls property: List of allowed nonResourceURLs.

List<String> resourceNames()

Get the resourceNames property: List of allowed names.

List<String> resources()

Get the resources property: List of allowed resources.

JsonWriter 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 apiGroups()

Get the apiGroups property: List of allowed apiGroups.

Returns:

the apiGroups value.

fromJson

public static TrustedAccessRoleRule fromJson(JsonReader jsonReader)

Reads an instance of TrustedAccessRoleRule from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of TrustedAccessRoleRule if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the TrustedAccessRoleRule.

nonResourceUrls

public List nonResourceUrls()

Get the nonResourceUrls property: List of allowed nonResourceURLs.

Returns:

the nonResourceUrls value.

resourceNames

public List resourceNames()

Get the resourceNames property: List of allowed names.

Returns:

the resourceNames value.

resources

public List resources()

Get the resources property: List of allowed resources.

Returns:

the resources value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

verbs

public List verbs()

Get the verbs property: List of allowed verbs.

Returns:

the verbs value.

Applies to