Fastly v8.13.0 published on Wednesday, Nov 13, 2024 by Pulumi
fastly.getTlsSubscription
Explore with Pulumi AI
Use this data source to get information about a TLS subscription.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as fastly from "@pulumi/fastly";
const example = fastly.getTlsSubscription({
domains: ["example.com"],
});
import pulumi
import pulumi_fastly as fastly
example = fastly.get_tls_subscription(domains=["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.LookupTlsSubscription(ctx, &fastly.LookupTlsSubscriptionArgs{
Domains: []string{
"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 example = Fastly.GetTlsSubscription.Invoke(new()
{
Domains = new[]
{
"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.GetTlsSubscriptionArgs;
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 example = FastlyFunctions.getTlsSubscription(GetTlsSubscriptionArgs.builder()
.domains("example.com")
.build());
}
}
variables:
example:
fn::invoke:
Function: fastly:getTlsSubscription
Arguments:
domains:
- example.com
Using getTlsSubscription
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 getTlsSubscription(args: GetTlsSubscriptionArgs, opts?: InvokeOptions): Promise<GetTlsSubscriptionResult>
function getTlsSubscriptionOutput(args: GetTlsSubscriptionOutputArgs, opts?: InvokeOptions): Output<GetTlsSubscriptionResult>
def get_tls_subscription(certificate_authority: Optional[str] = None,
configuration_id: Optional[str] = None,
domains: Optional[Sequence[str]] = None,
id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetTlsSubscriptionResult
def get_tls_subscription_output(certificate_authority: Optional[pulumi.Input[str]] = None,
configuration_id: Optional[pulumi.Input[str]] = None,
domains: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetTlsSubscriptionResult]
func LookupTlsSubscription(ctx *Context, args *LookupTlsSubscriptionArgs, opts ...InvokeOption) (*LookupTlsSubscriptionResult, error)
func LookupTlsSubscriptionOutput(ctx *Context, args *LookupTlsSubscriptionOutputArgs, opts ...InvokeOption) LookupTlsSubscriptionResultOutput
> Note: This function is named LookupTlsSubscription
in the Go SDK.
public static class GetTlsSubscription
{
public static Task<GetTlsSubscriptionResult> InvokeAsync(GetTlsSubscriptionArgs args, InvokeOptions? opts = null)
public static Output<GetTlsSubscriptionResult> Invoke(GetTlsSubscriptionInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetTlsSubscriptionResult> getTlsSubscription(GetTlsSubscriptionArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: fastly:index/getTlsSubscription:getTlsSubscription
arguments:
# arguments dictionary
The following arguments are supported:
- string
- The entity that issues and certifies the TLS certificates for the subscription.
- Configuration
Id string - ID of TLS configuration used to terminate TLS traffic.
- Domains List<string>
- List of domains on which to enable TLS.
- Id string
- ID of TLS subscription. Conflicts with all the other filters.
- string
- The entity that issues and certifies the TLS certificates for the subscription.
- Configuration
Id string - ID of TLS configuration used to terminate TLS traffic.
- Domains []string
- List of domains on which to enable TLS.
- Id string
- ID of TLS subscription. Conflicts with all the other filters.
- String
- The entity that issues and certifies the TLS certificates for the subscription.
- configuration
Id String - ID of TLS configuration used to terminate TLS traffic.
- domains List<String>
- List of domains on which to enable TLS.
- id String
- ID of TLS subscription. Conflicts with all the other filters.
- string
- The entity that issues and certifies the TLS certificates for the subscription.
- configuration
Id string - ID of TLS configuration used to terminate TLS traffic.
- domains string[]
- List of domains on which to enable TLS.
- id string
- ID of TLS subscription. Conflicts with all the other filters.
- str
- The entity that issues and certifies the TLS certificates for the subscription.
- configuration_
id str - ID of TLS configuration used to terminate TLS traffic.
- domains Sequence[str]
- List of domains on which to enable TLS.
- id str
- ID of TLS subscription. Conflicts with all the other filters.
- String
- The entity that issues and certifies the TLS certificates for the subscription.
- configuration
Id String - ID of TLS configuration used to terminate TLS traffic.
- domains List<String>
- List of domains on which to enable TLS.
- id String
- ID of TLS subscription. Conflicts with all the other filters.
getTlsSubscription Result
The following output properties are available:
- string
- The entity that issues and certifies the TLS certificates for the subscription.
- Certificate
Ids List<string> - List of certificate IDs associated with the Subscription.
- Common
Name string - The common name associated with the subscription generated by Fastly TLS.
- Configuration
Id string - ID of TLS configuration used to terminate TLS traffic.
- Created
At string - Timestamp (GMT) when subscription was created.
- Domains List<string>
- List of domains on which to enable TLS.
- Id string
- ID of TLS subscription. Conflicts with all the other filters.
- State string
- The current state of the subscription. The list of possible states are:
pending
,processing
,issued
, andrenewing
. - Updated
At string - Timestamp (GMT) when subscription was last updated.
- string
- The entity that issues and certifies the TLS certificates for the subscription.
- Certificate
Ids []string - List of certificate IDs associated with the Subscription.
- Common
Name string - The common name associated with the subscription generated by Fastly TLS.
- Configuration
Id string - ID of TLS configuration used to terminate TLS traffic.
- Created
At string - Timestamp (GMT) when subscription was created.
- Domains []string
- List of domains on which to enable TLS.
- Id string
- ID of TLS subscription. Conflicts with all the other filters.
- State string
- The current state of the subscription. The list of possible states are:
pending
,processing
,issued
, andrenewing
. - Updated
At string - Timestamp (GMT) when subscription was last updated.
- String
- The entity that issues and certifies the TLS certificates for the subscription.
- certificate
Ids List<String> - List of certificate IDs associated with the Subscription.
- common
Name String - The common name associated with the subscription generated by Fastly TLS.
- configuration
Id String - ID of TLS configuration used to terminate TLS traffic.
- created
At String - Timestamp (GMT) when subscription was created.
- domains List<String>
- List of domains on which to enable TLS.
- id String
- ID of TLS subscription. Conflicts with all the other filters.
- state String
- The current state of the subscription. The list of possible states are:
pending
,processing
,issued
, andrenewing
. - updated
At String - Timestamp (GMT) when subscription was last updated.
- string
- The entity that issues and certifies the TLS certificates for the subscription.
- certificate
Ids string[] - List of certificate IDs associated with the Subscription.
- common
Name string - The common name associated with the subscription generated by Fastly TLS.
- configuration
Id string - ID of TLS configuration used to terminate TLS traffic.
- created
At string - Timestamp (GMT) when subscription was created.
- domains string[]
- List of domains on which to enable TLS.
- id string
- ID of TLS subscription. Conflicts with all the other filters.
- state string
- The current state of the subscription. The list of possible states are:
pending
,processing
,issued
, andrenewing
. - updated
At string - Timestamp (GMT) when subscription was last updated.
- str
- The entity that issues and certifies the TLS certificates for the subscription.
- certificate_
ids Sequence[str] - List of certificate IDs associated with the Subscription.
- common_
name str - The common name associated with the subscription generated by Fastly TLS.
- configuration_
id str - ID of TLS configuration used to terminate TLS traffic.
- created_
at str - Timestamp (GMT) when subscription was created.
- domains Sequence[str]
- List of domains on which to enable TLS.
- id str
- ID of TLS subscription. Conflicts with all the other filters.
- state str
- The current state of the subscription. The list of possible states are:
pending
,processing
,issued
, andrenewing
. - updated_
at str - Timestamp (GMT) when subscription was last updated.
- String
- The entity that issues and certifies the TLS certificates for the subscription.
- certificate
Ids List<String> - List of certificate IDs associated with the Subscription.
- common
Name String - The common name associated with the subscription generated by Fastly TLS.
- configuration
Id String - ID of TLS configuration used to terminate TLS traffic.
- created
At String - Timestamp (GMT) when subscription was created.
- domains List<String>
- List of domains on which to enable TLS.
- id String
- ID of TLS subscription. Conflicts with all the other filters.
- state String
- The current state of the subscription. The list of possible states are:
pending
,processing
,issued
, andrenewing
. - updated
At String - Timestamp (GMT) when subscription was last updated.
Package Details
- Repository
- Fastly pulumi/pulumi-fastly
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
fastly
Terraform Provider.