MarketplaceAgreementsOperations Class
MarketplaceAgreementsOperations async 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.objectMarketplaceAgreementsOperations
Constructor
MarketplaceAgreementsOperations(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
| cancel |
Cancel marketplace terms. |
| create |
Save marketplace terms. |
| get |
Get marketplace terms. |
| get_agreement |
Get marketplace agreement. |
| list |
List marketplace agreements in the subscription. |
| sign |
Sign marketplace terms. |
cancel
Cancel marketplace terms.
async cancel(publisher_id: str, offer_id: str, plan_id: str, **kwargs) -> azure.mgmt.marketplaceordering.models._models_py3.AgreementTerms
Parameters
- cls
- callable
A custom type or function that will be passed the direct response
Returns
AgreementTerms, or the result of cls(response)
Return type
Exceptions
create
Save marketplace terms.
async create(offer_type: Union[str, azure.mgmt.marketplaceordering.models._marketplace_ordering_agreements_enums.OfferType], publisher_id: str, offer_id: str, plan_id: str, parameters: azure.mgmt.marketplaceordering.models._models_py3.AgreementTerms, **kwargs) -> azure.mgmt.marketplaceordering.models._models_py3.AgreementTerms
Parameters
- cls
- callable
A custom type or function that will be passed the direct response
Returns
AgreementTerms, or the result of cls(response)
Return type
Exceptions
get
Get marketplace terms.
async get(offer_type: Union[str, azure.mgmt.marketplaceordering.models._marketplace_ordering_agreements_enums.OfferType], publisher_id: str, offer_id: str, plan_id: str, **kwargs) -> azure.mgmt.marketplaceordering.models._models_py3.AgreementTerms
Parameters
- cls
- callable
A custom type or function that will be passed the direct response
Returns
AgreementTerms, or the result of cls(response)
Return type
Exceptions
get_agreement
Get marketplace agreement.
async get_agreement(publisher_id: str, offer_id: str, plan_id: str, **kwargs) -> azure.mgmt.marketplaceordering.models._models_py3.AgreementTerms
Parameters
- cls
- callable
A custom type or function that will be passed the direct response
Returns
AgreementTerms, or the result of cls(response)
Return type
Exceptions
list
List marketplace agreements in the subscription.
async list(**kwargs) -> List[azure.mgmt.marketplaceordering.models._models_py3.AgreementTerms]
Parameters
- 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
Exceptions
sign
Sign marketplace terms.
async sign(publisher_id: str, offer_id: str, plan_id: str, **kwargs) -> azure.mgmt.marketplaceordering.models._models_py3.AgreementTerms
Parameters
- cls
- callable
A custom type or function that will be passed the direct response
Returns
AgreementTerms, or the result of cls(response)
Return type
Exceptions
Attributes
models
models = <module 'azure.mgmt.marketplaceordering.models' from 'C:\\hostedtoolcache\\windows\\Python\\3.9.13\\x64\\lib\\site-packages\\azure\\mgmt\\marketplaceordering\\models\\__init__.py'>
Feedback
Submit and view feedback for