public class ManagementPolicyInner
extends com.azure.core.management.ProxyResource
| Constructor and Description |
|---|
ManagementPolicyInner() |
| Modifier and Type | Method and Description |
|---|---|
OffsetDateTime |
lastModifiedTime()
Get the lastModifiedTime property: Returns the date and time the ManagementPolicies was last modified.
|
ManagementPolicySchema |
policy()
Get the policy property: The Storage Account ManagementPolicy, in JSON format.
|
void |
validate()
Validates the instance.
|
ManagementPolicyInner |
withPolicy(ManagementPolicySchema policy)
Set the policy property: The Storage Account ManagementPolicy, in JSON format.
|
public OffsetDateTime lastModifiedTime()
public ManagementPolicySchema policy()
public ManagementPolicyInner withPolicy(ManagementPolicySchema policy)
policy - the policy value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.