@pulumi/azure-native
Version:
[](https://slack.pulumi.com) [](https://npmjs.com/package/@pulumi/azure-native) [ • 3.43 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "../types/output";
/**
* Gets a test base custom image.
*
* Uses Azure REST API version 2023-11-01-preview.
*/
export declare function getCustomImage(args: GetCustomImageArgs, opts?: pulumi.InvokeOptions): Promise<GetCustomImageResult>;
export interface GetCustomImageArgs {
/**
* The resource name of the test base custom image.
*/
customImageName: string;
/**
* The name of the resource group. The name is case insensitive.
*/
resourceGroupName: string;
/**
* The resource name of the Test Base Account.
*/
testBaseAccountName: string;
}
/**
* The test base custom image resource.
*/
export interface GetCustomImageResult {
/**
* The Azure API version of the resource.
*/
readonly azureApiVersion: string;
/**
* The UTC timestamp when the custom image was published.
*/
readonly creationTime: string;
/**
* Image definition name.
*/
readonly definitionName: string;
/**
* Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
*/
readonly id: string;
/**
* The name of the resource
*/
readonly name: string;
/**
* This property indicates the size of the VHD to be created.
*/
readonly osDiskImageSizeInGB: number;
/**
* Product of the custom image.
*/
readonly product: string;
/**
* The provisioning state of the resource.
*/
readonly provisioningState: string;
/**
* Release of the custom image OS.
*/
readonly release: string;
/**
* The release version date of the release of the custom image OS.
*/
readonly releaseVersionDate: string;
/**
* Custom image source type.
*/
readonly source: string;
/**
* Status of the custom image.
*/
readonly status: string;
/**
* Azure Resource Manager metadata containing createdBy and modifiedBy information.
*/
readonly systemData: outputs.testbase.SystemDataResponse;
/**
* The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
*/
readonly type: string;
/**
* The validation result of the custom image.
*/
readonly validationResults: outputs.testbase.ImageValidationResultsResponse;
/**
* Image version name.
*/
readonly versionName: string;
/**
* The file name of the associated VHD resource.
*/
readonly vhdFileName: string;
/**
* The Id of the associated VHD resource.
*/
readonly vhdId?: string;
}
/**
* Gets a test base custom image.
*
* Uses Azure REST API version 2023-11-01-preview.
*/
export declare function getCustomImageOutput(args: GetCustomImageOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetCustomImageResult>;
export interface GetCustomImageOutputArgs {
/**
* The resource name of the test base custom image.
*/
customImageName: pulumi.Input<string>;
/**
* The name of the resource group. The name is case insensitive.
*/
resourceGroupName: pulumi.Input<string>;
/**
* The resource name of the Test Base Account.
*/
testBaseAccountName: pulumi.Input<string>;
}