Fastly v8.13.0 published on Wednesday, Nov 13, 2024 by Pulumi
fastly.getTlsActivationIds
Explore with Pulumi AI
Use this data source to get the list of TLS Activation identifiers in Fastly.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as fastly from "@pulumi/fastly";
const example = fastly.getTlsActivationIds({
certificateId: exampleFastlyTlsCertificate.id,
});
const exampleGetTlsActivation = example.then(example => .reduce((__obj, [, ]) => ({ ...__obj, [__key]: fastly.getTlsActivation({
id: __value,
}) })));
export const activationDomains = exampleGetTlsActivation.apply(exampleGetTlsActivation => Object.values(exampleGetTlsActivation).map(a => (a.domain)));
import pulumi
import pulumi_fastly as fastly
example = fastly.get_tls_activation_ids(certificate_id=example_fastly_tls_certificate["id"])
example_get_tls_activation = {__key: fastly.get_tls_activation(id=__value) for __key, __value in example.ids}
pulumi.export("activationDomains", [a.domain for a in example_get_tls_activation])
Coming soon!
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Fastly = Pulumi.Fastly;
return await Deployment.RunAsync(() =>
{
var example = Fastly.GetTlsActivationIds.Invoke(new()
{
CertificateId = exampleFastlyTlsCertificate.Id,
});
var exampleGetTlsActivation = ;
return new Dictionary<string, object?>
{
["activationDomains"] = exampleGetTlsActivation.Apply(exampleGetTlsActivation => (exampleGetTlsActivation).Values.Select(a =>
{
return a.Domain;
}).ToList()),
};
});
Coming soon!
Coming soon!
Using getTlsActivationIds
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 getTlsActivationIds(args: GetTlsActivationIdsArgs, opts?: InvokeOptions): Promise<GetTlsActivationIdsResult>
function getTlsActivationIdsOutput(args: GetTlsActivationIdsOutputArgs, opts?: InvokeOptions): Output<GetTlsActivationIdsResult>
def get_tls_activation_ids(certificate_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetTlsActivationIdsResult
def get_tls_activation_ids_output(certificate_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetTlsActivationIdsResult]
func GetTlsActivationIds(ctx *Context, args *GetTlsActivationIdsArgs, opts ...InvokeOption) (*GetTlsActivationIdsResult, error)
func GetTlsActivationIdsOutput(ctx *Context, args *GetTlsActivationIdsOutputArgs, opts ...InvokeOption) GetTlsActivationIdsResultOutput
> Note: This function is named GetTlsActivationIds
in the Go SDK.
public static class GetTlsActivationIds
{
public static Task<GetTlsActivationIdsResult> InvokeAsync(GetTlsActivationIdsArgs args, InvokeOptions? opts = null)
public static Output<GetTlsActivationIdsResult> Invoke(GetTlsActivationIdsInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetTlsActivationIdsResult> getTlsActivationIds(GetTlsActivationIdsArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: fastly:index/getTlsActivationIds:getTlsActivationIds
arguments:
# arguments dictionary
The following arguments are supported:
- Certificate
Id string - ID of TLS certificate used to filter activations
- Certificate
Id string - ID of TLS certificate used to filter activations
- certificate
Id String - ID of TLS certificate used to filter activations
- certificate
Id string - ID of TLS certificate used to filter activations
- certificate_
id str - ID of TLS certificate used to filter activations
- certificate
Id String - ID of TLS certificate used to filter activations
getTlsActivationIds Result
The following output properties are available:
- Id string
- The provider-assigned unique ID for this managed resource.
- Ids List<string>
- List of IDs of the TLS Activations.
- Certificate
Id string - ID of TLS certificate used to filter activations
- Id string
- The provider-assigned unique ID for this managed resource.
- Ids []string
- List of IDs of the TLS Activations.
- Certificate
Id string - ID of TLS certificate used to filter activations
- id String
- The provider-assigned unique ID for this managed resource.
- ids List<String>
- List of IDs of the TLS Activations.
- certificate
Id String - ID of TLS certificate used to filter activations
- id string
- The provider-assigned unique ID for this managed resource.
- ids string[]
- List of IDs of the TLS Activations.
- certificate
Id string - ID of TLS certificate used to filter activations
- id str
- The provider-assigned unique ID for this managed resource.
- ids Sequence[str]
- List of IDs of the TLS Activations.
- certificate_
id str - ID of TLS certificate used to filter activations
- id String
- The provider-assigned unique ID for this managed resource.
- ids List<String>
- List of IDs of the TLS Activations.
- certificate
Id String - ID of TLS certificate used to filter activations
Package Details
- Repository
- Fastly pulumi/pulumi-fastly
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
fastly
Terraform Provider.