WorkspaceManagerAssignmentsOperations Class
Warning
DO NOT instantiate this class directly.
Instead, you should access the following operations through
<xref:workspace_manager_assignments> attribute.
Constructor
WorkspaceManagerAssignmentsOperations(*args, **kwargs)
Methods
| create_or_update |
Creates or updates a workspace manager assignment. |
| delete |
Deletes a workspace manager assignment. |
| get |
Gets a workspace manager assignment. |
| list |
Get all workspace manager assignments for the Sentinel workspace manager. |
create_or_update
Creates or updates a workspace manager assignment.
create_or_update(resource_group_name: str, workspace_name: str, workspace_manager_assignment_name: str, workspace_manager_assignment: _models.WorkspaceManagerAssignment, *, content_type: str = 'application/json', **kwargs: Any) -> _models.WorkspaceManagerAssignment
Parameters
| Name | Description |
|---|---|
|
resource_group_name
Required
|
The name of the resource group. The name is case insensitive. Required. |
|
workspace_name
Required
|
The name of the workspace. Required. |
|
workspace_manager_assignment_name
Required
|
The name of the workspace manager assignment. Required. |
|
workspace_manager_assignment
Required
|
The workspace manager assignment. Is one of the following types: WorkspaceManagerAssignment, JSON, IO[bytes] Required. |
Returns
| Type | Description |
|---|---|
|
WorkspaceManagerAssignment. The WorkspaceManagerAssignment is compatible with MutableMapping |
Exceptions
| Type | Description |
|---|---|
delete
Deletes a workspace manager assignment.
delete(resource_group_name: str, workspace_name: str, workspace_manager_assignment_name: str, **kwargs: Any) -> None
Parameters
| Name | Description |
|---|---|
|
resource_group_name
Required
|
The name of the resource group. The name is case insensitive. Required. |
|
workspace_name
Required
|
The name of the workspace. Required. |
|
workspace_manager_assignment_name
Required
|
The name of the workspace manager assignment. Required. |
Returns
| Type | Description |
|---|---|
|
None |
Exceptions
| Type | Description |
|---|---|
get
Gets a workspace manager assignment.
get(resource_group_name: str, workspace_name: str, workspace_manager_assignment_name: str, **kwargs: Any) -> WorkspaceManagerAssignment
Parameters
| Name | Description |
|---|---|
|
resource_group_name
Required
|
The name of the resource group. The name is case insensitive. Required. |
|
workspace_name
Required
|
The name of the workspace. Required. |
|
workspace_manager_assignment_name
Required
|
The name of the workspace manager assignment. Required. |
Returns
| Type | Description |
|---|---|
|
WorkspaceManagerAssignment. The WorkspaceManagerAssignment is compatible with MutableMapping |
Exceptions
| Type | Description |
|---|---|
list
Get all workspace manager assignments for the Sentinel workspace manager.
list(resource_group_name: str, workspace_name: str, *, orderby: str | None = None, top: int | None = None, skip_token: str | None = None, **kwargs: Any) -> ItemPaged[WorkspaceManagerAssignment]
Parameters
| Name | Description |
|---|---|
|
resource_group_name
Required
|
The name of the resource group. The name is case insensitive. Required. |
|
workspace_name
Required
|
The name of the workspace. Required. |
Keyword-Only Parameters
| Name | Description |
|---|---|
|
orderby
|
Sorts the results. Optional. Default value is None. Default value: None
|
|
top
|
Returns only the first n results. Optional. Default value is None. Default value: None
|
|
skip_token
|
Skiptoken is only used if a previous operation returned a partial result. If a previous response contains a nextLink element, the value of the nextLink element will include a skiptoken parameter that specifies a starting point to use for subsequent calls. Optional. Default value is None. Default value: None
|
Returns
| Type | Description |
|---|---|
|
An iterator like instance of WorkspaceManagerAssignment |
Exceptions
| Type | Description |
|---|---|