PolicyDefinition.DefinitionStages.WithParameters Interface
public static interface PolicyDefinition.DefinitionStages.WithParameters
A policy definition allowing parameters to be set.
Method Summary
Modifier and Type | Method and Description |
---|---|
abstract
With |
withParameter(String name, ParameterDefinitionsValue definition)
Specifies the parameters of the policy. |
abstract
With |
withParameter(String name, ParameterType parameterType, Object defaultValue)
Specifies the parameters of the policy. |
Method Details
withParameter
public abstract PolicyDefinition.DefinitionStages.WithCreate withParameter(String name, ParameterDefinitionsValue definition)
Specifies the parameters of the policy.
Parameters:
Returns:
withParameter
public abstract PolicyDefinition.DefinitionStages.WithCreate withParameter(String name, ParameterType parameterType, Object defaultValue)
Specifies the parameters of the policy.
Parameters:
Returns:
Applies to
Azure SDK for Java