AllowedConnectionsOperations Class

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

Constructor

AllowedConnectionsOperations(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

get

Gets the list of all possible traffic between resources for the subscription and location, based on connection type.

list

Gets the list of all possible traffic between resources for the subscription.

list_by_home_region

Gets the list of all possible traffic between resources for the subscription and location.

get

Gets the list of all possible traffic between resources for the subscription and location, based on connection type.

async get(resource_group_name: str, connection_type: Union[str, azure.mgmt.security.models._security_center_enums.ConnectionType], **kwargs) -> azure.mgmt.security.models._models_py3.AllowedConnectionsResource

Parameters

resource_group_name
str
Required

The name of the resource group within the user's subscription. The name is case insensitive.

connection_type
str or ConnectionType
Required

The type of allowed connections (Internal, External).

cls
callable

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

Returns

AllowedConnectionsResource, or the result of cls(response)

Return type

Exceptions

list

Gets the list of all possible traffic between resources for the subscription.

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

Parameters

cls
callable

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

Returns

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

Return type

Exceptions

list_by_home_region

Gets the list of all possible traffic between resources for the subscription and location.

list_by_home_region(**kwargs) -> AsyncIterable[azure.mgmt.security.models._models_py3.AllowedConnectionsList]

Parameters

cls
callable

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

Returns

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