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

213 lines (212 loc) • 8.58 kB
import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; import * as enums from "../types/enums"; /** * Specifies information about the gallery image definition that you want to create or update. * * Uses Azure REST API version 2024-03-03. In version 2.x of the Azure Native provider, it used API version 2022-03-03. * * Other available API versions: 2022-03-03, 2022-08-03, 2023-07-03. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native compute [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details. */ export declare class GalleryImage extends pulumi.CustomResource { /** * Get an existing GalleryImage resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): GalleryImage; /** * Returns true if the given object is an instance of GalleryImage. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is GalleryImage; /** * Optional. Must be set to true if the gallery image features are being updated. */ readonly allowUpdateImage: pulumi.Output<boolean | undefined>; /** * The architecture of the image. Applicable to OS disks only. */ readonly architecture: pulumi.Output<string | undefined>; /** * The Azure API version of the resource. */ readonly azureApiVersion: pulumi.Output<string>; /** * The description of this gallery image definition resource. This property is updatable. */ readonly description: pulumi.Output<string | undefined>; /** * Describes the disallowed disk types. */ readonly disallowed: pulumi.Output<outputs.compute.DisallowedResponse | undefined>; /** * The end of life date of the gallery image definition. This property can be used for decommissioning purposes. This property is updatable. */ readonly endOfLifeDate: pulumi.Output<string | undefined>; /** * The Eula agreement for the gallery image definition. */ readonly eula: pulumi.Output<string | undefined>; /** * A list of gallery image features. */ readonly features: pulumi.Output<outputs.compute.GalleryImageFeatureResponse[] | undefined>; /** * The hypervisor generation of the Virtual Machine. Applicable to OS disks only. */ readonly hyperVGeneration: pulumi.Output<string | undefined>; /** * This is the gallery image definition identifier. */ readonly identifier: pulumi.Output<outputs.compute.GalleryImageIdentifierResponse>; /** * The geo-location where the resource lives */ readonly location: pulumi.Output<string>; /** * The name of the resource */ readonly name: pulumi.Output<string>; /** * This property allows the user to specify whether the virtual machines created under this image are 'Generalized' or 'Specialized'. */ readonly osState: pulumi.Output<string>; /** * This property allows you to specify the type of the OS that is included in the disk when creating a VM from a managed image. Possible values are: **Windows,** **Linux.** */ readonly osType: pulumi.Output<string>; /** * The privacy statement uri. */ readonly privacyStatementUri: pulumi.Output<string | undefined>; /** * The provisioning state, which only appears in the response. */ readonly provisioningState: pulumi.Output<string>; /** * Describes the gallery image definition purchase plan. This is used by marketplace images. */ readonly purchasePlan: pulumi.Output<outputs.compute.ImagePurchasePlanResponse | undefined>; /** * The properties describe the recommended machine configuration for this Image Definition. These properties are updatable. */ readonly recommended: pulumi.Output<outputs.compute.RecommendedMachineConfigurationResponse | undefined>; /** * The release note uri. */ readonly releaseNoteUri: pulumi.Output<string | undefined>; /** * Azure Resource Manager metadata containing createdBy and modifiedBy information. */ readonly systemData: pulumi.Output<outputs.compute.SystemDataResponse>; /** * Resource tags. */ readonly tags: pulumi.Output<{ [key: string]: string; } | undefined>; /** * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" */ readonly type: pulumi.Output<string>; /** * Create a GalleryImage resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: GalleryImageArgs, opts?: pulumi.CustomResourceOptions); } /** * The set of arguments for constructing a GalleryImage resource. */ export interface GalleryImageArgs { /** * Optional. Must be set to true if the gallery image features are being updated. */ allowUpdateImage?: pulumi.Input<boolean>; /** * The architecture of the image. Applicable to OS disks only. */ architecture?: pulumi.Input<string | enums.compute.Architecture>; /** * The description of this gallery image definition resource. This property is updatable. */ description?: pulumi.Input<string>; /** * Describes the disallowed disk types. */ disallowed?: pulumi.Input<inputs.compute.DisallowedArgs>; /** * The end of life date of the gallery image definition. This property can be used for decommissioning purposes. This property is updatable. */ endOfLifeDate?: pulumi.Input<string>; /** * The Eula agreement for the gallery image definition. */ eula?: pulumi.Input<string>; /** * A list of gallery image features. */ features?: pulumi.Input<pulumi.Input<inputs.compute.GalleryImageFeatureArgs>[]>; /** * The name of the gallery image definition to be retrieved. */ galleryImageName?: pulumi.Input<string>; /** * The name of the Shared Image Gallery. */ galleryName: pulumi.Input<string>; /** * The hypervisor generation of the Virtual Machine. Applicable to OS disks only. */ hyperVGeneration?: pulumi.Input<string | enums.compute.HyperVGeneration>; /** * This is the gallery image definition identifier. */ identifier: pulumi.Input<inputs.compute.GalleryImageIdentifierArgs>; /** * The geo-location where the resource lives */ location?: pulumi.Input<string>; /** * This property allows the user to specify whether the virtual machines created under this image are 'Generalized' or 'Specialized'. */ osState: pulumi.Input<enums.compute.OperatingSystemStateTypes>; /** * This property allows you to specify the type of the OS that is included in the disk when creating a VM from a managed image. Possible values are: **Windows,** **Linux.** */ osType: pulumi.Input<enums.compute.OperatingSystemTypes>; /** * The privacy statement uri. */ privacyStatementUri?: pulumi.Input<string>; /** * Describes the gallery image definition purchase plan. This is used by marketplace images. */ purchasePlan?: pulumi.Input<inputs.compute.ImagePurchasePlanArgs>; /** * The properties describe the recommended machine configuration for this Image Definition. These properties are updatable. */ recommended?: pulumi.Input<inputs.compute.RecommendedMachineConfigurationArgs>; /** * The release note uri. */ releaseNoteUri?: pulumi.Input<string>; /** * The name of the resource group. The name is case insensitive. */ resourceGroupName: pulumi.Input<string>; /** * Resource tags. */ tags?: pulumi.Input<{ [key: string]: pulumi.Input<string>; }>; }