WorkspaceSettingsOperations Class

Warning

DO NOT instantiate this class directly.

Instead, you should access the following operations through

SecurityCenter's

<xref:workspace_settings> attribute.

Constructor

WorkspaceSettingsOperations(*args, **kwargs)

Methods

create

creating settings about where we should store your security data and logs.

delete

Deletes the custom workspace settings for this subscription. new VMs will report to the default workspace.

get

Settings about where we should store your security data and logs. If the result is empty, it means that no custom-workspace configuration was set.

list

Settings about where we should store your security data and logs. If the result is empty, it means that no custom-workspace configuration was set.

update

Settings about where we should store your security data and logs.

create

creating settings about where we should store your security data and logs.

create(workspace_setting_name: str, workspace_setting: _models.WorkspaceSetting, *, content_type: str = 'application/json', **kwargs: Any) -> _models.WorkspaceSetting

Parameters

Name Description
workspace_setting_name
Required
str

Name of the security setting. Required.

workspace_setting
Required

Security data setting object. Is either a WorkspaceSetting type or a IO[bytes] type. Required.

Returns

Type Description

WorkspaceSetting or the result of cls(response)

Exceptions

Type Description

delete

Deletes the custom workspace settings for this subscription. new VMs will report to the default workspace.

delete(workspace_setting_name: str, **kwargs: Any) -> None

Parameters

Name Description
workspace_setting_name
Required
str

Name of the security setting. Required.

Returns

Type Description

None or the result of cls(response)

Exceptions

Type Description

get

Settings about where we should store your security data and logs. If the result is empty, it means that no custom-workspace configuration was set.

get(workspace_setting_name: str, **kwargs: Any) -> WorkspaceSetting

Parameters

Name Description
workspace_setting_name
Required
str

Name of the security setting. Required.

Returns

Type Description

WorkspaceSetting or the result of cls(response)

Exceptions

Type Description

list

Settings about where we should store your security data and logs. If the result is empty, it means that no custom-workspace configuration was set.

list(**kwargs: Any) -> Iterable[WorkspaceSetting]

Returns

Type Description

An iterator like instance of either WorkspaceSetting or the result of cls(response)

Exceptions

Type Description

update

Settings about where we should store your security data and logs.

update(workspace_setting_name: str, workspace_setting: _models.WorkspaceSetting, *, content_type: str = 'application/json', **kwargs: Any) -> _models.WorkspaceSetting

Parameters

Name Description
workspace_setting_name
Required
str

Name of the security setting. Required.

workspace_setting
Required

Security data setting object. Is either a WorkspaceSetting type or a IO[bytes] type. Required.

Returns

Type Description

WorkspaceSetting or the result of cls(response)

Exceptions

Type Description

Attributes

models

models = <module 'azure.mgmt.security.v2017_08_01_preview.models' from 'C:\\ToolCache\\Python\\3.12.10\\x64\\Lib\\site-packages\\py2docfx\\venv\\venv218\\Lib\\site-packages\\azure\\mgmt\\security\\v2017_08_01_preview\\models\\__init__.py'>