PolicyAssignmentPropertiesScope Class

  • java.lang.Object
    • com.azure.resourcemanager.authorization.models.PolicyAssignmentPropertiesScope

Implements

public final class PolicyAssignmentPropertiesScope
implements JsonSerializable<PolicyAssignmentPropertiesScope>

Details of the resource scope.

Method Summary

Modifier and Type Method and Description
String displayName()

Get the displayName property: Display name of the resource.

static PolicyAssignmentPropertiesScope fromJson(JsonReader jsonReader)

Reads an instance of PolicyAssignmentPropertiesScope from the JsonReader.

String id()

Get the id property: Scope id of the resource.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: Type of the resource.

void validate()

Validates the instance.

Methods inherited from java.lang.Object

Method Details

displayName

public String displayName()

Get the displayName property: Display name of the resource.

Returns:

the displayName value.

fromJson

public static PolicyAssignmentPropertiesScope fromJson(JsonReader jsonReader)

Reads an instance of PolicyAssignmentPropertiesScope from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of PolicyAssignmentPropertiesScope 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 PolicyAssignmentPropertiesScope.

id

public String id()

Get the id property: Scope id of the resource.

Returns:

the id value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: Type of the resource.

Returns:

the type value.

validate

public void validate()

Validates the instance.

Applies to