Collection interface
The Collection data structure.
- Extends
Properties
| all |
Indicating whether all subscriptions are selected (=true) or not (=false). |
| applied |
Gets list of collection rules |
| approve |
Indicating whether all items are approved for this collection (=true) or not (=false). |
| approve |
Gets the modified date of all items approved. |
| claim | Gets or sets the association with Commercial's Billing Account. |
| collection |
Gets collection Id. |
| collection |
Gets or sets collection name. |
| enabled | Indicating whether the collection is enabled or disabled. |
| number |
Gets the number of offers associated with the collection. |
| subscriptions |
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 |
Inherited Properties
| id | Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} |
| name | The name of the resource |
| system |
Azure Resource Manager metadata containing createdBy and modifiedBy information. |
| type | The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" |
Property Details
allSubscriptions
Indicating whether all subscriptions are selected (=true) or not (=false).
allSubscriptions?: boolean
Property Value
boolean
appliedRules
approveAllItems
Indicating whether all items are approved for this collection (=true) or not (=false).
approveAllItems?: boolean
Property Value
boolean
approveAllItemsModifiedAt
Gets the modified date of all items approved.
approveAllItemsModifiedAt?: Date
Property Value
Date
claim
Gets or sets the association with Commercial's Billing Account.
claim?: string
Property Value
string
collectionId
Gets collection Id.
collectionId?: string
Property Value
string
collectionName
Gets or sets collection name.
collectionName?: string
Property Value
string
enabled
Indicating whether the collection is enabled or disabled.
enabled?: boolean
Property Value
boolean
numberOfOffers
Gets the number of offers associated with the collection.
numberOfOffers?: number
Property Value
number
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
subscriptionsList?: string[]
Property Value
string[]
Inherited Property Details
id
Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
id?: string
Property Value
string
Inherited From ProxyResource.id
name
systemData
Azure Resource Manager metadata containing createdBy and modifiedBy information.
systemData?: SystemData
Property Value
Inherited From ProxyResource.systemData
type
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
type?: string
Property Value
string
Inherited From ProxyResource.type