MarketplaceAgreementsClient Interface

public interface MarketplaceAgreementsClient

An instance of this class provides access to all the operations defined in MarketplaceAgreementsClient.

Method Summary

Modifier and Type Method and Description
abstract AgreementTermsInner cancel(String publisherId, String offerId, String planId)

Cancel marketplace terms.

abstract Response<AgreementTermsInner> cancelWithResponse(String publisherId, String offerId, String planId, Context context)

Cancel marketplace terms.

abstract AgreementTermsInner create(OfferType offerType, String publisherId, String offerId, String planId, AgreementTermsInner parameters)

Save marketplace terms.

abstract Response<AgreementTermsInner> createWithResponse(OfferType offerType, String publisherId, String offerId, String planId, AgreementTermsInner parameters, Context context)

Save marketplace terms.

abstract AgreementTermsInner get(OfferType offerType, String publisherId, String offerId, String planId)

Get marketplace terms.

abstract AgreementTermsInner getAgreement(String publisherId, String offerId, String planId)

Get marketplace agreement.

abstract Response<AgreementTermsInner> getAgreementWithResponse(String publisherId, String offerId, String planId, Context context)

Get marketplace agreement.

abstract Response<AgreementTermsInner> getWithResponse(OfferType offerType, String publisherId, String offerId, String planId, Context context)

Get marketplace terms.

abstract List<AgreementTermsInner> list()

List marketplace agreements in the subscription.

abstract Response<List<AgreementTermsInner>> listWithResponse(Context context)

List marketplace agreements in the subscription.

abstract AgreementTermsInner sign(String publisherId, String offerId, String planId)

Sign marketplace terms.

abstract Response<AgreementTermsInner> signWithResponse(String publisherId, String offerId, String planId, Context context)

Sign marketplace terms.

Method Details

cancel

public abstract AgreementTermsInner cancel(String publisherId, String offerId, String planId)

Cancel marketplace terms.

Parameters:

publisherId - Publisher identifier string of image being deployed.
offerId - Offer identifier string of image being deployed.
planId - Plan identifier string of image being deployed.

Returns:

terms properties for provided Publisher/Offer/Plan tuple.

cancelWithResponse

public abstract Response cancelWithResponse(String publisherId, String offerId, String planId, Context context)

Cancel marketplace terms.

Parameters:

publisherId - Publisher identifier string of image being deployed.
offerId - Offer identifier string of image being deployed.
planId - Plan identifier string of image being deployed.
context - The context to associate with this operation.

Returns:

terms properties for provided Publisher/Offer/Plan tuple along with Response<T>.

create

public abstract AgreementTermsInner create(OfferType offerType, String publisherId, String offerId, String planId, AgreementTermsInner parameters)

Save marketplace terms.

Parameters:

offerType - Offer Type, currently only virtualmachine type is supported.
publisherId - Publisher identifier string of image being deployed.
offerId - Offer identifier string of image being deployed.
planId - Plan identifier string of image being deployed.
parameters - Parameters supplied to the Create Marketplace Terms operation.

Returns:

terms properties for provided Publisher/Offer/Plan tuple.

createWithResponse

public abstract Response createWithResponse(OfferType offerType, String publisherId, String offerId, String planId, AgreementTermsInner parameters, Context context)

Save marketplace terms.

Parameters:

offerType - Offer Type, currently only virtualmachine type is supported.
publisherId - Publisher identifier string of image being deployed.
offerId - Offer identifier string of image being deployed.
planId - Plan identifier string of image being deployed.
parameters - Parameters supplied to the Create Marketplace Terms operation.
context - The context to associate with this operation.

Returns:

terms properties for provided Publisher/Offer/Plan tuple along with Response<T>.

get

public abstract AgreementTermsInner get(OfferType offerType, String publisherId, String offerId, String planId)

Get marketplace terms.

Parameters:

offerType - Offer Type, currently only virtualmachine type is supported.
publisherId - Publisher identifier string of image being deployed.
offerId - Offer identifier string of image being deployed.
planId - Plan identifier string of image being deployed.

Returns:

marketplace terms.

getAgreement

public abstract AgreementTermsInner getAgreement(String publisherId, String offerId, String planId)

Get marketplace agreement.

Parameters:

publisherId - Publisher identifier string of image being deployed.
offerId - Offer identifier string of image being deployed.
planId - Plan identifier string of image being deployed.

Returns:

marketplace agreement.

getAgreementWithResponse

public abstract Response getAgreementWithResponse(String publisherId, String offerId, String planId, Context context)

Get marketplace agreement.

Parameters:

publisherId - Publisher identifier string of image being deployed.
offerId - Offer identifier string of image being deployed.
planId - Plan identifier string of image being deployed.
context - The context to associate with this operation.

Returns:

marketplace agreement along with Response<T>.

getWithResponse

public abstract Response getWithResponse(OfferType offerType, String publisherId, String offerId, String planId, Context context)

Get marketplace terms.

Parameters:

offerType - Offer Type, currently only virtualmachine type is supported.
publisherId - Publisher identifier string of image being deployed.
offerId - Offer identifier string of image being deployed.
planId - Plan identifier string of image being deployed.
context - The context to associate with this operation.

Returns:

marketplace terms along with Response<T>.

list

public abstract List list()

List marketplace agreements in the subscription.

Returns:

array of AgreementTerms.

listWithResponse

public abstract Response<>> listWithResponse(Context context)

List marketplace agreements in the subscription.

Parameters:

context - The context to associate with this operation.

Returns:

array of AgreementTerms along with Response<T>.

sign

public abstract AgreementTermsInner sign(String publisherId, String offerId, String planId)

Sign marketplace terms.

Parameters:

publisherId - Publisher identifier string of image being deployed.
offerId - Offer identifier string of image being deployed.
planId - Plan identifier string of image being deployed.

Returns:

terms properties for provided Publisher/Offer/Plan tuple.

signWithResponse

public abstract Response signWithResponse(String publisherId, String offerId, String planId, Context context)

Sign marketplace terms.

Parameters:

publisherId - Publisher identifier string of image being deployed.
offerId - Offer identifier string of image being deployed.
planId - Plan identifier string of image being deployed.
context - The context to associate with this operation.

Returns:

terms properties for provided Publisher/Offer/Plan tuple along with Response<T>.

Applies to