@pulumi/azure-native
Version:
[](https://slack.pulumi.com) [](https://npmjs.com/package/@pulumi/azure-native) [ • 7.16 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as inputs from "../types/input";
import * as outputs from "../types/output";
/**
* Define the virtualMachineTemplate.
*
* Uses Azure REST API version 2023-12-01. In version 2.x of the Azure Native provider, it used API version 2022-07-15-preview.
*
* Other available API versions: 2022-07-15-preview, 2023-03-01-preview, 2023-10-01. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native connectedvmwarevsphere [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details.
*/
export declare class VirtualMachineTemplate extends pulumi.CustomResource {
/**
* Get an existing VirtualMachineTemplate 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): VirtualMachineTemplate;
/**
* Returns true if the given object is an instance of VirtualMachineTemplate. 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 VirtualMachineTemplate;
/**
* The Azure API version of the resource.
*/
readonly azureApiVersion: pulumi.Output<string>;
/**
* Gets the name of the corresponding resource in Kubernetes.
*/
readonly customResourceName: pulumi.Output<string>;
/**
* Gets or sets the disks the template.
*/
readonly disks: pulumi.Output<outputs.connectedvmwarevsphere.VirtualDiskResponse[]>;
/**
* Gets or sets the extended location.
*/
readonly extendedLocation: pulumi.Output<outputs.connectedvmwarevsphere.ExtendedLocationResponse | undefined>;
/**
* Firmware type
*/
readonly firmwareType: pulumi.Output<string>;
/**
* Gets or sets the folder path of the template.
*/
readonly folderPath: pulumi.Output<string>;
/**
* Gets or sets the inventory Item ID for the virtual machine template.
*/
readonly inventoryItemId: pulumi.Output<string | undefined>;
/**
* Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource provider must validate and persist this value.
*/
readonly kind: pulumi.Output<string | undefined>;
/**
* Gets or sets the location.
*/
readonly location: pulumi.Output<string>;
/**
* Gets or sets memory size in MBs for the template.
*/
readonly memorySizeMB: pulumi.Output<number>;
/**
* Gets or sets the vCenter Managed Object name for the virtual machine template.
*/
readonly moName: pulumi.Output<string>;
/**
* Gets or sets the vCenter MoRef (Managed Object Reference) ID for the virtual machine
* template.
*/
readonly moRefId: pulumi.Output<string | undefined>;
/**
* Gets or sets the name.
*/
readonly name: pulumi.Output<string>;
/**
* Gets or sets the network interfaces of the template.
*/
readonly networkInterfaces: pulumi.Output<outputs.connectedvmwarevsphere.NetworkInterfaceResponse[]>;
/**
* Gets or sets the number of vCPUs for the template.
*/
readonly numCPUs: pulumi.Output<number>;
/**
* Gets or sets the number of cores per socket for the template.
* Defaults to 1 if unspecified.
*/
readonly numCoresPerSocket: pulumi.Output<number>;
/**
* Gets or sets os name.
*/
readonly osName: pulumi.Output<string>;
/**
* Gets or sets the type of the os.
*/
readonly osType: pulumi.Output<string>;
/**
* Gets the provisioning state.
*/
readonly provisioningState: pulumi.Output<string>;
/**
* The resource status information.
*/
readonly statuses: pulumi.Output<outputs.connectedvmwarevsphere.ResourceStatusResponse[]>;
/**
* The system data.
*/
readonly systemData: pulumi.Output<outputs.connectedvmwarevsphere.SystemDataResponse>;
/**
* Gets or sets the Resource tags.
*/
readonly tags: pulumi.Output<{
[key: string]: string;
} | undefined>;
/**
* Gets or sets the current version of VMware Tools.
*/
readonly toolsVersion: pulumi.Output<string>;
/**
* Gets or sets the current version status of VMware Tools installed in the guest operating system.
*/
readonly toolsVersionStatus: pulumi.Output<string>;
/**
* Gets or sets the type of the resource.
*/
readonly type: pulumi.Output<string>;
/**
* Gets or sets a unique identifier for this resource.
*/
readonly uuid: pulumi.Output<string>;
/**
* Gets or sets the ARM Id of the vCenter resource in which this template resides.
*/
readonly vCenterId: pulumi.Output<string | undefined>;
/**
* Create a VirtualMachineTemplate 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: VirtualMachineTemplateArgs, opts?: pulumi.CustomResourceOptions);
}
/**
* The set of arguments for constructing a VirtualMachineTemplate resource.
*/
export interface VirtualMachineTemplateArgs {
/**
* Gets or sets the extended location.
*/
extendedLocation?: pulumi.Input<inputs.connectedvmwarevsphere.ExtendedLocationArgs>;
/**
* Gets or sets the inventory Item ID for the virtual machine template.
*/
inventoryItemId?: pulumi.Input<string>;
/**
* Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource provider must validate and persist this value.
*/
kind?: pulumi.Input<string>;
/**
* Gets or sets the location.
*/
location?: pulumi.Input<string>;
/**
* Gets or sets the vCenter MoRef (Managed Object Reference) ID for the virtual machine
* template.
*/
moRefId?: pulumi.Input<string>;
/**
* The Resource Group Name.
*/
resourceGroupName: pulumi.Input<string>;
/**
* Gets or sets the Resource tags.
*/
tags?: pulumi.Input<{
[key: string]: pulumi.Input<string>;
}>;
/**
* Gets or sets the ARM Id of the vCenter resource in which this template resides.
*/
vCenterId?: pulumi.Input<string>;
/**
* Name of the virtual machine template resource.
*/
virtualMachineTemplateName?: pulumi.Input<string>;
}