azure.mgmt.marketplaceordering.operations module¶
-
class
azure.mgmt.marketplaceordering.operations.
MarketplaceAgreementsOperations
(*args, **kwargs)[source]¶ Bases:
object
Warning
DO NOT instantiate this class directly.
Instead, you should access the following operations through
MarketplaceOrderingAgreements
’smarketplace_agreements
attribute.-
cancel
(publisher_id: str, offer_id: str, plan_id: str, **kwargs: Any) → azure.mgmt.marketplaceordering.models._models_py3.AgreementTerms[source]¶ Cancel marketplace terms.
- Parameters
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
- Returns
AgreementTerms or the result of cls(response)
- Return type
- Raises
-
create
(offer_type: Union[str, _models.OfferType], publisher_id: str, offer_id: str, plan_id: str, parameters: _models.AgreementTerms, *, content_type: str = "'application/json'", **kwargs: Any) → _models.AgreementTerms[source]¶ -
create
(offer_type: Union[str, _models.OfferType], publisher_id: str, offer_id: str, plan_id: str, parameters: IO, *, content_type: str = "'application/json'", **kwargs: Any) → _models.AgreementTerms Save marketplace terms.
- Parameters
offer_type (str or OfferType) – Offer Type, currently only virtualmachine type is supported. “virtualmachine” Required.
publisher_id (str) – Publisher identifier string of image being deployed. Required.
offer_id (str) – Offer identifier string of image being deployed. Required.
plan_id (str) – Plan identifier string of image being deployed. Required.
parameters (AgreementTerms or IO) – Parameters supplied to the Create Marketplace Terms operation. Is either a model type or a IO type. Required.
- Keyword Arguments
- Returns
AgreementTerms or the result of cls(response)
- Return type
- Raises
-
get
(offer_type: Union[str, azure.mgmt.marketplaceordering.models._marketplace_ordering_agreements_enums.OfferType], publisher_id: str, offer_id: str, plan_id: str, **kwargs: Any) → azure.mgmt.marketplaceordering.models._models_py3.AgreementTerms[source]¶ Get marketplace terms.
- Parameters
offer_type (str or OfferType) – Offer Type, currently only virtualmachine type is supported. “virtualmachine” Required.
publisher_id (str) – Publisher identifier string of image being deployed. Required.
offer_id (str) – Offer identifier string of image being deployed. Required.
plan_id (str) – Plan identifier string of image being deployed. Required.
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
- Returns
AgreementTerms or the result of cls(response)
- Return type
- Raises
-
get_agreement
(publisher_id: str, offer_id: str, plan_id: str, **kwargs: Any) → azure.mgmt.marketplaceordering.models._models_py3.AgreementTerms[source]¶ Get marketplace agreement.
- Parameters
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
- Returns
AgreementTerms or the result of cls(response)
- Return type
- Raises
-
list
(**kwargs: Any) → List[azure.mgmt.marketplaceordering.models._models_py3.AgreementTerms][source]¶ List marketplace agreements in the subscription.
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
- Returns
list of AgreementTerms or the result of cls(response)
- Return type
- Raises
-
sign
(publisher_id: str, offer_id: str, plan_id: str, **kwargs: Any) → azure.mgmt.marketplaceordering.models._models_py3.AgreementTerms[source]¶ Sign marketplace terms.
- Parameters
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
- Returns
AgreementTerms or the result of cls(response)
- Return type
- Raises
-
models
= <module 'azure.mgmt.marketplaceordering.models' from '/mnt/vss/_work/1/s/sdk/marketplaceordering/azure-mgmt-marketplaceordering/.tox/sphinx/lib/python3.9/site-packages/azure/mgmt/marketplaceordering/models/__init__.py'>¶
-
-
class
azure.mgmt.marketplaceordering.operations.
Operations
(*args, **kwargs)[source]¶ Bases:
object
Warning
DO NOT instantiate this class directly.
Instead, you should access the following operations through
MarketplaceOrderingAgreements
’soperations
attribute.-
list
(**kwargs: Any) → Iterable[azure.mgmt.marketplaceordering.models._models_py3.Operation][source]¶ Lists all of the available Microsoft.MarketplaceOrdering REST API operations.
- Keyword Arguments
cls (callable) – A custom type or function that will be passed the direct response
- Returns
An iterator like instance of either Operation or the result of cls(response)
- Return type
- Raises
-
models
= <module 'azure.mgmt.marketplaceordering.models' from '/mnt/vss/_work/1/s/sdk/marketplaceordering/azure-mgmt-marketplaceordering/.tox/sphinx/lib/python3.9/site-packages/azure/mgmt/marketplaceordering/models/__init__.py'>¶
-