MarketplaceAgreements interface
Interface representing a MarketplaceAgreements.
Methods
cancel(string, string, string, Marketplace |
Cancel marketplace terms. |
create(string, string, string, string, Agreement |
Save marketplace terms. |
get(string, string, string, string, Marketplace |
Get marketplace terms. |
get |
Get marketplace agreement. |
list(Marketplace |
List marketplace agreements in the subscription. |
sign(string, string, string, Marketplace |
Sign marketplace terms. |
Method Details
cancel(string, string, string, MarketplaceAgreementsCancelOptionalParams)
Cancel marketplace terms.
function cancel(publisherId: string, offerId: string, planId: string, options?: MarketplaceAgreementsCancelOptionalParams): Promise<AgreementTerms>
Parameters
- publisherId
-
string
Publisher identifier string of image being deployed.
- offerId
-
string
Offer identifier string of image being deployed.
- planId
-
string
Plan identifier string of image being deployed.
The options parameters.
Returns
Promise<AgreementTerms>
create(string, string, string, string, AgreementTerms, MarketplaceAgreementsCreateOptionalParams)
Save marketplace terms.
function create(offerType: string, publisherId: string, offerId: string, planId: string, parameters: AgreementTerms, options?: MarketplaceAgreementsCreateOptionalParams): Promise<AgreementTerms>
Parameters
- offerType
-
string
Offer Type, currently only virtualmachine type is supported.
- publisherId
-
string
Publisher identifier string of image being deployed.
- offerId
-
string
Offer identifier string of image being deployed.
- planId
-
string
Plan identifier string of image being deployed.
- parameters
- AgreementTerms
Parameters supplied to the Create Marketplace Terms operation.
The options parameters.
Returns
Promise<AgreementTerms>
get(string, string, string, string, MarketplaceAgreementsGetOptionalParams)
Get marketplace terms.
function get(offerType: string, publisherId: string, offerId: string, planId: string, options?: MarketplaceAgreementsGetOptionalParams): Promise<AgreementTerms>
Parameters
- offerType
-
string
Offer Type, currently only virtualmachine type is supported.
- publisherId
-
string
Publisher identifier string of image being deployed.
- offerId
-
string
Offer identifier string of image being deployed.
- planId
-
string
Plan identifier string of image being deployed.
The options parameters.
Returns
Promise<AgreementTerms>
getAgreement(string, string, string, MarketplaceAgreementsGetAgreementOptionalParams)
Get marketplace agreement.
function getAgreement(publisherId: string, offerId: string, planId: string, options?: MarketplaceAgreementsGetAgreementOptionalParams): Promise<AgreementTerms>
Parameters
- publisherId
-
string
Publisher identifier string of image being deployed.
- offerId
-
string
Offer identifier string of image being deployed.
- planId
-
string
Plan identifier string of image being deployed.
The options parameters.
Returns
Promise<AgreementTerms>
list(MarketplaceAgreementsListOptionalParams)
List marketplace agreements in the subscription.
function list(options?: MarketplaceAgreementsListOptionalParams): Promise<MarketplaceAgreementsListResponse>
Parameters
The options parameters.
Returns
Promise<MarketplaceAgreementsListResponse>
sign(string, string, string, MarketplaceAgreementsSignOptionalParams)
Sign marketplace terms.
function sign(publisherId: string, offerId: string, planId: string, options?: MarketplaceAgreementsSignOptionalParams): Promise<AgreementTerms>
Parameters
- publisherId
-
string
Publisher identifier string of image being deployed.
- offerId
-
string
Offer identifier string of image being deployed.
- planId
-
string
Plan identifier string of image being deployed.
The options parameters.
Returns
Promise<AgreementTerms>