Viewing docs for Cloudflare v6.15.0
published on Saturday, May 2, 2026 by Pulumi
published on Saturday, May 2, 2026 by Pulumi
Viewing docs for Cloudflare v6.15.0
published on Saturday, May 2, 2026 by Pulumi
published on Saturday, May 2, 2026 by Pulumi
Accepted Permissions
SSL and Certificates ReadSSL and Certificates Write
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as cloudflare from "@pulumi/cloudflare";
const exampleCertificateAuthoritiesHostnameAssociations = cloudflare.getCertificateAuthoritiesHostnameAssociations({
zoneId: "023e105f4ecef8ad9ca31a8372d0c353",
mtlsCertificateId: "b2134436-2555-4acf-be5b-26c48136575e",
});
import pulumi
import pulumi_cloudflare as cloudflare
example_certificate_authorities_hostname_associations = cloudflare.get_certificate_authorities_hostname_associations(zone_id="023e105f4ecef8ad9ca31a8372d0c353",
mtls_certificate_id="b2134436-2555-4acf-be5b-26c48136575e")
package main
import (
"github.com/pulumi/pulumi-cloudflare/sdk/v6/go/cloudflare"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := cloudflare.GetCertificateAuthoritiesHostnameAssociations(ctx, &cloudflare.LookupCertificateAuthoritiesHostnameAssociationsArgs{
ZoneId: pulumi.StringRef("023e105f4ecef8ad9ca31a8372d0c353"),
MtlsCertificateId: pulumi.StringRef("b2134436-2555-4acf-be5b-26c48136575e"),
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Cloudflare = Pulumi.Cloudflare;
return await Deployment.RunAsync(() =>
{
var exampleCertificateAuthoritiesHostnameAssociations = Cloudflare.Index.GetCertificateAuthoritiesHostnameAssociations.Invoke(new()
{
ZoneId = "023e105f4ecef8ad9ca31a8372d0c353",
MtlsCertificateId = "b2134436-2555-4acf-be5b-26c48136575e",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.cloudflare.CloudflareFunctions;
import com.pulumi.cloudflare.inputs.GetCertificateAuthoritiesHostnameAssociationsArgs;
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 exampleCertificateAuthoritiesHostnameAssociations = CloudflareFunctions.getCertificateAuthoritiesHostnameAssociations(GetCertificateAuthoritiesHostnameAssociationsArgs.builder()
.zoneId("023e105f4ecef8ad9ca31a8372d0c353")
.mtlsCertificateId("b2134436-2555-4acf-be5b-26c48136575e")
.build());
}
}
variables:
exampleCertificateAuthoritiesHostnameAssociations:
fn::invoke:
function: cloudflare:getCertificateAuthoritiesHostnameAssociations
arguments:
zoneId: 023e105f4ecef8ad9ca31a8372d0c353
mtlsCertificateId: b2134436-2555-4acf-be5b-26c48136575e
Using getCertificateAuthoritiesHostnameAssociations
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 getCertificateAuthoritiesHostnameAssociations(args: GetCertificateAuthoritiesHostnameAssociationsArgs, opts?: InvokeOptions): Promise<GetCertificateAuthoritiesHostnameAssociationsResult>
function getCertificateAuthoritiesHostnameAssociationsOutput(args: GetCertificateAuthoritiesHostnameAssociationsOutputArgs, opts?: InvokeOptions): Output<GetCertificateAuthoritiesHostnameAssociationsResult>def get_certificate_authorities_hostname_associations(mtls_certificate_id: Optional[str] = None,
zone_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetCertificateAuthoritiesHostnameAssociationsResult
def get_certificate_authorities_hostname_associations_output(mtls_certificate_id: Optional[pulumi.Input[str]] = None,
zone_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetCertificateAuthoritiesHostnameAssociationsResult]func LookupCertificateAuthoritiesHostnameAssociations(ctx *Context, args *LookupCertificateAuthoritiesHostnameAssociationsArgs, opts ...InvokeOption) (*LookupCertificateAuthoritiesHostnameAssociationsResult, error)
func LookupCertificateAuthoritiesHostnameAssociationsOutput(ctx *Context, args *LookupCertificateAuthoritiesHostnameAssociationsOutputArgs, opts ...InvokeOption) LookupCertificateAuthoritiesHostnameAssociationsResultOutput> Note: This function is named LookupCertificateAuthoritiesHostnameAssociations in the Go SDK.
public static class GetCertificateAuthoritiesHostnameAssociations
{
public static Task<GetCertificateAuthoritiesHostnameAssociationsResult> InvokeAsync(GetCertificateAuthoritiesHostnameAssociationsArgs args, InvokeOptions? opts = null)
public static Output<GetCertificateAuthoritiesHostnameAssociationsResult> Invoke(GetCertificateAuthoritiesHostnameAssociationsInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetCertificateAuthoritiesHostnameAssociationsResult> getCertificateAuthoritiesHostnameAssociations(GetCertificateAuthoritiesHostnameAssociationsArgs args, InvokeOptions options)
public static Output<GetCertificateAuthoritiesHostnameAssociationsResult> getCertificateAuthoritiesHostnameAssociations(GetCertificateAuthoritiesHostnameAssociationsArgs args, InvokeOptions options)
fn::invoke:
function: cloudflare:index/getCertificateAuthoritiesHostnameAssociations:getCertificateAuthoritiesHostnameAssociations
arguments:
# arguments dictionaryThe following arguments are supported:
- Mtls
Certificate stringId - The UUID to match against for a certificate that was uploaded to the mTLS Certificate Management endpoint. If no mtlscertificateid is given, the results will be the hostnames associated to your active Cloudflare Managed CA.
- Zone
Id string - Identifier.
- Mtls
Certificate stringId - The UUID to match against for a certificate that was uploaded to the mTLS Certificate Management endpoint. If no mtlscertificateid is given, the results will be the hostnames associated to your active Cloudflare Managed CA.
- Zone
Id string - Identifier.
- mtls
Certificate StringId - The UUID to match against for a certificate that was uploaded to the mTLS Certificate Management endpoint. If no mtlscertificateid is given, the results will be the hostnames associated to your active Cloudflare Managed CA.
- zone
Id String - Identifier.
- mtls
Certificate stringId - The UUID to match against for a certificate that was uploaded to the mTLS Certificate Management endpoint. If no mtlscertificateid is given, the results will be the hostnames associated to your active Cloudflare Managed CA.
- zone
Id string - Identifier.
- mtls_
certificate_ strid - The UUID to match against for a certificate that was uploaded to the mTLS Certificate Management endpoint. If no mtlscertificateid is given, the results will be the hostnames associated to your active Cloudflare Managed CA.
- zone_
id str - Identifier.
- mtls
Certificate StringId - The UUID to match against for a certificate that was uploaded to the mTLS Certificate Management endpoint. If no mtlscertificateid is given, the results will be the hostnames associated to your active Cloudflare Managed CA.
- zone
Id String - Identifier.
getCertificateAuthoritiesHostnameAssociations Result
The following output properties are available:
- Hostnames List<string>
- Id string
- Identifier.
- Mtls
Certificate stringId - The UUID to match against for a certificate that was uploaded to the mTLS Certificate Management endpoint. If no mtlscertificateid is given, the results will be the hostnames associated to your active Cloudflare Managed CA.
- Zone
Id string - Identifier.
- Hostnames []string
- Id string
- Identifier.
- Mtls
Certificate stringId - The UUID to match against for a certificate that was uploaded to the mTLS Certificate Management endpoint. If no mtlscertificateid is given, the results will be the hostnames associated to your active Cloudflare Managed CA.
- Zone
Id string - Identifier.
- hostnames List<String>
- id String
- Identifier.
- mtls
Certificate StringId - The UUID to match against for a certificate that was uploaded to the mTLS Certificate Management endpoint. If no mtlscertificateid is given, the results will be the hostnames associated to your active Cloudflare Managed CA.
- zone
Id String - Identifier.
- hostnames string[]
- id string
- Identifier.
- mtls
Certificate stringId - The UUID to match against for a certificate that was uploaded to the mTLS Certificate Management endpoint. If no mtlscertificateid is given, the results will be the hostnames associated to your active Cloudflare Managed CA.
- zone
Id string - Identifier.
- hostnames Sequence[str]
- id str
- Identifier.
- mtls_
certificate_ strid - The UUID to match against for a certificate that was uploaded to the mTLS Certificate Management endpoint. If no mtlscertificateid is given, the results will be the hostnames associated to your active Cloudflare Managed CA.
- zone_
id str - Identifier.
- hostnames List<String>
- id String
- Identifier.
- mtls
Certificate StringId - The UUID to match against for a certificate that was uploaded to the mTLS Certificate Management endpoint. If no mtlscertificateid is given, the results will be the hostnames associated to your active Cloudflare Managed CA.
- zone
Id String - Identifier.
Package Details
- Repository
- Cloudflare pulumi/pulumi-cloudflare
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
cloudflareTerraform Provider.
Viewing docs for Cloudflare v6.15.0
published on Saturday, May 2, 2026 by Pulumi
published on Saturday, May 2, 2026 by Pulumi
