azure.mgmt.marketplaceordering.models module

exception azure.mgmt.marketplaceordering.models.ErrorResponseException(deserialize, response, *args)[source]

Bases: msrest.exceptions.HttpOperationError

Server responsed with exception of type: ‘ErrorResponse’.

Parameters
  • deserialize – A deserializer

  • response – Server response to be deserialized.

class azure.mgmt.marketplaceordering.models.AgreementTerms(*, publisher: str = None, product: str = None, plan: str = None, license_text_link: str = None, privacy_policy_link: str = None, retrieve_datetime: str = None, signature: str = None, accepted: bool = None, **kwargs)[source]

Bases: azure.mgmt.marketplaceordering.models.resource_py3.Resource

Terms properties for provided Publisher/Offer/Plan tuple.

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

Variables
  • id (str) – Resource ID.

  • name (str) – Resource name.

  • type (str) – Resource type.

Parameters
  • publisher (str) – Publisher identifier string of image being deployed.

  • product (str) – Offer identifier string of image being deployed.

  • plan (str) – Plan identifier string of image being deployed.

  • license_text_link (str) – Link to HTML with Microsoft and Publisher terms.

  • privacy_policy_link (str) – Link to the privacy policy of the publisher.

  • retrieve_datetime (str) – Date and time in UTC of when the terms were accepted. This is empty if Accepted is false.

  • signature (str) – Terms signature.

  • accepted (bool) – If any version of the terms have been accepted, otherwise false.

class azure.mgmt.marketplaceordering.models.ErrorResponseError(**kwargs)[source]

Bases: msrest.serialization.Model

The details of the error.

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

Variables
  • code (str) – Error code.

  • message (str) – Error message indicating why the operation failed.

class azure.mgmt.marketplaceordering.models.ErrorResponse(*, error=None, **kwargs)[source]

Bases: msrest.serialization.Model

Error response indicates Microsoft.MarketplaceOrdering service is not able to process the incoming request. The reason is provided in the error message.

Parameters

error (ErrorResponseError) – The details of the error.

class azure.mgmt.marketplaceordering.models.OperationDisplay(*, provider: str = None, resource: str = None, operation: str = None, **kwargs)[source]

Bases: msrest.serialization.Model

The object that represents the operation.

Parameters
  • provider (str) – Service provider: Microsoft.MarketplaceOrdering

  • resource (str) – Resource on which the operation is performed: Agreement, virtualmachine, etc.

  • operation (str) – Operation type: Get Agreement, Sign Agreement, Cancel Agreement etc.

class azure.mgmt.marketplaceordering.models.Operation(*, name: str = None, display=None, **kwargs)[source]

Bases: msrest.serialization.Model

Microsoft.MarketplaceOrdering REST API operation.

Parameters
  • name (str) – Operation name: {provider}/{resource}/{operation}

  • display (OperationDisplay) – The object that represents the operation.

class azure.mgmt.marketplaceordering.models.Resource(**kwargs)[source]

Bases: msrest.serialization.Model

ARM resource.

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

Variables
  • id (str) – Resource ID.

  • name (str) – Resource name.

  • type (str) – Resource type.

class azure.mgmt.marketplaceordering.models.OperationPaged(*args, **kwargs)[source]

Bases: msrest.paging.Paged

A paging container for iterating over a list of Operation object

Bring async to Paging.

“async_command” is mandatory keyword argument for this mixin to work.