@pulumi/linode
Version:
A Pulumi package for creating and managing linode cloud resources.
56 lines • 2.39 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.getProducerImageShareGroupOutput = exports.getProducerImageShareGroup = void 0;
const pulumi = require("@pulumi/pulumi");
const utilities = require("./utilities");
/**
* `linode.ProducerImageShareGroup` provides details about an Image Share Group.
* For more information, see the [Linode APIv4 docs](https://techdocs.akamai.com/linode-api/reference/get-sharegroup). May not be currently available to all users even under v4beta.
*
* ## Example Usage
*
* The following example shows how the datasource might be used to obtain additional information about an Image Share Group.
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as linode from "@pulumi/linode";
*
* const sg = linode.getProducerImageShareGroup({
* id: 12345,
* });
* ```
*/
function getProducerImageShareGroup(args, opts) {
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
return pulumi.runtime.invoke("linode:index/getProducerImageShareGroup:getProducerImageShareGroup", {
"id": args.id,
}, opts);
}
exports.getProducerImageShareGroup = getProducerImageShareGroup;
/**
* `linode.ProducerImageShareGroup` provides details about an Image Share Group.
* For more information, see the [Linode APIv4 docs](https://techdocs.akamai.com/linode-api/reference/get-sharegroup). May not be currently available to all users even under v4beta.
*
* ## Example Usage
*
* The following example shows how the datasource might be used to obtain additional information about an Image Share Group.
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as linode from "@pulumi/linode";
*
* const sg = linode.getProducerImageShareGroup({
* id: 12345,
* });
* ```
*/
function getProducerImageShareGroupOutput(args, opts) {
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
return pulumi.runtime.invokeOutput("linode:index/getProducerImageShareGroup:getProducerImageShareGroup", {
"id": args.id,
}, opts);
}
exports.getProducerImageShareGroupOutput = getProducerImageShareGroupOutput;
//# sourceMappingURL=getProducerImageShareGroup.js.map