Share via


MarketplaceAgreementCollection Class

Definition

A class representing a collection of MarketplaceAgreementResource and their operations. Each MarketplaceAgreementResource in the collection will belong to the same instance of SubscriptionResource. To get a MarketplaceAgreementCollection instance call the GetMarketplaceAgreements method from an instance of SubscriptionResource.

public class MarketplaceAgreementCollection : Azure.ResourceManager.ArmCollection
type MarketplaceAgreementCollection = class
    inherit ArmCollection
Public Class MarketplaceAgreementCollection
Inherits ArmCollection
Inheritance
MarketplaceAgreementCollection

Constructors

MarketplaceAgreementCollection()

Initializes a new instance of the MarketplaceAgreementCollection class for mocking.

Properties

Client

Gets the ArmClient this resource client was created from.

(Inherited from ArmCollection)
Diagnostics

Gets the diagnostic options for this resource client.

(Inherited from ArmCollection)
Endpoint

Gets the base uri for this resource client.

(Inherited from ArmCollection)
Id

Gets the resource identifier.

(Inherited from ArmCollection)
Pipeline

Gets the pipeline for this resource client.

(Inherited from ArmCollection)

Methods

Exists(String, String, String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.MarketplaceOrdering/agreements/{publisherId}/offers/{offerId}/plans/{planId}
  • Operation Id: MarketplaceAgreements_GetAgreement
ExistsAsync(String, String, String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.MarketplaceOrdering/agreements/{publisherId}/offers/{offerId}/plans/{planId}
  • Operation Id: MarketplaceAgreements_GetAgreement
Get(String, String, String, CancellationToken)

Get marketplace agreement.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.MarketplaceOrdering/agreements/{publisherId}/offers/{offerId}/plans/{planId}
  • Operation Id: MarketplaceAgreements_GetAgreement
GetAllData(CancellationToken)

List marketplace agreements in the subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.MarketplaceOrdering/agreements
  • Operation Id: MarketplaceAgreements_List
GetAllDataAsync(CancellationToken)

List marketplace agreements in the subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.MarketplaceOrdering/agreements
  • Operation Id: MarketplaceAgreements_List
GetAsync(String, String, String, CancellationToken)

Get marketplace agreement.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.MarketplaceOrdering/agreements/{publisherId}/offers/{offerId}/plans/{planId}
  • Operation Id: MarketplaceAgreements_GetAgreement
TryGetApiVersion(ResourceType, String)

Gets the api version override if it has been set for the current client options.

(Inherited from ArmCollection)

Applies to