import * as pulumi from "@pulumi/pulumi"; /** * Use this data source to access information about an existing API Management Product. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as azure from "@pulumi/azure"; * * const example = azure.apimanagement.getProduct({ * productId: "my-product", * apiManagementName: "example-apim", * resourceGroupName: "search-service", * }); * export const productTerms = example.then(example => example.terms); * ``` * * ## API Providers * * * This data source uses the following Azure API Providers: * * * `Microsoft.ApiManagement` - 2022-08-01 */ export declare function getProduct(args: GetProductArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getProduct. */ export interface GetProductArgs { /** * The Name of the API Management Service in which this Product exists. */ apiManagementName: string; /** * The Identifier for the API Management Product. */ productId: string; /** * The Name of the Resource Group in which the API Management Service exists. */ resourceGroupName: string; } /** * A collection of values returned by getProduct. */ export interface GetProductResult { readonly apiManagementName: string; /** * Do subscribers need to be approved prior to being able to use the Product? */ readonly approvalRequired: boolean; /** * The description of this Product, which may include HTML formatting tags. */ readonly description: string; /** * The Display Name for this API Management Product. */ readonly displayName: string; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; readonly productId: string; /** * Is this Product Published? */ readonly published: boolean; readonly resourceGroupName: string; /** * Is a Subscription required to access API's included in this Product? */ readonly subscriptionRequired: boolean; /** * The number of subscriptions a user can have to this Product at the same time. */ readonly subscriptionsLimit: number; /** * Any Terms and Conditions for this Product, which must be accepted by Developers before they can begin the Subscription process. */ readonly terms: string; } /** * Use this data source to access information about an existing API Management Product. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as azure from "@pulumi/azure"; * * const example = azure.apimanagement.getProduct({ * productId: "my-product", * apiManagementName: "example-apim", * resourceGroupName: "search-service", * }); * export const productTerms = example.then(example => example.terms); * ``` * * ## API Providers * * * This data source uses the following Azure API Providers: * * * `Microsoft.ApiManagement` - 2022-08-01 */ export declare function getProductOutput(args: GetProductOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getProduct. */ export interface GetProductOutputArgs { /** * The Name of the API Management Service in which this Product exists. */ apiManagementName: pulumi.Input; /** * The Identifier for the API Management Product. */ productId: pulumi.Input; /** * The Name of the Resource Group in which the API Management Service exists. */ resourceGroupName: pulumi.Input; }