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

108 lines (107 loc) 3.37 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Get a Image * * Uses Azure REST API version 2024-04-01. * * Other available API versions: 2022-09-01-preview. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native azuresphere [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details. */ export declare function getImage(args: GetImageArgs, opts?: pulumi.InvokeOptions): Promise<GetImageResult>; export interface GetImageArgs { /** * Name of catalog */ catalogName: string; /** * Image name. Use an image GUID for GA versions of the API. */ imageName: string; /** * The name of the resource group. The name is case insensitive. */ resourceGroupName: string; } /** * An image resource belonging to a catalog resource. */ export interface GetImageResult { /** * The Azure API version of the resource. */ readonly azureApiVersion: string; /** * The image component id. */ readonly componentId: string; /** * The image description. */ readonly description: string; /** * Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} */ readonly id: string; /** * Image as a UTF-8 encoded base 64 string on image create. This field contains the image URI on image reads. */ readonly image?: string; /** * Image ID */ readonly imageId?: string; /** * Image name */ readonly imageName: string; /** * The image type. */ readonly imageType: string; /** * The name of the resource */ readonly name: string; /** * The status of the last operation. */ readonly provisioningState: string; /** * Regional data boundary for an image */ readonly regionalDataBoundary?: string; /** * Azure Resource Manager metadata containing createdBy and modifiedBy information. */ readonly systemData: outputs.azuresphere.SystemDataResponse; /** * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" */ readonly type: string; /** * Location the image */ readonly uri: string; } /** * Get a Image * * Uses Azure REST API version 2024-04-01. * * Other available API versions: 2022-09-01-preview. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native azuresphere [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details. */ export declare function getImageOutput(args: GetImageOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetImageResult>; export interface GetImageOutputArgs { /** * Name of catalog */ catalogName: pulumi.Input<string>; /** * Image name. Use an image GUID for GA versions of the API. */ imageName: pulumi.Input<string>; /** * The name of the resource group. The name is case insensitive. */ resourceGroupName: pulumi.Input<string>; }