Partilhar via


SecurityPartnerProvidersOperations Class

Warning

DO NOT instantiate this class directly.

Instead, you should access the following operations through

NetworkManagementClient's

<xref:security_partner_providers> attribute.

Inheritance
builtins.object
SecurityPartnerProvidersOperations

Constructor

SecurityPartnerProvidersOperations(*args, **kwargs)

Methods

begin_create_or_update

Creates or updates the specified Security Partner Provider.

begin_delete

Deletes the specified Security Partner Provider.

get

Gets the specified Security Partner Provider.

list

Gets all the Security Partner Providers in a subscription.

list_by_resource_group

Lists all Security Partner Providers in a resource group.

update_tags

Updates tags of a Security Partner Provider resource.

begin_create_or_update

Creates or updates the specified Security Partner Provider.

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

Parameters

Name Description
resource_group_name
Required
str

The name of the resource group. Required.

security_partner_provider_name
Required
str

The name of the Security Partner Provider. Required.

parameters
Required

Parameters supplied to the create or update Security Partner Provider operation. Is either a SecurityPartnerProvider type or a IO[bytes] type. Required.

Returns

Type Description

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

Exceptions

Type Description

begin_delete

Deletes the specified Security Partner Provider.

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

Parameters

Name Description
resource_group_name
Required
str

The name of the resource group. Required.

security_partner_provider_name
Required
str

The name of the Security Partner Provider. Required.

Returns

Type Description

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

Exceptions

Type Description

get

Gets the specified Security Partner Provider.

get(resource_group_name: str, security_partner_provider_name: str, **kwargs: Any) -> SecurityPartnerProvider

Parameters

Name Description
resource_group_name
Required
str

The name of the resource group. Required.

security_partner_provider_name
Required
str

The name of the Security Partner Provider. Required.

Returns

Type Description

SecurityPartnerProvider or the result of cls(response)

Exceptions

Type Description

list

Gets all the Security Partner Providers in a subscription.

list(**kwargs: Any) -> Iterable[SecurityPartnerProvider]

Returns

Type Description

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

Exceptions

Type Description

list_by_resource_group

Lists all Security Partner Providers in a resource group.

list_by_resource_group(resource_group_name: str, **kwargs: Any) -> Iterable[SecurityPartnerProvider]

Parameters

Name Description
resource_group_name
Required
str

The name of the resource group. Required.

Returns

Type Description

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

Exceptions

Type Description

update_tags

Updates tags of a Security Partner Provider resource.

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

Parameters

Name Description
resource_group_name
Required
str

The name of the resource group. Required.

security_partner_provider_name
Required
str

The name of the Security Partner Provider. Required.

parameters
Required

Parameters supplied to update Security Partner Provider tags. Is either a TagsObject type or a IO[bytes] type. Required.

Returns

Type Description

SecurityPartnerProvider 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'>