ApplicationSecurityGroupsOperations Class

Warning

DO NOT instantiate this class directly.

Instead, you should access the following operations through

NetworkManagementClient's

<xref:application_security_groups> attribute.

Inheritance
builtins.object
ApplicationSecurityGroupsOperations

Constructor

ApplicationSecurityGroupsOperations(*args, **kwargs)

Methods

begin_create_or_update

Creates or updates an application security group.

begin_delete

Deletes the specified application security group.

get

Gets information about the specified application security group.

list

Gets all the application security groups in a resource group.

list_all

Gets all application security groups in a subscription.

update_tags

Updates an application security group's tags.

begin_create_or_update

Creates or updates an application security group.

begin_create_or_update(resource_group_name: str, application_security_group_name: str, parameters: _models.ApplicationSecurityGroup, *, content_type: str = 'application/json', **kwargs: Any) -> LROPoller[_models.ApplicationSecurityGroup]

Parameters

Name Description
resource_group_name
Required
str

The name of the resource group. Required.

application_security_group_name
Required
str

The name of the application security group. Required.

parameters
Required

Parameters supplied to the create or update ApplicationSecurityGroup operation. Is either a ApplicationSecurityGroup type or a IO[bytes] type. Required.

Returns

Type Description

An instance of LROPoller that returns either ApplicationSecurityGroup or the result of cls(response)

Exceptions

Type Description

begin_delete

Deletes the specified application security group.

begin_delete(resource_group_name: str, application_security_group_name: str, **kwargs: Any) -> LROPoller[None]

Parameters

Name Description
resource_group_name
Required
str

The name of the resource group. Required.

application_security_group_name
Required
str

The name of the application security group. Required.

Returns

Type Description

An instance of LROPoller that returns either None or the result of cls(response)

Exceptions

Type Description

get

Gets information about the specified application security group.

get(resource_group_name: str, application_security_group_name: str, **kwargs: Any) -> ApplicationSecurityGroup

Parameters

Name Description
resource_group_name
Required
str

The name of the resource group. Required.

application_security_group_name
Required
str

The name of the application security group. Required.

Returns

Type Description

ApplicationSecurityGroup or the result of cls(response)

Exceptions

Type Description

list

Gets all the application security groups in a resource group.

list(resource_group_name: str, **kwargs: Any) -> Iterable[ApplicationSecurityGroup]

Parameters

Name Description
resource_group_name
Required
str

The name of the resource group. Required.

Returns

Type Description

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

Exceptions

Type Description

list_all

Gets all application security groups in a subscription.

list_all(**kwargs: Any) -> Iterable[ApplicationSecurityGroup]

Returns

Type Description

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

Exceptions

Type Description

update_tags

Updates an application security group's tags.

update_tags(resource_group_name: str, application_security_group_name: str, parameters: _models.TagsObject, *, content_type: str = 'application/json', **kwargs: Any) -> _models.ApplicationSecurityGroup

Parameters

Name Description
resource_group_name
Required
str

The name of the resource group. Required.

application_security_group_name
Required
str

The name of the application security group. Required.

parameters
Required

Parameters supplied to update application security group tags. Is either a TagsObject type or a IO[bytes] type. Required.

Returns

Type Description

ApplicationSecurityGroup or the result of cls(response)

Exceptions

Type Description

Attributes

models

models = <module 'azure.mgmt.network.models' from 'C:\\hostedtoolcache\\windows\\Python\\3.11.9\\x64\\Lib\\site-packages\\azure\\mgmt\\network\\models\\__init__.py'>