PolicyDefinition.DefinitionStages.WithPolicyRule Schnittstelle
public static interface PolicyDefinition.DefinitionStages.WithPolicyRule
Eine Richtliniendefinition, die das Festlegen der Richtlinienregel ermöglicht.
Methodenzusammenfassung
Modifizierer und Typ | Methode und Beschreibung |
---|---|
abstract
With |
withPolicyRule(Object policyRule)
Gibt die Regel der Richtlinie an. |
abstract
With |
withPolicyRuleJson(String policyRuleJson)
Gibt die Regel der Richtlinie im JSON-Format an. |
Details zur Methode
withPolicyRule
public abstract PolicyDefinition.DefinitionStages.WithCreate withPolicyRule(Object policyRule)
Gibt die Regel der Richtlinie an.
Parameters:
policyRule
- das Regelobjekt
Returns:
die nächste Stufe der Richtliniendefinition
withPolicyRuleJson
public abstract PolicyDefinition.DefinitionStages.WithCreate withPolicyRuleJson(String policyRuleJson)
Gibt die Regel der Richtlinie im JSON-Format an.
Parameters:
policyRuleJson
- das Regelobjekt
Returns:
die nächste Stufe der Richtliniendefinition
Gilt für:
Zusammenarbeit auf GitHub
Die Quelle für diesen Inhalt finden Sie auf GitHub, wo Sie auch Issues und Pull Requests erstellen und überprüfen können. Weitere Informationen finden Sie in unserem Leitfaden für Mitwirkende.
Azure SDK for Java