共用方式為


ArmMarketplaceModelFactory.CollectionOffersByContext Method

Definition

Initializes a new instance of CollectionOffersByContext.

public static Azure.ResourceManager.Marketplace.Models.CollectionOffersByContext CollectionOffersByContext (string context = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Marketplace.Models.PrivateStoreOfferResult> value = default);
static member CollectionOffersByContext : string * seq<Azure.ResourceManager.Marketplace.Models.PrivateStoreOfferResult> -> Azure.ResourceManager.Marketplace.Models.CollectionOffersByContext
Public Shared Function CollectionOffersByContext (Optional context As String = Nothing, Optional value As IEnumerable(Of PrivateStoreOfferResult) = Nothing) As CollectionOffersByContext

Parameters

context
String

Offer's context, e.g. subscription ID, tenant ID.

Returns

A new CollectionOffersByContext instance for mocking.

Applies to