WorkspaceManagerConfigurationsOperations Class

Warning

DO NOT instantiate this class directly.

Instead, you should access the following operations through

SecurityInsightsMgmtClient's

<xref:workspace_manager_configurations> attribute.

Constructor

WorkspaceManagerConfigurationsOperations(*args, **kwargs)

Methods

create_or_update

Creates or updates a workspace manager configuration.

delete

Deletes a workspace manager configuration.

get

Gets a workspace manager configuration.

list

Gets all workspace manager configurations for a Sentinel workspace.

create_or_update

Creates or updates a workspace manager configuration.

create_or_update(resource_group_name: str, workspace_name: str, workspace_manager_configuration_name: str, workspace_manager_configuration: _models.WorkspaceManagerConfiguration, *, content_type: str = 'application/json', **kwargs: Any) -> _models.WorkspaceManagerConfiguration

Parameters

Name Description
resource_group_name
Required
str

The name of the resource group. The name is case insensitive. Required.

workspace_name
Required
str

The name of the workspace. Required.

workspace_manager_configuration_name
Required
str

The name of the workspace manager configuration. Required.

workspace_manager_configuration
Required

The workspace manager configuration. Is one of the following types: WorkspaceManagerConfiguration, JSON, IO[bytes] Required.

Returns

Type Description

WorkspaceManagerConfiguration. The WorkspaceManagerConfiguration is compatible with MutableMapping

Exceptions

Type Description

delete

Deletes a workspace manager configuration.

delete(resource_group_name: str, workspace_name: str, workspace_manager_configuration_name: str, **kwargs: Any) -> None

Parameters

Name Description
resource_group_name
Required
str

The name of the resource group. The name is case insensitive. Required.

workspace_name
Required
str

The name of the workspace. Required.

workspace_manager_configuration_name
Required
str

The name of the workspace manager configuration. Required.

Returns

Type Description

None

Exceptions

Type Description

get

Gets a workspace manager configuration.

get(resource_group_name: str, workspace_name: str, workspace_manager_configuration_name: str, **kwargs: Any) -> WorkspaceManagerConfiguration

Parameters

Name Description
resource_group_name
Required
str

The name of the resource group. The name is case insensitive. Required.

workspace_name
Required
str

The name of the workspace. Required.

workspace_manager_configuration_name
Required
str

The name of the workspace manager configuration. Required.

Returns

Type Description

WorkspaceManagerConfiguration. The WorkspaceManagerConfiguration is compatible with MutableMapping

Exceptions

Type Description

list

Gets all workspace manager configurations for a Sentinel workspace.

list(resource_group_name: str, workspace_name: str, *, orderby: str | None = None, top: int | None = None, skip_token: str | None = None, **kwargs: Any) -> ItemPaged[WorkspaceManagerConfiguration]

Parameters

Name Description
resource_group_name
Required
str

The name of the resource group. The name is case insensitive. Required.

workspace_name
Required
str

The name of the workspace. Required.

Keyword-Only Parameters

Name Description
orderby
str

Sorts the results. Optional. Default value is None.

Default value: None
top
int

Returns only the first n results. Optional. Default value is None.

Default value: None
skip_token
str

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 WorkspaceManagerConfiguration

Exceptions

Type Description