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

140 lines (139 loc) 4 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Returns the specified product. * * 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 getProduct(args: GetProductArgs, opts?: pulumi.InvokeOptions): Promise<GetProductResult>; export interface GetProductArgs { /** * Name of the product. */ productName: string; /** * Name of the Azure Stack registration. */ registrationName: string; /** * Name of the resource group. */ resourceGroup: string; } /** * Product information. */ export interface GetProductResult { /** * The part number used for billing purposes. */ readonly billingPartNumber?: string; /** * Product compatibility with current device. */ readonly compatibility?: outputs.azurestack.CompatibilityResponse; /** * The description of the product. */ readonly description?: string; /** * The display name of the product. */ readonly displayName?: string; /** * The entity tag used for optimistic concurrency when modifying the resource. */ readonly etag?: string; /** * The identifier of the gallery item corresponding to the product. */ readonly galleryItemIdentity?: string; /** * Additional links available for this product. */ readonly iconUris?: outputs.azurestack.IconUrisResponse; /** * ID of the resource. */ readonly id: string; /** * The legal terms. */ readonly legalTerms?: string; /** * Additional links available for this product. */ readonly links?: outputs.azurestack.ProductLinkResponse[]; /** * Name of the resource. */ readonly name: string; /** * The offer representing the product. */ readonly offer?: string; /** * The version of the product offer. */ readonly offerVersion?: string; /** * The length of product content. */ readonly payloadLength?: number; /** * The privacy policy. */ readonly privacyPolicy?: string; /** * The kind of the product (virtualMachine or virtualMachineExtension) */ readonly productKind?: string; /** * Additional properties for the product. */ readonly productProperties?: outputs.azurestack.ProductPropertiesResponse; /** * The user-friendly name of the product publisher. */ readonly publisherDisplayName?: string; /** * Publisher identifier. */ readonly publisherIdentifier?: string; /** * The product SKU. */ readonly sku?: string; /** * Type of Resource. */ readonly type: string; /** * The type of the Virtual Machine Extension. */ readonly vmExtensionType?: string; } /** * Returns the specified product. * * 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 getProductOutput(args: GetProductOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetProductResult>; export interface GetProductOutputArgs { /** * 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>; }