azure.mgmt.managementpartner.operations module

class azure.mgmt.managementpartner.operations.OperationOperations(*args, **kwargs)[source]

Bases: object

Warning

DO NOT instantiate this class directly.

Instead, you should access the following operations through ACEProvisioningManagementPartnerAPI’s operation attribute.

list(**kwargs: Any)Iterable[azure.mgmt.managementpartner.models._models_py3.OperationResponse][source]

Get operations.

List all the operations.

Keyword Arguments

cls (callable) – A custom type or function that will be passed the direct response

Returns

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

Return type

ItemPaged[OperationResponse]

Raises

HttpResponseError

models = <module 'azure.mgmt.managementpartner.models' from '/mnt/vss/_work/1/s/sdk/managementpartner/azure-mgmt-managementpartner/.tox/sphinx/lib/python3.9/site-packages/azure/mgmt/managementpartner/models/__init__.py'>
class azure.mgmt.managementpartner.operations.PartnerOperations(*args, **kwargs)[source]

Bases: object

Warning

DO NOT instantiate this class directly.

Instead, you should access the following operations through ACEProvisioningManagementPartnerAPI’s partner attribute.

create(partner_id: str, **kwargs: Any)azure.mgmt.managementpartner.models._models_py3.PartnerResponse[source]

Create a specific Partner.

Create a management partner for the objectId and tenantId.

Parameters

partner_id (str) – Id of the Partner. Required.

Keyword Arguments

cls (callable) – A custom type or function that will be passed the direct response

Returns

PartnerResponse or the result of cls(response)

Return type

PartnerResponse

Raises

HttpResponseError

delete(partner_id: str, **kwargs: Any)None[source]

Delete a specific Partner.

Delete the management partner for the objectId and tenantId.

Parameters

partner_id (str) – Id of the Partner. Required.

Keyword Arguments

cls (callable) – A custom type or function that will be passed the direct response

Returns

None or the result of cls(response)

Return type

None

Raises

HttpResponseError

get(partner_id: str, **kwargs: Any)azure.mgmt.managementpartner.models._models_py3.PartnerResponse[source]

Get a specific Partner.

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

Parameters

partner_id (str) – Id of the Partner. Required.

Keyword Arguments

cls (callable) – A custom type or function that will be passed the direct response

Returns

PartnerResponse or the result of cls(response)

Return type

PartnerResponse

Raises

HttpResponseError

update(partner_id: str, **kwargs: Any)azure.mgmt.managementpartner.models._models_py3.PartnerResponse[source]

Update a specific Partner.

Update the management partner for the objectId and tenantId.

Parameters

partner_id (str) – Id of the Partner. Required.

Keyword Arguments

cls (callable) – A custom type or function that will be passed the direct response

Returns

PartnerResponse or the result of cls(response)

Return type

PartnerResponse

Raises

HttpResponseError

models = <module 'azure.mgmt.managementpartner.models' from '/mnt/vss/_work/1/s/sdk/managementpartner/azure-mgmt-managementpartner/.tox/sphinx/lib/python3.9/site-packages/azure/mgmt/managementpartner/models/__init__.py'>
class azure.mgmt.managementpartner.operations.PartnersOperations(*args, **kwargs)[source]

Bases: object

Warning

DO NOT instantiate this class directly.

Instead, you should access the following operations through ACEProvisioningManagementPartnerAPI’s partners attribute.

get(**kwargs: Any)azure.mgmt.managementpartner.models._models_py3.PartnerResponse[source]

Get a specific Partner.

Get the management partner using the objectId and tenantId.

Keyword Arguments

cls (callable) – A custom type or function that will be passed the direct response

Returns

PartnerResponse or the result of cls(response)

Return type

PartnerResponse

Raises

HttpResponseError

models = <module 'azure.mgmt.managementpartner.models' from '/mnt/vss/_work/1/s/sdk/managementpartner/azure-mgmt-managementpartner/.tox/sphinx/lib/python3.9/site-packages/azure/mgmt/managementpartner/models/__init__.py'>