@pulumi/azure-native
Version:
[](https://slack.pulumi.com) [](https://npmjs.com/package/@pulumi/azure-native) [ • 4.96 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "../types/output";
/**
* The Collection data structure.
*
* Uses Azure REST API version 2023-01-01. In version 2.x of the Azure Native provider, it used API version 2023-01-01.
*
* Other available API versions: 2025-01-01. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native marketplace [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details.
*/
export declare class PrivateStoreCollection extends pulumi.CustomResource {
/**
* Get an existing PrivateStoreCollection resource's state with the given name, ID, and optional extra
* properties used to qualify the lookup.
*
* @param name The _unique_ name of the resulting resource.
* @param id The _unique_ provider ID of the resource to lookup.
* @param opts Optional settings to control the behavior of the CustomResource.
*/
static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): PrivateStoreCollection;
/**
* Returns true if the given object is an instance of PrivateStoreCollection. This is designed to work even
* when multiple copies of the Pulumi SDK have been loaded into the same process.
*/
static isInstance(obj: any): obj is PrivateStoreCollection;
/**
* Indicating whether all subscriptions are selected (=true) or not (=false).
*/
readonly allSubscriptions: pulumi.Output<boolean | undefined>;
/**
* Gets list of collection rules
*/
readonly appliedRules: pulumi.Output<outputs.marketplace.RuleResponse[]>;
/**
* Indicating whether all items are approved for this collection (=true) or not (=false).
*/
readonly approveAllItems: pulumi.Output<boolean>;
/**
* Gets the modified date of all items approved.
*/
readonly approveAllItemsModifiedAt: pulumi.Output<string>;
/**
* The Azure API version of the resource.
*/
readonly azureApiVersion: pulumi.Output<string>;
/**
* Gets or sets the association with Commercial's Billing Account.
*/
readonly claim: pulumi.Output<string | undefined>;
/**
* Gets collection Id.
*/
readonly collectionId: pulumi.Output<string>;
/**
* Gets or sets collection name.
*/
readonly collectionName: pulumi.Output<string | undefined>;
/**
* Indicating whether the collection is enabled or disabled.
*/
readonly enabled: pulumi.Output<boolean | undefined>;
/**
* The name of the resource.
*/
readonly name: pulumi.Output<string>;
/**
* Gets the number of offers associated with the collection.
*/
readonly numberOfOffers: pulumi.Output<number>;
/**
* 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
*/
readonly subscriptionsList: pulumi.Output<string[] | undefined>;
/**
* Metadata pertaining to creation and last modification of the resource
*/
readonly systemData: pulumi.Output<outputs.marketplace.SystemDataResponse>;
/**
* The type of the resource.
*/
readonly type: pulumi.Output<string>;
/**
* Create a PrivateStoreCollection resource with the given unique name, arguments, and options.
*
* @param name The _unique_ name of the resource.
* @param args The arguments to use to populate this resource's properties.
* @param opts A bag of options that control this resource's behavior.
*/
constructor(name: string, args: PrivateStoreCollectionArgs, opts?: pulumi.CustomResourceOptions);
}
/**
* The set of arguments for constructing a PrivateStoreCollection resource.
*/
export interface PrivateStoreCollectionArgs {
/**
* Indicating whether all subscriptions are selected (=true) or not (=false).
*/
allSubscriptions?: pulumi.Input<boolean>;
/**
* Gets or sets the association with Commercial's Billing Account.
*/
claim?: pulumi.Input<string>;
/**
* The collection ID
*/
collectionId?: pulumi.Input<string>;
/**
* Gets or sets collection name.
*/
collectionName?: pulumi.Input<string>;
/**
* Indicating whether the collection is enabled or disabled.
*/
enabled?: pulumi.Input<boolean>;
/**
* The store ID - must use the tenant ID
*/
privateStoreId: pulumi.Input<string>;
/**
* 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?: pulumi.Input<pulumi.Input<string>[]>;
}