ConnectorsOperations Class

ConnectorsOperations 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
ConnectorsOperations

Constructor

ConnectorsOperations(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_or_update

Create a cloud account connector or update an existing one. Connect to your cloud account. For AWS, use either account credentials or role-based authentication. For GCP, use account organization credentials.

delete

Delete a cloud account connector from a subscription.

get

Details of a specific cloud account connector.

list

Cloud accounts connectors of a subscription.

create_or_update

Create a cloud account connector or update an existing one. Connect to your cloud account. For AWS, use either account credentials or role-based authentication. For GCP, use account organization credentials.

async create_or_update(connector_name: str, connector_setting: azure.mgmt.security.models._models_py3.ConnectorSetting, **kwargs) -> azure.mgmt.security.models._models_py3.ConnectorSetting

Parameters

connector_name
str
Required

Name of the cloud account connector.

connector_setting
ConnectorSetting
Required

Settings for the cloud account connector.

cls
callable

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

Returns

ConnectorSetting, or the result of cls(response)

Return type

Exceptions

delete

Delete a cloud account connector from a subscription.

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

Parameters

connector_name
str
Required

Name of the cloud account connector.

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

Details of a specific cloud account connector.

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

Parameters

connector_name
str
Required

Name of the cloud account connector.

cls
callable

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

Returns

ConnectorSetting, or the result of cls(response)

Return type

Exceptions

list

Cloud accounts connectors of a subscription.

list(**kwargs) -> AsyncIterable[azure.mgmt.security.models._models_py3.ConnectorSettingList]

Parameters

cls
callable

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

Returns

An iterator like instance of either ConnectorSettingList 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'>