azure.mgmt.marketplaceordering.models module

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

Bases: azure.mgmt.marketplaceordering.models._models_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.

  • system_data (SystemData) – The system meta data relating to this resource.

  • 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.

  • marketplace_terms_link (str) – Link to HTML with Azure Marketplace terms.

  • 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.

Keyword Arguments
  • 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.

  • marketplace_terms_link (str) – Link to HTML with Azure Marketplace terms.

  • 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.CreatedByType(value)[source]

Bases: str, enum.Enum

The type of identity that created the resource.

APPLICATION = 'Application'
KEY = 'Key'
MANAGED_IDENTITY = 'ManagedIdentity'
USER = 'User'
class azure.mgmt.marketplaceordering.models.ErrorResponse(*, error: Optional[_models.ErrorResponseError] = None, **kwargs)[source]

Bases: azure.mgmt.marketplaceordering._serialization.Model

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

Variables

error (ErrorResponseError) – The details of the error.

Keyword Arguments

error (ErrorResponseError) – The details of the error.

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

Bases: azure.mgmt.marketplaceordering._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.OfferType(value)[source]

Bases: str, enum.Enum

OfferType.

VIRTUALMACHINE = 'virtualmachine'
class azure.mgmt.marketplaceordering.models.Operation(*, name: Optional[str] = None, display: Optional[_models.OperationDisplay] = None, **kwargs)[source]

Bases: azure.mgmt.marketplaceordering._serialization.Model

Microsoft.MarketplaceOrdering REST API operation.

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

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

Keyword Arguments
  • name (str) – Operation name: {provider}/{resource}/{operation}.

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

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

Bases: azure.mgmt.marketplaceordering._serialization.Model

The object that represents the operation.

Variables
  • 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.

  • description (str) – Operation description.

Keyword Arguments
  • 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.

  • description (str) – Operation description.

class azure.mgmt.marketplaceordering.models.OperationListResult(*, value: Optional[List[_models.Operation]] = None, **kwargs)[source]

Bases: azure.mgmt.marketplaceordering._serialization.Model

Result of the request to list MarketplaceOrdering operations. It contains a list of operations and a URL link to get the next set of results.

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

Variables
  • value (list[Operation]) – List of Microsoft.MarketplaceOrdering operations supported by the Microsoft.MarketplaceOrdering resource provider.

  • next_link (str) – URL to get the next set of operation list results if there are any.

Keyword Arguments

value (list[Operation]) – List of Microsoft.MarketplaceOrdering operations supported by the Microsoft.MarketplaceOrdering resource provider.

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

Bases: azure.mgmt.marketplaceordering._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.SystemData(*, created_by: Optional[str] = None, created_by_type: Optional[Union[str, _models.CreatedByType]] = None, created_at: Optional[datetime.datetime] = None, last_modified_by: Optional[str] = None, last_modified_by_type: Optional[Union[str, _models.CreatedByType]] = None, last_modified_at: Optional[datetime.datetime] = None, **kwargs)[source]

Bases: azure.mgmt.marketplaceordering._serialization.Model

Metadata pertaining to creation and last modification of the resource.

Variables
  • created_by (str) – The identity that created the resource.

  • created_by_type (str or CreatedByType) – The type of identity that created the resource. Known values are: “User”, “Application”, “ManagedIdentity”, and “Key”.

  • created_at (datetime) – The timestamp of resource creation (UTC).

  • last_modified_by (str) – The identity that last modified the resource.

  • last_modified_by_type (str or CreatedByType) – The type of identity that last modified the resource. Known values are: “User”, “Application”, “ManagedIdentity”, and “Key”.

  • last_modified_at (datetime) – The timestamp of resource last modification (UTC).

Keyword Arguments
  • created_by (str) – The identity that created the resource.

  • created_by_type (str or CreatedByType) – The type of identity that created the resource. Known values are: “User”, “Application”, “ManagedIdentity”, and “Key”.

  • created_at (datetime) – The timestamp of resource creation (UTC).

  • last_modified_by (str) – The identity that last modified the resource.

  • last_modified_by_type (str or CreatedByType) – The type of identity that last modified the resource. Known values are: “User”, “Application”, “ManagedIdentity”, and “Key”.

  • last_modified_at (datetime) – The timestamp of resource last modification (UTC).