@pulumi/azure-native
Version:
[](https://slack.pulumi.com) [](https://npmjs.com/package/@pulumi/azure-native) [ • 4.76 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "../types/output";
/**
* Retrieves information about a gallery image version.
*
* Uses Azure REST API version 2024-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 function getGalleryImageVersion(args: GetGalleryImageVersionArgs, opts?: pulumi.InvokeOptions): Promise<GetGalleryImageVersionResult>;
export interface GetGalleryImageVersionArgs {
/**
* The expand expression to apply on the operation.
*/
expand?: string;
/**
* The name of the gallery image definition to be retrieved.
*/
galleryImageName: string;
/**
* The name of the gallery image version to be retrieved.
*/
galleryImageVersionName: string;
/**
* The name of the Shared Image Gallery.
*/
galleryName: string;
/**
* The name of the resource group. The name is case insensitive.
*/
resourceGroupName: string;
}
/**
* Specifies information about the gallery image version that you want to create or update.
*/
export interface GetGalleryImageVersionResult {
/**
* The Azure API version of the resource.
*/
readonly azureApiVersion: string;
/**
* Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
*/
readonly id: string;
/**
* The geo-location where the resource lives
*/
readonly location: string;
/**
* The name of the resource
*/
readonly name: string;
/**
* The provisioning state, which only appears in the response.
*/
readonly provisioningState: string;
/**
* The publishing profile of a gallery image Version.
*/
readonly publishingProfile?: outputs.compute.GalleryImageVersionPublishingProfileResponse;
/**
* This is the replication status of the gallery image version.
*/
readonly replicationStatus: outputs.compute.ReplicationStatusResponse;
/**
* Indicates if this is a soft-delete resource restoration request.
*/
readonly restore?: boolean;
/**
* This is the safety profile of the Gallery Image Version.
*/
readonly safetyProfile?: outputs.compute.GalleryImageVersionSafetyProfileResponse;
/**
* The security profile of a gallery image version
*/
readonly securityProfile?: outputs.compute.ImageVersionSecurityProfileResponse;
/**
* This is the storage profile of a Gallery Image Version.
*/
readonly storageProfile: outputs.compute.GalleryImageVersionStorageProfileResponse;
/**
* Azure Resource Manager metadata containing createdBy and modifiedBy information.
*/
readonly systemData: outputs.compute.SystemDataResponse;
/**
* Resource tags.
*/
readonly tags?: {
[key: string]: string;
};
/**
* The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
*/
readonly type: string;
/**
* This is the validations profile of a Gallery Image Version.
*/
readonly validationsProfile: outputs.compute.ValidationsProfileResponse;
}
/**
* Retrieves information about a gallery image version.
*
* Uses Azure REST API version 2024-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 function getGalleryImageVersionOutput(args: GetGalleryImageVersionOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetGalleryImageVersionResult>;
export interface GetGalleryImageVersionOutputArgs {
/**
* The expand expression to apply on the operation.
*/
expand?: pulumi.Input<string>;
/**
* The name of the gallery image definition to be retrieved.
*/
galleryImageName: pulumi.Input<string>;
/**
* The name of the gallery image version to be retrieved.
*/
galleryImageVersionName: pulumi.Input<string>;
/**
* The name of the Shared Image Gallery.
*/
galleryName: pulumi.Input<string>;
/**
* The name of the resource group. The name is case insensitive.
*/
resourceGroupName: pulumi.Input<string>;
}