@pulumi/azure-native
Version:
[](https://slack.pulumi.com) [](https://npmjs.com/package/@pulumi/azure-native) [ • 3.54 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "../types/output";
/**
* Gets private store collection
*
* Uses Azure REST 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 function getPrivateStoreCollection(args: GetPrivateStoreCollectionArgs, opts?: pulumi.InvokeOptions): Promise<GetPrivateStoreCollectionResult>;
export interface GetPrivateStoreCollectionArgs {
/**
* The collection ID
*/
collectionId: string;
/**
* The store ID - must use the tenant ID
*/
privateStoreId: string;
}
/**
* The Collection data structure.
*/
export interface GetPrivateStoreCollectionResult {
/**
* Indicating whether all subscriptions are selected (=true) or not (=false).
*/
readonly allSubscriptions?: boolean;
/**
* Gets list of collection rules
*/
readonly appliedRules: outputs.marketplace.RuleResponse[];
/**
* Indicating whether all items are approved for this collection (=true) or not (=false).
*/
readonly approveAllItems: boolean;
/**
* Gets the modified date of all items approved.
*/
readonly approveAllItemsModifiedAt: string;
/**
* The Azure API version of the resource.
*/
readonly azureApiVersion: string;
/**
* Gets or sets the association with Commercial's Billing Account.
*/
readonly claim?: string;
/**
* Gets collection Id.
*/
readonly collectionId: string;
/**
* Gets or sets collection name.
*/
readonly collectionName?: string;
/**
* Indicating whether the collection is enabled or disabled.
*/
readonly enabled?: boolean;
/**
* The resource ID.
*/
readonly id: string;
/**
* The name of the resource.
*/
readonly name: string;
/**
* Gets the number of offers associated with the collection.
*/
readonly numberOfOffers: 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?: string[];
/**
* Metadata pertaining to creation and last modification of the resource
*/
readonly systemData: outputs.marketplace.SystemDataResponse;
/**
* The type of the resource.
*/
readonly type: string;
}
/**
* Gets private store collection
*
* Uses Azure REST 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 function getPrivateStoreCollectionOutput(args: GetPrivateStoreCollectionOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetPrivateStoreCollectionResult>;
export interface GetPrivateStoreCollectionOutputArgs {
/**
* The collection ID
*/
collectionId: pulumi.Input<string>;
/**
* The store ID - must use the tenant ID
*/
privateStoreId: pulumi.Input<string>;
}