azure.mgmt.authorization.models module

class azure.mgmt.authorization.models.RoleAssignmentFilter(principal_id=None)[source]

Bases: msrest.serialization.Model

Role Assignments filter.

Parameters:principal_id (str) – Returns role assignment of the specific principal.
class azure.mgmt.authorization.models.RoleDefinitionFilter(role_name=None)[source]

Bases: msrest.serialization.Model

Role Definitions filter.

Parameters:role_name (str) – Returns role definition with the specific name.
class azure.mgmt.authorization.models.ClassicAdministratorProperties(email_address=None, role=None)[source]

Bases: msrest.serialization.Model

Classic Administrator properties.

Parameters:
  • email_address (str) – The email address of the administrator.
  • role (str) – The role of the administrator.
class azure.mgmt.authorization.models.ClassicAdministrator(id=None, name=None, type=None, properties=None)[source]

Bases: msrest.serialization.Model

Classic Administrators.

Parameters:
  • id (str) – The ID of the administrator.
  • name (str) – The name of the administrator.
  • type (str) – The type of the administrator.
  • properties (ClassicAdministratorProperties) – Properties for the classic administrator.
class azure.mgmt.authorization.models.Permission(actions=None, not_actions=None)[source]

Bases: msrest.serialization.Model

Role definition permissions.

Parameters:
  • actions (list of str) – Allowed actions.
  • not_actions (list of str) – Denied actions.
class azure.mgmt.authorization.models.ProviderOperation(name=None, display_name=None, description=None, origin=None, properties=None)[source]

Bases: msrest.serialization.Model

Operation.

Parameters:
  • name (str) – The operation name.
  • display_name (str) – The operation display name.
  • description (str) – The operation description.
  • origin (str) – The operation origin.
  • properties (object) – The operation properties.
class azure.mgmt.authorization.models.ResourceType(name=None, display_name=None, operations=None)[source]

Bases: msrest.serialization.Model

Resource Type.

Parameters:
  • name (str) – The resource type name.
  • display_name (str) – The resource type display name.
  • operations (list of ProviderOperation) – The resource type operations.
class azure.mgmt.authorization.models.ProviderOperationsMetadata(id=None, name=None, type=None, display_name=None, resource_types=None, operations=None)[source]

Bases: msrest.serialization.Model

Provider Operations metadata.

Parameters:
  • 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 of ResourceType) – The provider resource types
  • operations (list of ProviderOperation) – The provider operations.
class azure.mgmt.authorization.models.RoleAssignmentPropertiesWithScope(scope=None, role_definition_id=None, principal_id=None)[source]

Bases: msrest.serialization.Model

Role assignment properties with scope.

Parameters:
  • scope (str) – The role assignment scope.
  • role_definition_id (str) – The role definition ID.
  • principal_id (str) – The principal ID.
class azure.mgmt.authorization.models.RoleAssignment(id=None, name=None, type=None, properties=None)[source]

Bases: msrest.serialization.Model

Role Assignments.

Parameters:
class azure.mgmt.authorization.models.RoleAssignmentProperties(role_definition_id=None, principal_id=None)[source]

Bases: msrest.serialization.Model

Role assignment properties.

Parameters:
  • role_definition_id (str) – The role definition ID used in the role assignment.
  • 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.
class azure.mgmt.authorization.models.RoleAssignmentCreateParameters(properties=None)[source]

Bases: msrest.serialization.Model

Role assignment create parameters.

Parameters:properties (RoleAssignmentProperties) – Role assignment properties.
class azure.mgmt.authorization.models.RoleDefinitionProperties(role_name=None, description=None, type=None, permissions=None, assignable_scopes=None)[source]

Bases: msrest.serialization.Model

Role definition properties.

Parameters:
  • role_name (str) – The role name.
  • description (str) – The role definition description.
  • type (str) – The role type.
  • permissions (list of Permission) – Role definition permissions.
  • assignable_scopes (list of str) – Role definition assignable scopes.
class azure.mgmt.authorization.models.RoleDefinition(id=None, name=None, type=None, properties=None)[source]

Bases: msrest.serialization.Model

Role definition.

Parameters:
  • id (str) – The role definition ID.
  • name (str) – The role definition name.
  • type (str) – The role definition type.
  • properties (RoleDefinitionProperties) – Role definition properties.
class azure.mgmt.authorization.models.ClassicAdministratorPaged(*args, **kwargs)[source]

Bases: msrest.paging.Paged

A paging container for iterating over a list of ClassicAdministrator object

class azure.mgmt.authorization.models.PermissionPaged(*args, **kwargs)[source]

Bases: msrest.paging.Paged

A paging container for iterating over a list of Permission object

class azure.mgmt.authorization.models.ProviderOperationsMetadataPaged(*args, **kwargs)[source]

Bases: msrest.paging.Paged

A paging container for iterating over a list of ProviderOperationsMetadata object

class azure.mgmt.authorization.models.RoleAssignmentPaged(*args, **kwargs)[source]

Bases: msrest.paging.Paged

A paging container for iterating over a list of RoleAssignment object

class azure.mgmt.authorization.models.RoleDefinitionPaged(*args, **kwargs)[source]

Bases: msrest.paging.Paged

A paging container for iterating over a list of RoleDefinition object