azure.mgmt.authorization.operations module¶
Bases:
object
ClassicAdministratorsOperations operations.
Parameters: - client – Client for service requests.
- config – Configuration of service client.
- serializer – An object model serializer.
- deserializer – An objec model deserializer.
Gets a list of classic administrators for the subscription.
Parameters: - api_version (str) –
- custom_headers (dict) – headers that will be added to the request
- raw (bool) – returns the direct response alongside the deserialized response
- operation_config – Operation configuration overrides.
Return type:
Bases:
object
PermissionsOperations operations.
Parameters: - client – Client for service requests.
- config – Configuration of service client.
- serializer – An object model serializer.
- deserializer – An objec model deserializer.
Gets a resource permissions.
Parameters: - resource_group_name (str) – The name of the resource group. The name is case insensitive.
- resource_provider_namespace (str) – Resource
- parent_resource_path (str) – Resource
- resource_type (str) – Resource
- resource_name (str) – Resource
- custom_headers (dict) – headers that will be added to the request
- raw (bool) – returns the direct response alongside the deserialized response
- operation_config – Operation configuration overrides.
Return type:
Gets a resource group permissions.
Parameters: - resource_group_name (str) – Name of the resource group to get the permissions for.The name is case insensitive.
- custom_headers (dict) – headers that will be added to the request
- raw (bool) – returns the direct response alongside the deserialized response
- operation_config – Operation configuration overrides.
Return type:
Bases:
object
ProviderOperationsMetadataOperations operations.
Parameters: - client – Client for service requests.
- config – Configuration of service client.
- serializer – An object model serializer.
- deserializer – An objec model deserializer.
Gets provider operations metadata
Parameters: - resource_provider_namespace (str) – Namespace of the resource provider.
- api_version (str) –
- expand (str) –
- custom_headers (dict) – headers that will be added to the request
- raw (bool) – returns the direct response alongside the deserialized response
- operation_config – Operation configuration overrides.
Return type: Return type: ClientRawResponse
if raw=true
Gets provider operations metadata list
Parameters: - api_version (str) –
- expand (str) –
- custom_headers (dict) – headers that will be added to the request
- raw (bool) – returns the direct response alongside the deserialized response
- operation_config – Operation configuration overrides.
Return type:
Bases:
object
RoleAssignmentsOperations operations.
Parameters: - client – Client for service requests.
- config – Configuration of service client.
- serializer – An object model serializer.
- deserializer – An objec model deserializer.
Create role assignment.
Parameters: - scope (str) – Scope.
- role_assignment_name (str) – Role assignment name.
- properties (
RoleAssignmentProperties
) – Gets or sets role assignment properties. - custom_headers (dict) – headers that will be added to the request
- raw (bool) – returns the direct response alongside the deserialized response
- operation_config – Operation configuration overrides.
Return type: Return type: ClientRawResponse
if raw=true
Create role assignment by Id.
Parameters: - role_assignment_id (str) – Role assignment Id
- properties (
RoleAssignmentProperties
) – Gets or sets role assignment properties. - custom_headers (dict) – headers that will be added to the request
- raw (bool) – returns the direct response alongside the deserialized response
- operation_config – Operation configuration overrides.
Return type: Return type: ClientRawResponse
if raw=true
Delete role assignment.
Parameters: - scope (str) – Scope.
- role_assignment_name (str) – Role assignment name.
- custom_headers (dict) – headers that will be added to the request
- raw (bool) – returns the direct response alongside the deserialized response
- operation_config – Operation configuration overrides.
Return type: Return type: ClientRawResponse
if raw=true
Delete role assignment.
Parameters: - role_assignment_id (str) – Role assignment Id
- custom_headers (dict) – headers that will be added to the request
- raw (bool) – returns the direct response alongside the deserialized response
- operation_config – Operation configuration overrides.
Return type: Return type: ClientRawResponse
if raw=true
Get single role assignment.
Parameters: - scope (str) – Scope.
- role_assignment_name (str) – Role assignment name.
- custom_headers (dict) – headers that will be added to the request
- raw (bool) – returns the direct response alongside the deserialized response
- operation_config – Operation configuration overrides.
Return type: Return type: ClientRawResponse
if raw=true
Get single role assignment.
Parameters: - role_assignment_id (str) – Role assignment Id
- custom_headers (dict) – headers that will be added to the request
- raw (bool) – returns the direct response alongside the deserialized response
- operation_config – Operation configuration overrides.
Return type: Return type: ClientRawResponse
if raw=true
Gets role assignments of the subscription.
Parameters: - filter (str) – The filter to apply on the operation.
- custom_headers (dict) – headers that will be added to the request
- raw (bool) – returns the direct response alongside the deserialized response
- operation_config – Operation configuration overrides.
Return type:
Gets role assignments of the resource.
Parameters: - resource_group_name (str) – The name of the resource group.
- resource_provider_namespace (str) – Resource identity.
- parent_resource_path (str) – Resource identity.
- resource_type (str) – Resource identity.
- resource_name (str) – Resource identity.
- filter (str) – The filter to apply on the operation.
- custom_headers (dict) – headers that will be added to the request
- raw (bool) – returns the direct response alongside the deserialized response
- operation_config – Operation configuration overrides.
Return type:
Gets role assignments of the resource group.
Parameters: - resource_group_name (str) – Resource group name.
- filter (str) – The filter to apply on the operation.
- custom_headers (dict) – headers that will be added to the request
- raw (bool) – returns the direct response alongside the deserialized response
- operation_config – Operation configuration overrides.
Return type:
Gets role assignments of the scope.
Parameters: - scope (str) – Scope.
- filter (str) – The filter to apply on the operation.
- custom_headers (dict) – headers that will be added to the request
- raw (bool) – returns the direct response alongside the deserialized response
- operation_config – Operation configuration overrides.
Return type:
Bases:
object
RoleDefinitionsOperations operations.
Parameters: - client – Client for service requests.
- config – Configuration of service client.
- serializer – An object model serializer.
- deserializer – An objec model deserializer.
Creates or updates a role definition.
Parameters: - scope (str) – Scope
- role_definition_id (str) – Role definition id.
- role_definition (
RoleDefinition
) – Role definition. - custom_headers (dict) – headers that will be added to the request
- raw (bool) – returns the direct response alongside the deserialized response
- operation_config – Operation configuration overrides.
Return type: Return type: ClientRawResponse
if raw=true
Deletes the role definition.
Parameters: - scope (str) – Scope
- role_definition_id (str) – Role definition id.
- custom_headers (dict) – headers that will be added to the request
- raw (bool) – returns the direct response alongside the deserialized response
- operation_config – Operation configuration overrides.
Return type: Return type: ClientRawResponse
if raw=true
Get role definition by name (GUID).
Parameters: - scope (str) – Scope
- role_definition_id (str) – Role definition Id
- custom_headers (dict) – headers that will be added to the request
- raw (bool) – returns the direct response alongside the deserialized response
- operation_config – Operation configuration overrides.
Return type: Return type: ClientRawResponse
if raw=true
Get role definition by name (GUID).
Parameters: - role_definition_id (str) – Fully qualified role definition Id
- custom_headers (dict) – headers that will be added to the request
- raw (bool) – returns the direct response alongside the deserialized response
- operation_config – Operation configuration overrides.
Return type: Return type: ClientRawResponse
if raw=true
Get all role definitions that are applicable at scope and above. Use atScopeAndBelow filter to search below the given scope as well
Parameters: - scope (str) – Scope
- filter (str) – The filter to apply on the operation.
- custom_headers (dict) – headers that will be added to the request
- raw (bool) – returns the direct response alongside the deserialized response
- operation_config – Operation configuration overrides.
Return type: