azure.mgmt.managementpartner.operations module

class azure.mgmt.managementpartner.operations.PartnerOperations(client, config, serializer, deserializer)[source]

Bases: object

PartnerOperations operations.

Parameters
  • client – Client for service requests.

  • config – Configuration of service client.

  • serializer – An object model serializer.

  • deserializer – An object model deserializer.

Variables

api_version – Supported version. Constant value: “2018-02-01”.

create(partner_id, custom_headers=None, raw=False, **operation_config)[source]

Create a specific Partner.

Create a management partner for the objectId and tenantId.

Parameters
  • partner_id (str) – Id of the Partner

  • custom_headers (dict) – headers that will be added to the request

  • raw (bool) – returns the direct response alongside the deserialized response

  • operation_configOperation configuration overrides.

Returns

PartnerResponse or ClientRawResponse if raw=true

Return type

PartnerResponse or ClientRawResponse

Raises

ErrorException

delete(partner_id, custom_headers=None, raw=False, **operation_config)[source]

Delete a specific Partner.

Delete the management partner for the objectId and tenantId.

Parameters
  • partner_id (str) – Id of the Partner

  • custom_headers (dict) – headers that will be added to the request

  • raw (bool) – returns the direct response alongside the deserialized response

  • operation_configOperation configuration overrides.

Returns

None or ClientRawResponse if raw=true

Return type

None or ClientRawResponse

Raises

ErrorException

get(partner_id, custom_headers=None, raw=False, **operation_config)[source]

Get a specific Partner.

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

Parameters
  • partner_id (str) – Id of the Partner

  • custom_headers (dict) – headers that will be added to the request

  • raw (bool) – returns the direct response alongside the deserialized response

  • operation_configOperation configuration overrides.

Returns

PartnerResponse or ClientRawResponse if raw=true

Return type

PartnerResponse or ClientRawResponse

Raises

ErrorException

update(partner_id, custom_headers=None, raw=False, **operation_config)[source]

Update a specific Partner.

Update the management partner for the objectId and tenantId.

Parameters
  • partner_id (str) – Id of the Partner

  • custom_headers (dict) – headers that will be added to the request

  • raw (bool) – returns the direct response alongside the deserialized response

  • operation_configOperation configuration overrides.

Returns

PartnerResponse or ClientRawResponse if raw=true

Return type

PartnerResponse or ClientRawResponse

Raises

ErrorException

models = <module 'azure.mgmt.managementpartner.models' from '/home/vsts/work/1/s/sdk/managementpartner/azure-mgmt-managementpartner/.tox/sphinx/lib/python3.6/site-packages/azure/mgmt/managementpartner/models/__init__.py'>
class azure.mgmt.managementpartner.operations.OperationOperations(client, config, serializer, deserializer)[source]

Bases: object

OperationOperations operations.

Parameters
  • client – Client for service requests.

  • config – Configuration of service client.

  • serializer – An object model serializer.

  • deserializer – An object model deserializer.

Variables

api_version – Supported version. Constant value: “2018-02-01”.

list(custom_headers=None, raw=False, **operation_config)[source]

Get operations.

List all the operations.

Parameters
  • custom_headers (dict) – headers that will be added to the request

  • raw (bool) – returns the direct response alongside the deserialized response

  • operation_configOperation configuration overrides.

Returns

An iterator like instance of OperationResponse

Return type

OperationResponsePaged[OperationResponse]

Raises

ErrorException

models = <module 'azure.mgmt.managementpartner.models' from '/home/vsts/work/1/s/sdk/managementpartner/azure-mgmt-managementpartner/.tox/sphinx/lib/python3.6/site-packages/azure/mgmt/managementpartner/models/__init__.py'>
class azure.mgmt.managementpartner.operations.PartnersOperations(client, config, serializer, deserializer)[source]

Bases: object

PartnersOperations operations.

Parameters
  • client – Client for service requests.

  • config – Configuration of service client.

  • serializer – An object model serializer.

  • deserializer – An object model deserializer.

Variables

api_version – Supported version. Constant value: “2018-02-01”.

get(custom_headers=None, raw=False, **operation_config)[source]

Get a specific Partner.

Get the management partner using the objectId and tenantId.

Parameters
  • custom_headers (dict) – headers that will be added to the request

  • raw (bool) – returns the direct response alongside the deserialized response

  • operation_configOperation configuration overrides.

Returns

PartnerResponse or ClientRawResponse if raw=true

Return type

PartnerResponse or ClientRawResponse

Raises

ErrorException

models = <module 'azure.mgmt.managementpartner.models' from '/home/vsts/work/1/s/sdk/managementpartner/azure-mgmt-managementpartner/.tox/sphinx/lib/python3.6/site-packages/azure/mgmt/managementpartner/models/__init__.py'>