Fastly v8.13.0 published on Wednesday, Nov 13, 2024 by Pulumi
fastly.getTlsDomain
Explore with Pulumi AI
Use this data source to get the IDs of activations, certificates and subscriptions associated with a domain.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as fastly from "@pulumi/fastly";
const domain = fastly.getTlsDomain({
domain: "example.com",
});
import pulumi
import pulumi_fastly as fastly
domain = fastly.get_tls_domain(domain="example.com")
package main
import (
"github.com/pulumi/pulumi-fastly/sdk/v8/go/fastly"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := fastly.GetTlsDomain(ctx, &fastly.GetTlsDomainArgs{
Domain: "example.com",
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Fastly = Pulumi.Fastly;
return await Deployment.RunAsync(() =>
{
var domain = Fastly.GetTlsDomain.Invoke(new()
{
Domain = "example.com",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.fastly.FastlyFunctions;
import com.pulumi.fastly.inputs.GetTlsDomainArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var domain = FastlyFunctions.getTlsDomain(GetTlsDomainArgs.builder()
.domain("example.com")
.build());
}
}
variables:
domain:
fn::invoke:
Function: fastly:getTlsDomain
Arguments:
domain: example.com
Using getTlsDomain
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getTlsDomain(args: GetTlsDomainArgs, opts?: InvokeOptions): Promise<GetTlsDomainResult>
function getTlsDomainOutput(args: GetTlsDomainOutputArgs, opts?: InvokeOptions): Output<GetTlsDomainResult>
def get_tls_domain(domain: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetTlsDomainResult
def get_tls_domain_output(domain: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetTlsDomainResult]
func GetTlsDomain(ctx *Context, args *GetTlsDomainArgs, opts ...InvokeOption) (*GetTlsDomainResult, error)
func GetTlsDomainOutput(ctx *Context, args *GetTlsDomainOutputArgs, opts ...InvokeOption) GetTlsDomainResultOutput
> Note: This function is named GetTlsDomain
in the Go SDK.
public static class GetTlsDomain
{
public static Task<GetTlsDomainResult> InvokeAsync(GetTlsDomainArgs args, InvokeOptions? opts = null)
public static Output<GetTlsDomainResult> Invoke(GetTlsDomainInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetTlsDomainResult> getTlsDomain(GetTlsDomainArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: fastly:index/getTlsDomain:getTlsDomain
arguments:
# arguments dictionary
The following arguments are supported:
- Domain string
- Domain name to look up activations, certificates and subscriptions for.
- Domain string
- Domain name to look up activations, certificates and subscriptions for.
- domain String
- Domain name to look up activations, certificates and subscriptions for.
- domain string
- Domain name to look up activations, certificates and subscriptions for.
- domain str
- Domain name to look up activations, certificates and subscriptions for.
- domain String
- Domain name to look up activations, certificates and subscriptions for.
getTlsDomain Result
The following output properties are available:
- Domain string
- Domain name to look up activations, certificates and subscriptions for.
- Id string
- The provider-assigned unique ID for this managed resource.
- Tls
Activation List<string>Ids - IDs of the activations associated with the domain.
- Tls
Certificate List<string>Ids - IDs of the certificates associated with the domain.
- Tls
Subscription List<string>Ids - IDs of the subscriptions associated with the domain.
- Domain string
- Domain name to look up activations, certificates and subscriptions for.
- Id string
- The provider-assigned unique ID for this managed resource.
- Tls
Activation []stringIds - IDs of the activations associated with the domain.
- Tls
Certificate []stringIds - IDs of the certificates associated with the domain.
- Tls
Subscription []stringIds - IDs of the subscriptions associated with the domain.
- domain String
- Domain name to look up activations, certificates and subscriptions for.
- id String
- The provider-assigned unique ID for this managed resource.
- tls
Activation List<String>Ids - IDs of the activations associated with the domain.
- tls
Certificate List<String>Ids - IDs of the certificates associated with the domain.
- tls
Subscription List<String>Ids - IDs of the subscriptions associated with the domain.
- domain string
- Domain name to look up activations, certificates and subscriptions for.
- id string
- The provider-assigned unique ID for this managed resource.
- tls
Activation string[]Ids - IDs of the activations associated with the domain.
- tls
Certificate string[]Ids - IDs of the certificates associated with the domain.
- tls
Subscription string[]Ids - IDs of the subscriptions associated with the domain.
- domain str
- Domain name to look up activations, certificates and subscriptions for.
- id str
- The provider-assigned unique ID for this managed resource.
- tls_
activation_ Sequence[str]ids - IDs of the activations associated with the domain.
- tls_
certificate_ Sequence[str]ids - IDs of the certificates associated with the domain.
- tls_
subscription_ Sequence[str]ids - IDs of the subscriptions associated with the domain.
- domain String
- Domain name to look up activations, certificates and subscriptions for.
- id String
- The provider-assigned unique ID for this managed resource.
- tls
Activation List<String>Ids - IDs of the activations associated with the domain.
- tls
Certificate List<String>Ids - IDs of the certificates associated with the domain.
- tls
Subscription List<String>Ids - IDs of the subscriptions associated with the domain.
Package Details
- Repository
- Fastly pulumi/pulumi-fastly
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
fastly
Terraform Provider.