public final class ManagementPolicyDefinition extends Object
| Constructor and Description |
|---|
ManagementPolicyDefinition() |
| Modifier and Type | Method and Description |
|---|---|
ManagementPolicyAction |
actions()
Get the actions property: An object that defines the action set.
|
ManagementPolicyFilter |
filters()
Get the filters property: An object that defines the filter set.
|
void |
validate()
Validates the instance.
|
ManagementPolicyDefinition |
withActions(ManagementPolicyAction actions)
Set the actions property: An object that defines the action set.
|
ManagementPolicyDefinition |
withFilters(ManagementPolicyFilter filters)
Set the filters property: An object that defines the filter set.
|
public ManagementPolicyAction actions()
public ManagementPolicyDefinition withActions(ManagementPolicyAction actions)
actions - the actions value to set.public ManagementPolicyFilter filters()
public ManagementPolicyDefinition withFilters(ManagementPolicyFilter filters)
filters - the filters value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.