共用方式為


ArmMarketplaceModelFactory.PrivateStoreOfferData Method

Definition

Initializes a new instance of PrivateStoreOfferData.

public static Azure.ResourceManager.Marketplace.PrivateStoreOfferData PrivateStoreOfferData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, string uniqueOfferId = default, string offerDisplayName = default, string publisherDisplayName = default, Azure.ETag? eTag = default, Guid? privateStoreId = default, DateTimeOffset? createdOn = default, DateTimeOffset? modifiedOn = default, System.Collections.Generic.IEnumerable<string> specificPlanIdsLimitation = default, bool? isUpdateSuppressedDueToIdempotence = default, System.Collections.Generic.IDictionary<string,Uri> iconFileUris = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Marketplace.Models.PrivateStorePlan> plans = default);
static member PrivateStoreOfferData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * string * string * string * Nullable<Azure.ETag> * Nullable<Guid> * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * seq<string> * Nullable<bool> * System.Collections.Generic.IDictionary<string, Uri> * seq<Azure.ResourceManager.Marketplace.Models.PrivateStorePlan> -> Azure.ResourceManager.Marketplace.PrivateStoreOfferData
Public Shared Function PrivateStoreOfferData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional uniqueOfferId As String = Nothing, Optional offerDisplayName As String = Nothing, Optional publisherDisplayName As String = Nothing, Optional eTag As Nullable(Of ETag) = Nothing, Optional privateStoreId As Nullable(Of Guid) = Nothing, Optional createdOn As Nullable(Of DateTimeOffset) = Nothing, Optional modifiedOn As Nullable(Of DateTimeOffset) = Nothing, Optional specificPlanIdsLimitation As IEnumerable(Of String) = Nothing, Optional isUpdateSuppressedDueToIdempotence As Nullable(Of Boolean) = Nothing, Optional iconFileUris As IDictionary(Of String, Uri) = Nothing, Optional plans As IEnumerable(Of PrivateStorePlan) = Nothing) As PrivateStoreOfferData

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

uniqueOfferId
String

Offers unique id.

offerDisplayName
String

It will be displayed prominently in the marketplace.

publisherDisplayName
String

Publisher name that will be displayed prominently in the marketplace.

eTag
Nullable<ETag>

Identifier for purposes of race condition.

privateStoreId
Nullable<Guid>

Private store unique id.

createdOn
Nullable<DateTimeOffset>

Private store offer creation date.

modifiedOn
Nullable<DateTimeOffset>

Private store offer modification date.

specificPlanIdsLimitation
IEnumerable<String>

Plan ids limitation for this offer.

isUpdateSuppressedDueToIdempotence
Nullable<Boolean>

Indicating whether the offer was not updated to db (true = not updated). If the allow list is identical to the existed one in db, the offer would not be updated.

iconFileUris
IDictionary<String,Uri>

Icon File Uris.

plans
IEnumerable<PrivateStorePlan>

Offer plans.

Returns

A new PrivateStoreOfferData instance for mocking.

Applies to