@pulumi/openstack
Version:
A Pulumi package for creating and managing OpenStack cloud resources.
58 lines • 1.83 kB
JavaScript
;
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
Object.defineProperty(exports, "__esModule", { value: true });
exports.getAggregateV2Output = exports.getAggregateV2 = void 0;
const pulumi = require("@pulumi/pulumi");
const utilities = require("../utilities");
/**
* Use this data source to get information about host aggregates
* by name.
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as openstack from "@pulumi/openstack";
*
* const test = openstack.compute.getAggregateV2({
* name: "test",
* });
* ```
*/
function getAggregateV2(args, opts) {
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
return pulumi.runtime.invoke("openstack:compute/getAggregateV2:getAggregateV2", {
"hosts": args.hosts,
"metadata": args.metadata,
"name": args.name,
"region": args.region,
}, opts);
}
exports.getAggregateV2 = getAggregateV2;
/**
* Use this data source to get information about host aggregates
* by name.
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as openstack from "@pulumi/openstack";
*
* const test = openstack.compute.getAggregateV2({
* name: "test",
* });
* ```
*/
function getAggregateV2Output(args, opts) {
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
return pulumi.runtime.invokeOutput("openstack:compute/getAggregateV2:getAggregateV2", {
"hosts": args.hosts,
"metadata": args.metadata,
"name": args.name,
"region": args.region,
}, opts);
}
exports.getAggregateV2Output = getAggregateV2Output;
//# sourceMappingURL=getAggregateV2.js.map