PartnerOperations Class

PartnerOperations async operations.

You should not instantiate this class directly. Instead, you should create a Client instance that instantiates it for you and attaches it as an attribute.

Inheritance
builtins.object
PartnerOperations

Constructor

PartnerOperations(client, config, serializer, deserializer)

Parameters

client
Required

Client for service requests.

config
Required

Configuration of service client.

serializer
Required

An object model serializer.

deserializer
Required

An object model deserializer.

Variables

models

Alias to model classes used in this operation group.

Methods

create

Create a specific Partner.

Create a management partner for the objectId and tenantId.

delete

Delete a specific Partner.

Delete the management partner for the objectId and tenantId.

get

Get a specific Partner.

Get the management partner using the partnerId, objectId and tenantId.

update

Update a specific Partner.

Update the management partner for the objectId and tenantId.

create

Create a specific Partner.

Create a management partner for the objectId and tenantId.

async create(partner_id: str, **kwargs: Any) -> azure.mgmt.managementpartner.models._models_py3.PartnerResponse

Parameters

partner_id
str
Required

Id of the Partner.

cls
callable

A custom type or function that will be passed the direct response

Returns

PartnerResponse, or the result of cls(response)

Return type

Exceptions

delete

Delete a specific Partner.

Delete the management partner for the objectId and tenantId.

async delete(partner_id: str, **kwargs: Any) -> None

Parameters

partner_id
str
Required

Id of the Partner.

cls
callable

A custom type or function that will be passed the direct response

Returns

None, or the result of cls(response)

Return type

Exceptions

get

Get a specific Partner.

Get the management partner using the partnerId, objectId and tenantId.

async get(partner_id: str, **kwargs: Any) -> azure.mgmt.managementpartner.models._models_py3.PartnerResponse

Parameters

partner_id
str
Required

Id of the Partner.

cls
callable

A custom type or function that will be passed the direct response

Returns

PartnerResponse, or the result of cls(response)

Return type

Exceptions

update

Update a specific Partner.

Update the management partner for the objectId and tenantId.

async update(partner_id: str, **kwargs: Any) -> azure.mgmt.managementpartner.models._models_py3.PartnerResponse

Parameters

partner_id
str
Required

Id of the Partner.

cls
callable

A custom type or function that will be passed the direct response

Returns

PartnerResponse, or the result of cls(response)

Return type

Exceptions

Attributes

models

models = <module 'azure.mgmt.managementpartner.models' from 'C:\\hostedtoolcache\\windows\\Python\\3.9.13\\x64\\lib\\site-packages\\azure\\mgmt\\managementpartner\\models\\__init__.py'>