PartnerOperations Class
PartnerOperations 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.objectPartnerOperations
Constructor
PartnerOperations(client, config, serializer, deserializer)
Parameters
- client
Client for service requests.
- config
Configuration of service client.
- serializer
An object model serializer.
- deserializer
An object model deserializer.
Variables
- models
Alias to model classes used in this operation group.
Methods
| create |
Create a specific Create a management partner for the objectId and tenantId. |
| delete |
Delete a specific Delete the management partner for the objectId and tenantId. |
| get |
Get a specific Get the management partner using the partnerId, objectId and tenantId. |
| update |
Update a specific Update the management partner for the objectId and tenantId. |
create
Create a specific Partner.
Create a management partner for the objectId and tenantId.
create(partner_id: str, **kwargs: Any) -> _models.PartnerResponse
Parameters
- 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.
delete(partner_id: str, **kwargs: Any) -> None
Parameters
- 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.
get(partner_id: str, **kwargs: Any) -> _models.PartnerResponse
Parameters
- 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.
update(partner_id: str, **kwargs: Any) -> _models.PartnerResponse
Parameters
- 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'>
Feedback
Submit and view feedback for