@pulumi/azure-native
Version:
[](https://slack.pulumi.com) [](https://npmjs.com/package/@pulumi/azure-native) [ • 1.38 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.
*/
export declare function listProducts(args: ListProductsArgs, opts?: pulumi.InvokeOptions): Promise<ListProductsResult>;
export interface ListProductsArgs {
/**
* 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 ListProductsResult {
/**
* 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.
*/
export declare function listProductsOutput(args: ListProductsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<ListProductsResult>;
export interface ListProductsOutputArgs {
/**
* 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>;
}