azure.mgmt.managementpartner.models module

class azure.mgmt.managementpartner.models.Error(*, error: Optional[_models.ExtendedErrorInfo] = None, code: Optional[str] = None, message: Optional[str] = None, **kwargs)[source]

Bases: azure.mgmt.managementpartner._serialization.Model

this is the management partner operations error.

Variables
  • error (ExtendedErrorInfo) – this is the ExtendedErrorInfo property.

  • code (str) – this is the error response code.

  • message (str) – this is the extended error info message.

Keyword Arguments
  • error (ExtendedErrorInfo) – this is the ExtendedErrorInfo property.

  • code (str) – this is the error response code.

  • message (str) – this is the extended error info message.

class azure.mgmt.managementpartner.models.ExtendedErrorInfo(*, code: Optional[str] = None, message: Optional[str] = None, **kwargs)[source]

Bases: azure.mgmt.managementpartner._serialization.Model

this is the extended error info.

Variables
  • code (str) – this is the error response code.

  • message (str) – this is the extended error info message.

Keyword Arguments
  • code (str) – this is the error response code.

  • message (str) – this is the extended error info message.

class azure.mgmt.managementpartner.models.ManagementPartnerState(value)[source]

Bases: str, enum.Enum

this is the management partner state: Active or Deleted.

ACTIVE = 'Active'
DELETED = 'Deleted'
class azure.mgmt.managementpartner.models.OperationDisplay(*, provider: Optional[str] = None, resource: Optional[str] = None, operation: Optional[str] = None, description: Optional[str] = None, **kwargs)[source]

Bases: azure.mgmt.managementpartner._serialization.Model

this is the management partner operation.

Variables
  • provider (str) – the is management partner provider.

  • resource (str) – the is management partner resource.

  • operation (str) – the is management partner operation.

  • description (str) – the is management partner operation description.

Keyword Arguments
  • provider (str) – the is management partner provider.

  • resource (str) – the is management partner resource.

  • operation (str) – the is management partner operation.

  • description (str) – the is management partner operation description.

class azure.mgmt.managementpartner.models.OperationList(*, value: Optional[List[_models.OperationResponse]] = None, next_link: Optional[str] = None, **kwargs)[source]

Bases: azure.mgmt.managementpartner._serialization.Model

this is the management partner operations list.

Variables
  • value (list[OperationResponse]) – this is the operation response list.

  • next_link (str) – Url to get the next page of items.

Keyword Arguments
  • value (list[OperationResponse]) – this is the operation response list.

  • next_link (str) – Url to get the next page of items.

class azure.mgmt.managementpartner.models.OperationResponse(*, name: Optional[str] = None, display: Optional[_models.OperationDisplay] = None, origin: Optional[str] = None, **kwargs)[source]

Bases: azure.mgmt.managementpartner._serialization.Model

this is the management partner operations response.

Variables
  • name (str) – this is the operation response name.

  • display (OperationDisplay) – this is the operation display.

  • origin (str) – the is operation response origin information.

Keyword Arguments
  • name (str) – this is the operation response name.

  • display (OperationDisplay) – this is the operation display.

  • origin (str) – the is operation response origin information.

class azure.mgmt.managementpartner.models.PartnerResponse(*, etag: Optional[int] = None, partner_id: Optional[str] = None, partner_name: Optional[str] = None, tenant_id: Optional[str] = None, object_id: Optional[str] = None, version: Optional[int] = None, updated_time: Optional[datetime.datetime] = None, created_time: Optional[datetime.datetime] = None, state: Optional[Union[str, _models.ManagementPartnerState]] = None, **kwargs)[source]

Bases: azure.mgmt.managementpartner._serialization.Model

this is the management partner operations response.

Variables are only populated by the server, and will be ignored when sending a request.

Variables
  • etag (int) – Type of the partner.

  • id (str) – Identifier of the partner.

  • name (str) – Name of the partner.

  • type (str) – Type of resource. “Microsoft.ManagementPartner/partners”.

  • partner_id (str) – This is the partner id.

  • partner_name (str) – This is the partner name.

  • tenant_id (str) – This is the tenant id.

  • object_id (str) – This is the object id.

  • version (int) – This is the version.

  • updated_time (datetime) – This is the DateTime when the partner was updated.

  • created_time (datetime) – This is the DateTime when the partner was created.

  • state (str or ManagementPartnerState) – This is the partner state. Known values are: “Active” and “Deleted”.

Keyword Arguments
  • etag (int) – Type of the partner.

  • partner_id (str) – This is the partner id.

  • partner_name (str) – This is the partner name.

  • tenant_id (str) – This is the tenant id.

  • object_id (str) – This is the object id.

  • version (int) – This is the version.

  • updated_time (datetime) – This is the DateTime when the partner was updated.

  • created_time (datetime) – This is the DateTime when the partner was created.

  • state (str or ManagementPartnerState) – This is the partner state. Known values are: “Active” and “Deleted”.