共用方式為


MarketplaceOrderingExtensions.GetMarketplaceAgreements Method

Definition

Gets a collection of MarketplaceAgreementResources in the SubscriptionResource. MockingTo mock this method, please mock GetMarketplaceAgreements() instead.

public static Azure.ResourceManager.MarketplaceOrdering.MarketplaceAgreementCollection GetMarketplaceAgreements (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource);
static member GetMarketplaceAgreements : Azure.ResourceManager.Resources.SubscriptionResource -> Azure.ResourceManager.MarketplaceOrdering.MarketplaceAgreementCollection
<Extension()>
Public Function GetMarketplaceAgreements (subscriptionResource As SubscriptionResource) As MarketplaceAgreementCollection

Parameters

subscriptionResource
SubscriptionResource

The SubscriptionResource instance the method will execute against.

Returns

An object representing collection of MarketplaceAgreementResources and their operations over a MarketplaceAgreementResource.

Exceptions

subscriptionResource is null.

Applies to