@pulumi/vsphere
Version:
A Pulumi package for creating vsphere resources
40 lines • 1.69 kB
JavaScript
;
// *** 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.getContentLibraryItemOutput = exports.getContentLibraryItem = void 0;
const pulumi = require("@pulumi/pulumi");
const utilities = require("./utilities");
/**
* The `vsphere.ContentLibraryItem` data source can be used to discover the ID
* of a content library item.
*
* > **NOTE:** This resource requires vCenter and is not available on direct ESXi
* host connections.
*/
function getContentLibraryItem(args, opts) {
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
return pulumi.runtime.invoke("vsphere:index/getContentLibraryItem:getContentLibraryItem", {
"libraryId": args.libraryId,
"name": args.name,
"type": args.type,
}, opts);
}
exports.getContentLibraryItem = getContentLibraryItem;
/**
* The `vsphere.ContentLibraryItem` data source can be used to discover the ID
* of a content library item.
*
* > **NOTE:** This resource requires vCenter and is not available on direct ESXi
* host connections.
*/
function getContentLibraryItemOutput(args, opts) {
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
return pulumi.runtime.invokeOutput("vsphere:index/getContentLibraryItem:getContentLibraryItem", {
"libraryId": args.libraryId,
"name": args.name,
"type": args.type,
}, opts);
}
exports.getContentLibraryItemOutput = getContentLibraryItemOutput;
//# sourceMappingURL=getContentLibraryItem.js.map