UNPKG

@pulumi/vsphere

Version:

A Pulumi package for creating vsphere resources

58 lines 2.72 kB
"use strict"; // *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** // *** Do not edit by hand unless you're certain you know what you are doing! *** Object.defineProperty(exports, "__esModule", { value: true }); exports.getOvfVmTemplateOutput = exports.getOvfVmTemplate = void 0; const pulumi = require("@pulumi/pulumi"); const utilities = require("./utilities"); /** * The `vsphere.getOvfVmTemplate` data source can be used to submit an OVF to * vSphere and extract its hardware settings in a form that can be then used as * inputs for a `vsphere.VirtualMachine` resource. */ function getOvfVmTemplate(args, opts) { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("vsphere:index/getOvfVmTemplate:getOvfVmTemplate", { "allowUnverifiedSslCert": args.allowUnverifiedSslCert, "datastoreId": args.datastoreId, "deploymentOption": args.deploymentOption, "diskProvisioning": args.diskProvisioning, "enableHiddenProperties": args.enableHiddenProperties, "folder": args.folder, "hostSystemId": args.hostSystemId, "ipAllocationPolicy": args.ipAllocationPolicy, "ipProtocol": args.ipProtocol, "localOvfPath": args.localOvfPath, "name": args.name, "ovfNetworkMap": args.ovfNetworkMap, "remoteOvfUrl": args.remoteOvfUrl, "resourcePoolId": args.resourcePoolId, }, opts); } exports.getOvfVmTemplate = getOvfVmTemplate; /** * The `vsphere.getOvfVmTemplate` data source can be used to submit an OVF to * vSphere and extract its hardware settings in a form that can be then used as * inputs for a `vsphere.VirtualMachine` resource. */ function getOvfVmTemplateOutput(args, opts) { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("vsphere:index/getOvfVmTemplate:getOvfVmTemplate", { "allowUnverifiedSslCert": args.allowUnverifiedSslCert, "datastoreId": args.datastoreId, "deploymentOption": args.deploymentOption, "diskProvisioning": args.diskProvisioning, "enableHiddenProperties": args.enableHiddenProperties, "folder": args.folder, "hostSystemId": args.hostSystemId, "ipAllocationPolicy": args.ipAllocationPolicy, "ipProtocol": args.ipProtocol, "localOvfPath": args.localOvfPath, "name": args.name, "ovfNetworkMap": args.ovfNetworkMap, "remoteOvfUrl": args.remoteOvfUrl, "resourcePoolId": args.resourcePoolId, }, opts); } exports.getOvfVmTemplateOutput = getOvfVmTemplateOutput; //# sourceMappingURL=getOvfVmTemplate.js.map