FirewallPolicyKubeSelectorGroupsOperations Class

Warning

DO NOT instantiate this class directly.

Instead, you should access the following operations through

NetworkManagementClient's

<xref:firewall_policy_kube_selector_groups> attribute.

Constructor

FirewallPolicyKubeSelectorGroupsOperations(*args, **kwargs)

Methods

begin_create_or_update

Creates or updates the specified FirewallPolicyKubeSelectorGroup.

begin_delete

Deletes the specified FirewallPolicyKubeSelectorGroup.

get

Gets the specified FirewallPolicyKubeSelectorGroup.

list

Lists all FirewallPolicyKubeSelectorGroups in a FirewallPolicy resource.

begin_create_or_update

Creates or updates the specified FirewallPolicyKubeSelectorGroup.

begin_create_or_update(resource_group_name: str, firewall_policy_name: str, kube_selector_group_name: str, resource: _models.FirewallPolicyKubeSelectorGroup, *, content_type: str = 'application/json', **kwargs: Any) -> LROPoller[_models.FirewallPolicyKubeSelectorGroup]

Parameters

Name Description
resource_group_name
Required
str

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

firewall_policy_name
Required
str

The name of the Firewall Policy. Required.

kube_selector_group_name
Required
str

The name of the resource that is unique within a resource group. This name can be used to access the resource. Required.

resource
Required

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

Returns

Type Description

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

Exceptions

Type Description

begin_delete

Deletes the specified FirewallPolicyKubeSelectorGroup.

begin_delete(resource_group_name: str, firewall_policy_name: str, kube_selector_group_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.

firewall_policy_name
Required
str

The name of the Firewall Policy. Required.

kube_selector_group_name
Required
str

The name of the resource that is unique within a resource group. This name can be used to access the resource. Required.

Returns

Type Description

An instance of LROPoller that returns None

Exceptions

Type Description

get

Gets the specified FirewallPolicyKubeSelectorGroup.

get(resource_group_name: str, firewall_policy_name: str, kube_selector_group_name: str, **kwargs: Any) -> FirewallPolicyKubeSelectorGroup

Parameters

Name Description
resource_group_name
Required
str

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

firewall_policy_name
Required
str

The name of the Firewall Policy. Required.

kube_selector_group_name
Required
str

The name of the resource that is unique within a resource group. This name can be used to access the resource. Required.

Returns

Type Description

FirewallPolicyKubeSelectorGroup. The FirewallPolicyKubeSelectorGroup is compatible with MutableMapping

Exceptions

Type Description

list

Lists all FirewallPolicyKubeSelectorGroups in a FirewallPolicy resource.

list(resource_group_name: str, firewall_policy_name: str, **kwargs: Any) -> ItemPaged[FirewallPolicyKubeSelectorGroup]

Parameters

Name Description
resource_group_name
Required
str

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

firewall_policy_name
Required
str

The name of the Firewall Policy. Required.

Returns

Type Description

An iterator like instance of FirewallPolicyKubeSelectorGroup

Exceptions

Type Description