IpGroupsOperations Class

Warning

DO NOT instantiate this class directly.

Instead, you should access the following operations through

NetworkManagementClient's

<xref:ip_groups> attribute.

Constructor

IpGroupsOperations(*args, **kwargs)

Methods

begin_create_or_update

Creates or updates an ipGroups in a specified resource group.

begin_delete

Deletes the specified ipGroups.

get

Gets the specified ipGroups.

list

Gets all IpGroups in a subscription.

list_by_resource_group

Gets all IpGroups in a resource group.

update_groups

Updates tags of an IpGroups resource.

begin_create_or_update

Creates or updates an ipGroups in a specified resource group.

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

Parameters

Name Description
resource_group_name
Required
str

The name of the resource group. The name is case insensitive. Required.

ip_groups_name
Required
str

The name of the ipGroups. Required.

parameters
Required
IpGroup or <xref:JSON> or IO[bytes]

Parameters supplied to the create or update IpGroups operation. Is one of the following types: IpGroup, JSON, IO[bytes] Required.

Returns

Type Description

An instance of LROPoller that returns IpGroup. The IpGroup is compatible with MutableMapping

Exceptions

Type Description

begin_delete

Deletes the specified ipGroups.

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

Parameters

Name Description
resource_group_name
Required
str

The name of the resource group. The name is case insensitive. Required.

ip_groups_name
Required
str

The name of the ipGroups. Required.

Returns

Type Description

An instance of LROPoller that returns None

Exceptions

Type Description

get

Gets the specified ipGroups.

get(resource_group_name: str, ip_groups_name: str, *, expand: str | None = None, **kwargs: Any) -> IpGroup

Parameters

Name Description
resource_group_name
Required
str

The name of the resource group. The name is case insensitive. Required.

ip_groups_name
Required
str

The name of the ipGroups. Required.

Keyword-Only Parameters

Name Description
expand
str

Expands resourceIds (of Firewalls/Network Security Groups etc.) back referenced by the IpGroups resource. Default value is None.

Default value: None

Returns

Type Description

IpGroup. The IpGroup is compatible with MutableMapping

Exceptions

Type Description

list

Gets all IpGroups in a subscription.

list(**kwargs: Any) -> ItemPaged[IpGroup]

Returns

Type Description

An iterator like instance of IpGroup

Exceptions

Type Description

list_by_resource_group

Gets all IpGroups in a resource group.

list_by_resource_group(resource_group_name: str, **kwargs: Any) -> ItemPaged[IpGroup]

Parameters

Name Description
resource_group_name
Required
str

The name of the resource group. The name is case insensitive. Required.

Returns

Type Description

An iterator like instance of IpGroup

Exceptions

Type Description

update_groups

Updates tags of an IpGroups resource.

update_groups(resource_group_name: str, ip_groups_name: str, parameters: _models.TagsObject, *, content_type: str = 'application/json', **kwargs: Any) -> _models.IpGroup

Parameters

Name Description
resource_group_name
Required
str

The name of the resource group. The name is case insensitive. Required.

ip_groups_name
Required
str

The name of the ipGroups. Required.

parameters
Required
TagsObject or <xref:JSON> or IO[bytes]

Parameters supplied to the update ipGroups operation. Is one of the following types: TagsObject, JSON, IO[bytes] Required.

Returns

Type Description

IpGroup. The IpGroup is compatible with MutableMapping

Exceptions

Type Description