@pulumi/azure-native
Version:
[](https://slack.pulumi.com) [](https://npmjs.com/package/@pulumi/azure-native) [ • 1.97 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "../types/output";
/**
* Returns a list of products.
*
* Uses Azure REST API version 2022-06-01.
*
* Other available API versions: 2020-06-01-preview. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native azurestack [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details.
*/
export declare function getProducts(args: GetProductsArgs, opts?: pulumi.InvokeOptions): Promise<GetProductsResult>;
export interface GetProductsArgs {
/**
* Name of the product.
*/
productName: string;
/**
* Name of the Azure Stack registration.
*/
registrationName: string;
/**
* Name of the resource group.
*/
resourceGroup: string;
}
/**
* Pageable list of products.
*/
export interface GetProductsResult {
/**
* URI to the next page.
*/
readonly nextLink?: string;
/**
* List of products.
*/
readonly value?: outputs.azurestack.ProductResponse[];
}
/**
* Returns a list of products.
*
* Uses Azure REST API version 2022-06-01.
*
* Other available API versions: 2020-06-01-preview. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native azurestack [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details.
*/
export declare function getProductsOutput(args: GetProductsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetProductsResult>;
export interface GetProductsOutputArgs {
/**
* Name of the product.
*/
productName: pulumi.Input<string>;
/**
* Name of the Azure Stack registration.
*/
registrationName: pulumi.Input<string>;
/**
* Name of the resource group.
*/
resourceGroup: pulumi.Input<string>;
}