Partilhar via


Offer Class

Definition

The privateStore offer data structure.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Marketplace.Models.OfferTypeConverter))]
public class Offer : Microsoft.Azure.PowerShell.Cmdlets.Marketplace.Models.IOffer, Microsoft.Azure.PowerShell.Cmdlets.Marketplace.Runtime.IValidates
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Marketplace.Models.OfferTypeConverter))>]
type Offer = class
    interface IOffer
    interface IJsonSerializable
    interface IResource
    interface IValidates
Public Class Offer
Implements IOffer, IValidates
Inheritance
Offer
Attributes
Implements

Constructors

Offer()

Creates an new Offer instance.

Properties

CreatedAt

Private store offer creation date

DisplayName

It will be displayed prominently in the marketplace

ETag

Identifier for purposes of race condition

IconFileUri

Icon File Uris

Id

The resource ID.

ModifiedAt

Private store offer modification date

Name

The name of the resource.

Plan

Offer plans

PrivateStoreId

Private store unique id

PublisherDisplayName

Publisher name that will be displayed prominently in the marketplace

ResourceGroupName

Gets the resource group name

SpecificPlanIdsLimitation

Plan ids limitation for this offer

SystemDataCreatedAt

The timestamp of resource creation (UTC)

SystemDataCreatedBy

The identity that created the resource.

SystemDataCreatedByType

The type of identity that created the resource

SystemDataLastModifiedAt

The timestamp of resource last modification (UTC)

SystemDataLastModifiedBy

The identity that last modified the resource.

SystemDataLastModifiedByType

The type of identity that last modified the resource

Type

The type of the resource.

UniqueOfferId

Offers unique id

UpdateSuppressedDueIdempotence

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.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of Offer.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of Offer.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Marketplace.Models.IOffer.

FromJsonString(String)

Creates a new instance of Offer, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of Offer into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()
Validate(IEventListener)

Validates that this object meets the validation criteria.

Applies to