ApplicationSecurityGroupsOperations Class
Warning
DO NOT instantiate this class directly.
Instead, you should access the following operations through
<xref:application_security_groups> attribute.
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
|
The name of the resource group. The name is case insensitive. Required. |
|
application_security_group_name
Required
|
The name of the application security group. Required. |
|
parameters
Required
|
Parameters supplied to the create or update ApplicationSecurityGroup operation. Is one of the following types: ApplicationSecurityGroup, JSON, IO[bytes] Required. |
Returns
| Type | Description |
|---|---|
|
An instance of LROPoller that returns ApplicationSecurityGroup. The ApplicationSecurityGroup is compatible with MutableMapping |
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
|
The name of the resource group. The name is case insensitive. Required. |
|
application_security_group_name
Required
|
The name of the application security group. Required. |
Returns
| Type | Description |
|---|---|
|
An instance of LROPoller that returns None |
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
|
The name of the resource group. The name is case insensitive. Required. |
|
application_security_group_name
Required
|
The name of the application security group. Required. |
Returns
| Type | Description |
|---|---|
|
ApplicationSecurityGroup. The ApplicationSecurityGroup is compatible with MutableMapping |
Exceptions
| Type | Description |
|---|---|
list
Gets all the application security groups in a resource group.
list(resource_group_name: str, **kwargs: Any) -> ItemPaged[ApplicationSecurityGroup]
Parameters
| Name | Description |
|---|---|
|
resource_group_name
Required
|
The name of the resource group. The name is case insensitive. Required. |
Returns
| Type | Description |
|---|---|
|
An iterator like instance of ApplicationSecurityGroup |
Exceptions
| Type | Description |
|---|---|
list_all
Gets all application security groups in a subscription.
list_all(**kwargs: Any) -> ItemPaged[ApplicationSecurityGroup]
Returns
| Type | Description |
|---|---|
|
An iterator like instance of ApplicationSecurityGroup |
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
|
The name of the resource group. The name is case insensitive. Required. |
|
application_security_group_name
Required
|
The name of the application security group. Required. |
|
parameters
Required
|
Parameters supplied to update application security group tags. Is one of the following types: TagsObject, JSON, IO[bytes] Required. |
Returns
| Type | Description |
|---|---|
|
ApplicationSecurityGroup. The ApplicationSecurityGroup is compatible with MutableMapping |
Exceptions
| Type | Description |
|---|---|