PolicyDefinition.DefinitionStages.WithPolicyRule Interface
public static interface PolicyDefinition.DefinitionStages.WithPolicyRule
A policy definition allowing the policy rule to be set.
Method Summary
Modifier and Type | Method and Description |
---|---|
abstract
With |
withPolicyRule(Object policyRule)
Specifies the rule of the policy. |
abstract
With |
withPolicyRuleJson(String policyRuleJson)
Specifies the rule of the policy in JSON format. |
Method Details
withPolicyRule
public abstract PolicyDefinition.DefinitionStages.WithCreate withPolicyRule(Object policyRule)
Specifies the rule of the policy.
Parameters:
policyRule
- the rule object
Returns:
the next stage of policy definition
withPolicyRuleJson
public abstract PolicyDefinition.DefinitionStages.WithCreate withPolicyRuleJson(String policyRuleJson)
Specifies the rule of the policy in JSON format.
Parameters:
policyRuleJson
- the rule object
Returns:
the next stage of policy definition
Applies to
GitHub에서 Microsoft와 공동 작업
이 콘텐츠의 원본은 GitHub에서 찾을 수 있으며, 여기서 문제와 끌어오기 요청을 만들고 검토할 수도 있습니다. 자세한 내용은 참여자 가이드를 참조하세요.
Azure SDK for Java