azure.synapse.accesscontrol.operations package¶
-
class
azure.synapse.accesscontrol.operations.
AccessControlOperations
(client, config, serializer, deserializer)[source]¶ AccessControlOperations operations.
You should not instantiate this class directly. Instead, you should create a Client instance that instantiates it for you and attaches it as an attribute.
- Variables
models – Alias to model classes used in this operation group.
- Parameters
client – Client for service requests.
config – Configuration of service client.
serializer – An object model serializer.
deserializer – An object model deserializer.
-
create_role_assignment
(create_role_assignment_options: ‘models.RoleAssignmentOptions’, **kwargs: Any) → ’models.RoleAssignmentDetails’[source]¶ Create role assignment.
- Parameters
create_role_assignment_options (RoleAssignmentOptions) – Details of role id and object id.
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
- Returns
RoleAssignmentDetails, or the result of cls(response)
- Return type
- Raises
~azure.core.exceptions.HttpResponseError
-
delete_role_assignment_by_id
(role_assignment_id: str, **kwargs: Any) → None[source]¶ Delete role assignment by role assignment Id.
-
get_caller_role_assignments
(**kwargs: Any) → List[str][source]¶ List role assignments of the caller.
-
get_role_assignment_by_id
(role_assignment_id: str, **kwargs: Any) → ’models.RoleAssignmentDetails’[source]¶ Get role assignment by role assignment Id.
-
get_role_assignments
(role_id: Optional[str] = None, principal_id: Optional[str] = None, continuation_token_parameter: Optional[str] = None, **kwargs: Any) → List[‘models.RoleAssignmentDetails’][source]¶ List role assignments.
- Parameters
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
- Returns
list of RoleAssignmentDetails, or the result of cls(response)
- Return type
- Raises
~azure.core.exceptions.HttpResponseError
-
get_role_definition_by_id
(role_id: str, **kwargs: Any) → ’models.SynapseRole’[source]¶ Get role by role Id.
-
get_role_definitions
(**kwargs: Any) → Iterable[‘models.RolesListResponse’][source]¶ List roles.
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
- Returns
An iterator like instance of either RolesListResponse or the result of cls(response)
- Return type
- Raises
~azure.core.exceptions.HttpResponseError
-
models
= <module 'azure.synapse.accesscontrol.models' from '/mnt/vss/_work/1/s/sdk/synapse/azure-synapse/.tox/sphinx/lib/python3.6/site-packages/azure/synapse/accesscontrol/models/__init__.py'>¶