WorkspaceSettingsOperations Class

WorkspaceSettingsOperations async 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.

Inheritance
builtins.object
WorkspaceSettingsOperations

Constructor

WorkspaceSettingsOperations(client, config, serializer, deserializer)

Parameters

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

models

Alias to model classes used in this operation group.

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.

async create(workspace_setting_name: str, workspace_setting: azure.mgmt.security.models._models_py3.WorkspaceSetting, **kwargs) -> azure.mgmt.security.models._models_py3.WorkspaceSetting

Parameters

workspace_setting_name
str
Required

Name of the security setting.

workspace_setting
WorkspaceSetting
Required

Security data setting object.

cls
callable

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

Returns

WorkspaceSetting, or the result of cls(response)

Return type

Exceptions

delete

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

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

Parameters

workspace_setting_name
str
Required

Name of the security setting.

cls
callable

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

Returns

None, or the result of cls(response)

Return type

Exceptions

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.

async get(workspace_setting_name: str, **kwargs) -> azure.mgmt.security.models._models_py3.WorkspaceSetting

Parameters

workspace_setting_name
str
Required

Name of the security setting.

cls
callable

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

Returns

WorkspaceSetting, or the result of cls(response)

Return type

Exceptions

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) -> AsyncIterable[azure.mgmt.security.models._models_py3.WorkspaceSettingList]

Parameters

cls
callable

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

Returns

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

Return type

Exceptions

update

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

async update(workspace_setting_name: str, workspace_setting: azure.mgmt.security.models._models_py3.WorkspaceSetting, **kwargs) -> azure.mgmt.security.models._models_py3.WorkspaceSetting

Parameters

workspace_setting_name
str
Required

Name of the security setting.

workspace_setting
WorkspaceSetting
Required

Security data setting object.

cls
callable

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

Returns

WorkspaceSetting, or the result of cls(response)

Return type

Exceptions

Attributes

models

models = <module 'azure.mgmt.security.models' from 'C:\\hostedtoolcache\\windows\\Python\\3.9.13\\x64\\lib\\site-packages\\azure\\mgmt\\security\\models\\__init__.py'>