@pulumi/fastly
Version:
A Pulumi package for creating and managing fastly cloud resources.. Based on terraform-provider-fastly: version v4
50 lines • 1.67 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.getTlsDomainOutput = exports.getTlsDomain = void 0;
const pulumi = require("@pulumi/pulumi");
const utilities = require("./utilities");
/**
* Use this data source to get the IDs of activations, certificates and subscriptions associated with a domain.
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as fastly from "@pulumi/fastly";
*
* const domain = fastly.getTlsDomain({
* domain: "example.com",
* });
* ```
*/
function getTlsDomain(args, opts) {
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
return pulumi.runtime.invoke("fastly:index/getTlsDomain:getTlsDomain", {
"domain": args.domain,
}, opts);
}
exports.getTlsDomain = getTlsDomain;
/**
* Use this data source to get the IDs of activations, certificates and subscriptions associated with a domain.
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as fastly from "@pulumi/fastly";
*
* const domain = fastly.getTlsDomain({
* domain: "example.com",
* });
* ```
*/
function getTlsDomainOutput(args, opts) {
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
return pulumi.runtime.invokeOutput("fastly:index/getTlsDomain:getTlsDomain", {
"domain": args.domain,
}, opts);
}
exports.getTlsDomainOutput = getTlsDomainOutput;
//# sourceMappingURL=getTlsDomain.js.map