你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
PolicyProperties Class
- java.
lang. Object - com.
azure. resourcemanager. authorization. models. PolicyProperties
- com.
Implements
public final class PolicyProperties
implements JsonSerializable<PolicyProperties>
Expanded info of resource scope.
Constructor Summary
Constructor | Description |
---|---|
PolicyProperties() |
Creates an instance of Policy |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Policy |
fromJson(JsonReader jsonReader)
Reads an instance of Policy |
Policy |
scope()
Get the scope property: Details of the resource scope. |
Json |
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:
Returns:
Throws:
scope
public PolicyPropertiesScope scope()
Get the scope property: Details of the resource scope.
Returns:
toJson
validate
public void validate()
Validates the instance.