azure.mgmt.resource.policy.v2022_08_01_preview.models module

class azure.mgmt.resource.policy.v2022_08_01_preview.models.CreatedByType(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)[source]

Bases: str, Enum

The type of identity that created the resource.

APPLICATION = 'Application'
KEY = 'Key'
MANAGED_IDENTITY = 'ManagedIdentity'
USER = 'User'
class azure.mgmt.resource.policy.v2022_08_01_preview.models.ErrorAdditionalInfo(**kwargs: Any)[source]

Bases: Model

The resource management error additional info.

Variables are only populated by the server, and will be ignored when sending a request.

Variables:
  • type (str) – The additional info type.

  • info (JSON) – The additional info.

class azure.mgmt.resource.policy.v2022_08_01_preview.models.ErrorResponse(**kwargs: Any)[source]

Bases: Model

Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.).

Variables are only populated by the server, and will be ignored when sending a request.

Variables:
class azure.mgmt.resource.policy.v2022_08_01_preview.models.PolicyVariableColumn(*, column_name: str, **kwargs: Any)[source]

Bases: Model

The variable column.

All required parameters must be populated in order to send to server.

Variables:

column_name (str) – The name of this policy variable column. Required.

Keyword Arguments:

column_name (str) – The name of this policy variable column. Required.

class azure.mgmt.resource.policy.v2022_08_01_preview.models.PolicyVariableValueColumnValue(*, column_name: str, column_value: MutableMapping[str, Any], **kwargs: Any)[source]

Bases: Model

The name value tuple for this variable value column.

All required parameters must be populated in order to send to server.

Variables:
  • column_name (str) – Column name for the variable value. Required.

  • column_value (JSON) – Column value for the variable value; this can be an integer, double, boolean, null or a string. Required.

Keyword Arguments:
  • column_name (str) – Column name for the variable value. Required.

  • column_value (JSON) – Column value for the variable value; this can be an integer, double, boolean, null or a string. Required.

class azure.mgmt.resource.policy.v2022_08_01_preview.models.SystemData(*, created_by: str | None = None, created_by_type: str | _models.CreatedByType | None = None, created_at: datetime | None = None, last_modified_by: str | None = None, last_modified_by_type: str | _models.CreatedByType | None = None, last_modified_at: datetime | None = None, **kwargs: Any)[source]

Bases: Model

Metadata pertaining to creation and last modification of the resource.

Variables:
  • created_by (str) – The identity that created the resource.

  • created_by_type (str or CreatedByType) – The type of identity that created the resource. Known values are: “User”, “Application”, “ManagedIdentity”, and “Key”.

  • created_at (datetime) – The timestamp of resource creation (UTC).

  • last_modified_by (str) – The identity that last modified the resource.

  • last_modified_by_type (str or CreatedByType) – The type of identity that last modified the resource. Known values are: “User”, “Application”, “ManagedIdentity”, and “Key”.

  • last_modified_at (datetime) – The timestamp of resource last modification (UTC).

Keyword Arguments:
  • created_by (str) – The identity that created the resource.

  • created_by_type (str or CreatedByType) – The type of identity that created the resource. Known values are: “User”, “Application”, “ManagedIdentity”, and “Key”.

  • created_at (datetime) – The timestamp of resource creation (UTC).

  • last_modified_by (str) – The identity that last modified the resource.

  • last_modified_by_type (str or CreatedByType) – The type of identity that last modified the resource. Known values are: “User”, “Application”, “ManagedIdentity”, and “Key”.

  • last_modified_at (datetime) – The timestamp of resource last modification (UTC).

class azure.mgmt.resource.policy.v2022_08_01_preview.models.Variable(*, columns: List[_models.PolicyVariableColumn], **kwargs: Any)[source]

Bases: Model

The variable.

Variables are only populated by the server, and will be ignored when sending a request.

All required parameters must be populated in order to send to server.

Variables:
  • system_data (SystemData) – Azure Resource Manager metadata containing createdBy and modifiedBy information.

  • id (str) – The ID of the variable.

  • name (str) – The name of the variable.

  • type (str) – The type of the resource (Microsoft.Authorization/variables).

  • columns (list[PolicyVariableColumn]) – Variable column definitions. Required.

Keyword Arguments:

columns (list[PolicyVariableColumn]) – Variable column definitions. Required.

class azure.mgmt.resource.policy.v2022_08_01_preview.models.VariableListResult(*, value: List[_models.Variable] | None = None, **kwargs: Any)[source]

Bases: Model

List of variables.

Variables are only populated by the server, and will be ignored when sending a request.

Variables:
  • value (list[Variable]) – An array of variables.

  • next_link (str) – The URL to use for getting the next set of results.

Keyword Arguments:

value (list[Variable]) – An array of variables.

class azure.mgmt.resource.policy.v2022_08_01_preview.models.VariableValue(*, values: List[_models.PolicyVariableValueColumnValue], **kwargs: Any)[source]

Bases: Model

The variable value.

Variables are only populated by the server, and will be ignored when sending a request.

All required parameters must be populated in order to send to server.

Variables:
  • system_data (SystemData) – Azure Resource Manager metadata containing createdBy and modifiedBy information.

  • id (str) – The ID of the variable.

  • name (str) – The name of the variable.

  • type (str) – The type of the resource (Microsoft.Authorization/variables/values).

  • values (list[PolicyVariableValueColumnValue]) – Variable value column value array. Required.

Keyword Arguments:

values (list[PolicyVariableValueColumnValue]) – Variable value column value array. Required.

class azure.mgmt.resource.policy.v2022_08_01_preview.models.VariableValueListResult(*, value: List[_models.VariableValue] | None = None, **kwargs: Any)[source]

Bases: Model

List of variable values.

Variables are only populated by the server, and will be ignored when sending a request.

Variables:
  • value (list[VariableValue]) – An array of variable values.

  • next_link (str) – The URL to use for getting the next set of results.

Keyword Arguments:

value (list[VariableValue]) – An array of variable values.