MarketplaceAgreements interface

Interface representing a MarketplaceAgreements.

Methods

cancel(string, string, string, MarketplaceAgreementsCancelOptionalParams)

Cancel marketplace terms.

create(string, string, string, string, AgreementTerms, MarketplaceAgreementsCreateOptionalParams)

Save marketplace terms.

get(string, string, string, string, MarketplaceAgreementsGetOptionalParams)

Get marketplace terms.

getAgreement(string, string, string, MarketplaceAgreementsGetAgreementOptionalParams)

Get marketplace agreement.

list(MarketplaceAgreementsListOptionalParams)

List marketplace agreements in the subscription.

sign(string, string, string, MarketplaceAgreementsSignOptionalParams)

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.

options
MarketplaceAgreementsCancelOptionalParams

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.

options
MarketplaceAgreementsCreateOptionalParams

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.

options
MarketplaceAgreementsGetOptionalParams

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.

options
MarketplaceAgreementsGetAgreementOptionalParams

The options parameters.

Returns

Promise<AgreementTerms>

list(MarketplaceAgreementsListOptionalParams)

List marketplace agreements in the subscription.

function list(options?: MarketplaceAgreementsListOptionalParams): Promise<MarketplaceAgreementsListResponse>

Parameters

options
MarketplaceAgreementsListOptionalParams

The options parameters.

Returns

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.

options
MarketplaceAgreementsSignOptionalParams

The options parameters.

Returns

Promise<AgreementTerms>