WorkspaceAclOperations Class

WorkspaceAclOperations async operations.

You should not instantiate directly this class, but create a Client instance that will create it for you and attach it as attribute.

Inheritance
builtins.object
WorkspaceAclOperations

Constructor

WorkspaceAclOperations(client, config, serializer, deserializer)

Parameters

Name Description
client
Required

Client for service requests.

config
Required

Configuration of service client.

serializer
Required

An object model serializer.

deserializer
Required

An object model deserializer.

Variables

Name Description
models

Alias to model classes used in this operation group.

Methods

get_access_control_info

Get access control info.

set_workspace_administrators

Replace Admins of the Workspace.

get_access_control_info

Get access control info.

async get_access_control_info(workspace_name: str, artifact_name: str | None = None, **kwargs) -> WorkspaceAccessControlResponse

Parameters

Name Description
workspace_name
Required
str

The name of the workspace to execute operations on.

artifact_name
str
default value: None

Keyword-Only Parameters

Name Description
cls

A custom type or function that will be passed the direct response

Returns

Type Description

WorkspaceAccessControlResponse or the result of cls(response)

Exceptions

Type Description

set_workspace_administrators

Replace Admins of the Workspace.

async set_workspace_administrators(workspace_name: str, administrators: List[str] | None = None, **kwargs) -> WorkspaceAccessControlResponse

Parameters

Name Description
workspace_name
Required
str

The name of the workspace to execute operations on.

administrators
default value: None

Keyword-Only Parameters

Name Description
cls

A custom type or function that will be passed the direct response

Returns

Type Description

WorkspaceAccessControlResponse or the result of cls(response)

Exceptions

Type Description

Attributes

models

models = <module 'azure.synapse.models' from 'C:\\hostedtoolcache\\windows\\Python\\3.11.9\\x64\\Lib\\site-packages\\azure\\synapse\\models\\__init__.py'>