你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

PolicyProperties Class

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

Implements

public final class PolicyProperties
implements JsonSerializable<PolicyProperties>

Expanded info of resource scope.

Constructor Summary

Constructor Description
PolicyProperties()

Creates an instance of PolicyProperties class.

Method Summary

Modifier and Type Method and Description
static PolicyProperties fromJson(JsonReader jsonReader)

Reads an instance of PolicyProperties from the JsonReader.

PolicyPropertiesScope scope()

Get the scope property: Details of the resource scope.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Methods inherited from java.lang.Object

Constructor Details

PolicyProperties

public PolicyProperties()

Creates an instance of PolicyProperties class.

Method Details

fromJson

public static PolicyProperties fromJson(JsonReader jsonReader)

Reads an instance of PolicyProperties from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

scope

public PolicyPropertiesScope scope()

Get the scope property: Details of the resource scope.

Returns:

the scope value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Applies to