PolicyDefinition.DefinitionStages.WithPolicyType Interface
public static interface PolicyDefinition.DefinitionStages.WithPolicyType
A policy definition specifying the policy type to be blob.
Method Summary
Modifier and Type | Method and Description |
---|---|
abstract
With |
withPolicyType(PolicyType policyType)
Specifies the type of the policy. |
Method Details
withPolicyType
public abstract PolicyDefinition.DefinitionStages.WithCreate withPolicyType(PolicyType policyType)
Specifies the type of the policy. The default value is 'NotSpecified'.
Parameters:
policyType
- the policy type enum
Returns:
the next stage of policy definition
Applies to
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: Under hela 2024 kommer vi att fasa ut GitHub-problem som feedbackmekanism för innehåll och ersätta det med ett nytt feedbacksystem. Mer information finns i:Skicka och visa feedback för