azure.mgmt.managementpartner.operations module¶
-
class
azure.mgmt.managementpartner.operations.PartnerOperations(client, config, serializer, deserializer)[source]¶ Bases:
objectPartnerOperations 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_config – Operation configuration overrides.
Returns: PartnerResponse or ClientRawResponse if raw=true
Return type: PartnerResponse or ClientRawResponse
Raises:
-
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_config – Operation configuration overrides.
Returns: None or ClientRawResponse if raw=true
Return type: None or ClientRawResponse
Raises:
-
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_config – Operation configuration overrides.
Returns: PartnerResponse or ClientRawResponse if raw=true
Return type: PartnerResponse or ClientRawResponse
Raises:
-
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_config – Operation configuration overrides.
Returns: PartnerResponse or ClientRawResponse if raw=true
Return type: PartnerResponse or ClientRawResponse
Raises:
-
models= <module 'azure.mgmt.managementpartner.models' from '/usr/lib/python3/dist-packages/azure/mgmt/managementpartner/models/__init__.py'>¶
-
class
azure.mgmt.managementpartner.operations.OperationOperations(client, config, serializer, deserializer)[source]¶ Bases:
objectOperationOperations 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_config – Operation configuration overrides.
Returns: An iterator like instance of OperationResponse
Return type: Raises:
-
models= <module 'azure.mgmt.managementpartner.models' from '/usr/lib/python3/dist-packages/azure/mgmt/managementpartner/models/__init__.py'>¶
-
class
azure.mgmt.managementpartner.operations.PartnersOperations(client, config, serializer, deserializer)[source]¶ Bases:
objectPartnersOperations 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_config – Operation configuration overrides.
Returns: PartnerResponse or ClientRawResponse if raw=true
Return type: PartnerResponse or ClientRawResponse
Raises:
-
models= <module 'azure.mgmt.managementpartner.models' from '/usr/lib/python3/dist-packages/azure/mgmt/managementpartner/models/__init__.py'>¶