ParameterDefinitionsValue Class

The definition of a parameter that can be provided to the policy.

Inheritance
ParameterDefinitionsValue

Constructor

ParameterDefinitionsValue(*, type: Optional[Union[str, azure.mgmt.resource.policy.v2020_09_01.models._policy_client_enums.ParameterType]] = None, allowed_values: Optional[List[Any]] = None, default_value: Optional[Any] = None, metadata: Optional[azure.mgmt.resource.policy.v2020_09_01.models._models_py3.ParameterDefinitionsValueMetadata] = None, **kwargs)

Variables

type
str or ParameterType

The data type of the parameter. Possible values include: "String", "Array", "Object", "Boolean", "Integer", "Float", "DateTime".

allowed_values
list[any]

The allowed values for the parameter.

default_value
any

The default value for the parameter if no value is provided.

metadata
ParameterDefinitionsValueMetadata

General metadata for the parameter.