UNPKG

@pulumi/azure-native

Version:

[![Slack](http://www.pulumi.com/images/docs/badges/slack.svg)](https://slack.pulumi.com) [![NPM version](https://badge.fury.io/js/%40pulumi%2Fazure-native.svg)](https://npmjs.com/package/@pulumi/azure-native) [![Python version](https://badge.fury.io/py/pu

60 lines (59 loc) 1.97 kB
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>; }