public static interface PolicyDefinition.DefinitionStages.WithPolicyRule
| Modifier and Type | Method and Description |
|---|---|
PolicyDefinition.DefinitionStages.WithCreate |
withPolicyRule(Object policyRule)
Specifies the rule of the policy.
|
PolicyDefinition.DefinitionStages.WithCreate |
withPolicyRuleJson(String policyRuleJson)
Specifies the rule of the policy in JSON format.
|
PolicyDefinition.DefinitionStages.WithCreate withPolicyRule(Object policyRule)
policyRule - the rule objectPolicyDefinition.DefinitionStages.WithCreate withPolicyRuleJson(String policyRuleJson)
policyRuleJson - the rule object/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/