Partilhar via


CollectionProperties Class

Definition

The collection details

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Marketplace.Models.CollectionPropertiesTypeConverter))]
public class CollectionProperties : Microsoft.Azure.PowerShell.Cmdlets.Marketplace.Models.ICollectionProperties
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Marketplace.Models.CollectionPropertiesTypeConverter))>]
type CollectionProperties = class
    interface ICollectionProperties
    interface IJsonSerializable
Public Class CollectionProperties
Implements ICollectionProperties
Inheritance
CollectionProperties
Attributes
Implements

Constructors

CollectionProperties()

Creates an new CollectionProperties 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.

NumberOfOffer

Gets the number of offers associated with the collection.

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

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of CollectionProperties.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of CollectionProperties.

FromJson(JsonNode)

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

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of CollectionProperties into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to