Megosztás a következőn keresztül:


Collection Class

Definition

The Collection data structure.

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

Constructors

Collection()

Creates an new Collection instance.

Properties

AllSubscription

Indicating whether all subscriptions are selected (=true) or not (=false).

AppliedRule

Gets list of collection rules

ApproveAllItem

Indicating whether all items are approved for this collection (=true) or not (=false).

ApproveAllItemsModifiedAt

Gets the modified date of all items approved.

Claim

Gets or sets the association with Commercial's Billing Account.

CollectionId

Gets collection Id.

CollectionName

Gets or sets collection name.

Enabled

Indicating whether the collection is enabled or disabled.

Id

The resource ID.

Name

The name of the resource.

NumberOfOffer

Gets the number of offers associated with the collection.

ResourceGroupName

Gets the resource group name

SubscriptionsList

Gets or sets subscription ids list. Empty list indicates all subscriptions are selected, null indicates no update is done, explicit list indicates the explicit selected subscriptions. On insert, null is considered as bad request

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.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of Collection.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of Collection.

FromJson(JsonNode)

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

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of Collection into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()
Validate(IEventListener)

Validates that this object meets the validation criteria.

Applies to