azure.mgmt.authorization.v2018_01_01_preview.models module

class azure.mgmt.authorization.v2018_01_01_preview.models.ErrorAdditionalInfo(**kwargs: Any)[source]

Bases: azure.mgmt.authorization._serialization.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.authorization.v2018_01_01_preview.models.ErrorDetail(**kwargs: Any)[source]

Bases: azure.mgmt.authorization._serialization.Model

The error detail.

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

Variables
class azure.mgmt.authorization.v2018_01_01_preview.models.ErrorResponse(*, error: Optional[_models.ErrorDetail] = None, **kwargs: Any)[source]

Bases: azure.mgmt.authorization._serialization.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

error (ErrorDetail) – The error object.

Keyword Arguments

error (ErrorDetail) – The error object.

class azure.mgmt.authorization.v2018_01_01_preview.models.Permission(*, actions: Optional[List[str]] = None, not_actions: Optional[List[str]] = None, data_actions: Optional[List[str]] = None, not_data_actions: Optional[List[str]] = None, **kwargs: Any)[source]

Bases: azure.mgmt.authorization._serialization.Model

Role definition permissions.

Variables
  • actions (list[str]) – Allowed actions.

  • not_actions (list[str]) – Denied actions.

  • data_actions (list[str]) – Allowed Data actions.

  • not_data_actions (list[str]) – Denied Data actions.

Keyword Arguments
  • actions (list[str]) – Allowed actions.

  • not_actions (list[str]) – Denied actions.

  • data_actions (list[str]) – Allowed Data actions.

  • not_data_actions (list[str]) – Denied Data actions.

class azure.mgmt.authorization.v2018_01_01_preview.models.PermissionGetResult(*, value: Optional[List[_models.Permission]] = None, next_link: Optional[str] = None, **kwargs: Any)[source]

Bases: azure.mgmt.authorization._serialization.Model

Permissions information.

Variables
  • value (list[Permission]) – An array of permissions.

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

Keyword Arguments
  • value (list[Permission]) – An array of permissions.

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

class azure.mgmt.authorization.v2018_01_01_preview.models.ProviderOperation(*, name: Optional[str] = None, display_name: Optional[str] = None, description: Optional[str] = None, origin: Optional[str] = None, properties: Optional[collections.abc.MutableMapping[str, Any]] = None, is_data_action: Optional[bool] = None, **kwargs: Any)[source]

Bases: azure.mgmt.authorization._serialization.Model

Operation.

Variables
  • name (str) – The operation name.

  • display_name (str) – The operation display name.

  • description (str) – The operation description.

  • origin (str) – The operation origin.

  • properties (JSON) – The operation properties.

  • is_data_action (bool) – The dataAction flag to specify the operation type.

Keyword Arguments
  • name (str) – The operation name.

  • display_name (str) – The operation display name.

  • description (str) – The operation description.

  • origin (str) – The operation origin.

  • properties (JSON) – The operation properties.

  • is_data_action (bool) – The dataAction flag to specify the operation type.

class azure.mgmt.authorization.v2018_01_01_preview.models.ProviderOperationsMetadata(*, id: Optional[str] = None, name: Optional[str] = None, type: Optional[str] = None, display_name: Optional[str] = None, resource_types: Optional[List[_models.ResourceType]] = None, operations: Optional[List[_models.ProviderOperation]] = None, **kwargs: Any)[source]

Bases: azure.mgmt.authorization._serialization.Model

Provider Operations metadata.

Variables
Keyword Arguments
  • id (str) – The provider id.

  • name (str) – The provider name.

  • type (str) – The provider type.

  • display_name (str) – The provider display name.

  • resource_types (list[ResourceType]) – The provider resource types.

  • operations (list[ProviderOperation]) – The provider operations.

class azure.mgmt.authorization.v2018_01_01_preview.models.ProviderOperationsMetadataListResult(*, value: Optional[List[_models.ProviderOperationsMetadata]] = None, next_link: Optional[str] = None, **kwargs: Any)[source]

Bases: azure.mgmt.authorization._serialization.Model

Provider operations metadata list.

Variables
Keyword Arguments
class azure.mgmt.authorization.v2018_01_01_preview.models.ResourceType(*, name: Optional[str] = None, display_name: Optional[str] = None, operations: Optional[List[_models.ProviderOperation]] = None, **kwargs: Any)[source]

Bases: azure.mgmt.authorization._serialization.Model

Resource Type.

Variables
Keyword Arguments
  • name (str) – The resource type name.

  • display_name (str) – The resource type display name.

  • operations (list[ProviderOperation]) – The resource type operations.

class azure.mgmt.authorization.v2018_01_01_preview.models.RoleAssignment(*, scope: Optional[str] = None, role_definition_id: Optional[str] = None, principal_id: Optional[str] = None, can_delegate: Optional[bool] = None, **kwargs: Any)[source]

Bases: azure.mgmt.authorization._serialization.Model

Role Assignments.

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

Variables
  • id (str) – The role assignment ID.

  • name (str) – The role assignment name.

  • type (str) – The role assignment type.

  • scope (str) – The role assignment scope.

  • role_definition_id (str) – The role definition ID.

  • principal_id (str) – The principal ID.

  • can_delegate (bool) – The Delegation flag for the role assignment.

Keyword Arguments
  • scope (str) – The role assignment scope.

  • role_definition_id (str) – The role definition ID.

  • principal_id (str) – The principal ID.

  • can_delegate (bool) – The Delegation flag for the role assignment.

class azure.mgmt.authorization.v2018_01_01_preview.models.RoleAssignmentCreateParameters(*, role_definition_id: str, principal_id: str, can_delegate: Optional[bool] = None, **kwargs: Any)[source]

Bases: azure.mgmt.authorization._serialization.Model

Role assignment create parameters.

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

Variables
  • role_definition_id (str) – The role definition ID used in the role assignment. Required.

  • principal_id (str) – The principal ID assigned to the role. This maps to the ID inside the Active Directory. It can point to a user, service principal, or security group. Required.

  • can_delegate (bool) – The delegation flag used for creating a role assignment.

Keyword Arguments
  • role_definition_id (str) – The role definition ID used in the role assignment. Required.

  • principal_id (str) – The principal ID assigned to the role. This maps to the ID inside the Active Directory. It can point to a user, service principal, or security group. Required.

  • can_delegate (bool) – The delegation flag used for creating a role assignment.

class azure.mgmt.authorization.v2018_01_01_preview.models.RoleAssignmentFilter(*, principal_id: Optional[str] = None, can_delegate: Optional[bool] = None, **kwargs: Any)[source]

Bases: azure.mgmt.authorization._serialization.Model

Role Assignments filter.

Variables
  • principal_id (str) – Returns role assignment of the specific principal.

  • can_delegate (bool) – The Delegation flag for the role assignment.

Keyword Arguments
  • principal_id (str) – Returns role assignment of the specific principal.

  • can_delegate (bool) – The Delegation flag for the role assignment.

class azure.mgmt.authorization.v2018_01_01_preview.models.RoleAssignmentListResult(*, value: Optional[List[_models.RoleAssignment]] = None, next_link: Optional[str] = None, **kwargs: Any)[source]

Bases: azure.mgmt.authorization._serialization.Model

Role assignment list operation result.

Variables
  • value (list[RoleAssignment]) – Role assignment list.

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

Keyword Arguments
  • value (list[RoleAssignment]) – Role assignment list.

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

class azure.mgmt.authorization.v2018_01_01_preview.models.RoleDefinition(*, role_name: Optional[str] = None, description: Optional[str] = None, role_type: Optional[str] = None, permissions: Optional[List[_models.Permission]] = None, assignable_scopes: Optional[List[str]] = None, **kwargs: Any)[source]

Bases: azure.mgmt.authorization._serialization.Model

Role definition.

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

Variables
  • id (str) – The role definition ID.

  • name (str) – The role definition name.

  • type (str) – The role definition type.

  • role_name (str) – The role name.

  • description (str) – The role definition description.

  • role_type (str) – The role type.

  • permissions (list[Permission]) – Role definition permissions.

  • assignable_scopes (list[str]) – Role definition assignable scopes.

Keyword Arguments
  • role_name (str) – The role name.

  • description (str) – The role definition description.

  • role_type (str) – The role type.

  • permissions (list[Permission]) – Role definition permissions.

  • assignable_scopes (list[str]) – Role definition assignable scopes.

class azure.mgmt.authorization.v2018_01_01_preview.models.RoleDefinitionFilter(*, role_name: Optional[str] = None, type: Optional[str] = None, **kwargs: Any)[source]

Bases: azure.mgmt.authorization._serialization.Model

Role Definitions filter.

Variables
  • role_name (str) – Returns role definition with the specific name.

  • type (str) – Returns role definition with the specific type.

Keyword Arguments
  • role_name (str) – Returns role definition with the specific name.

  • type (str) – Returns role definition with the specific type.

class azure.mgmt.authorization.v2018_01_01_preview.models.RoleDefinitionListResult(*, value: Optional[List[_models.RoleDefinition]] = None, next_link: Optional[str] = None, **kwargs: Any)[source]

Bases: azure.mgmt.authorization._serialization.Model

Role definition list operation result.

Variables
  • value (list[RoleDefinition]) – Role definition list.

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

Keyword Arguments
  • value (list[RoleDefinition]) – Role definition list.

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