Viewing docs for Cloudflare v6.13.0
published on Wednesday, Jan 21, 2026 by Pulumi
published on Wednesday, Jan 21, 2026 by Pulumi
Viewing docs for Cloudflare v6.13.0
published on Wednesday, Jan 21, 2026 by Pulumi
published on Wednesday, Jan 21, 2026 by Pulumi
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as cloudflare from "@pulumi/cloudflare";
const exampleZeroTrustAccessMtlsCertificate = cloudflare.getZeroTrustAccessMtlsCertificate({
certificateId: "f174e90a-fafe-4643-bbbc-4a0ed4fc8415",
accountId: "account_id",
zoneId: "zone_id",
});
import pulumi
import pulumi_cloudflare as cloudflare
example_zero_trust_access_mtls_certificate = cloudflare.get_zero_trust_access_mtls_certificate(certificate_id="f174e90a-fafe-4643-bbbc-4a0ed4fc8415",
account_id="account_id",
zone_id="zone_id")
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.LookupZeroTrustAccessMtlsCertificate(ctx, &cloudflare.LookupZeroTrustAccessMtlsCertificateArgs{
CertificateId: "f174e90a-fafe-4643-bbbc-4a0ed4fc8415",
AccountId: pulumi.StringRef("account_id"),
ZoneId: pulumi.StringRef("zone_id"),
}, 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 exampleZeroTrustAccessMtlsCertificate = Cloudflare.GetZeroTrustAccessMtlsCertificate.Invoke(new()
{
CertificateId = "f174e90a-fafe-4643-bbbc-4a0ed4fc8415",
AccountId = "account_id",
ZoneId = "zone_id",
});
});
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.GetZeroTrustAccessMtlsCertificateArgs;
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 exampleZeroTrustAccessMtlsCertificate = CloudflareFunctions.getZeroTrustAccessMtlsCertificate(GetZeroTrustAccessMtlsCertificateArgs.builder()
.certificateId("f174e90a-fafe-4643-bbbc-4a0ed4fc8415")
.accountId("account_id")
.zoneId("zone_id")
.build());
}
}
variables:
exampleZeroTrustAccessMtlsCertificate:
fn::invoke:
function: cloudflare:getZeroTrustAccessMtlsCertificate
arguments:
certificateId: f174e90a-fafe-4643-bbbc-4a0ed4fc8415
accountId: account_id
zoneId: zone_id
Using getZeroTrustAccessMtlsCertificate
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 getZeroTrustAccessMtlsCertificate(args: GetZeroTrustAccessMtlsCertificateArgs, opts?: InvokeOptions): Promise<GetZeroTrustAccessMtlsCertificateResult>
function getZeroTrustAccessMtlsCertificateOutput(args: GetZeroTrustAccessMtlsCertificateOutputArgs, opts?: InvokeOptions): Output<GetZeroTrustAccessMtlsCertificateResult>def get_zero_trust_access_mtls_certificate(account_id: Optional[str] = None,
certificate_id: Optional[str] = None,
zone_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetZeroTrustAccessMtlsCertificateResult
def get_zero_trust_access_mtls_certificate_output(account_id: Optional[pulumi.Input[str]] = None,
certificate_id: Optional[pulumi.Input[str]] = None,
zone_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetZeroTrustAccessMtlsCertificateResult]func LookupZeroTrustAccessMtlsCertificate(ctx *Context, args *LookupZeroTrustAccessMtlsCertificateArgs, opts ...InvokeOption) (*LookupZeroTrustAccessMtlsCertificateResult, error)
func LookupZeroTrustAccessMtlsCertificateOutput(ctx *Context, args *LookupZeroTrustAccessMtlsCertificateOutputArgs, opts ...InvokeOption) LookupZeroTrustAccessMtlsCertificateResultOutput> Note: This function is named LookupZeroTrustAccessMtlsCertificate in the Go SDK.
public static class GetZeroTrustAccessMtlsCertificate
{
public static Task<GetZeroTrustAccessMtlsCertificateResult> InvokeAsync(GetZeroTrustAccessMtlsCertificateArgs args, InvokeOptions? opts = null)
public static Output<GetZeroTrustAccessMtlsCertificateResult> Invoke(GetZeroTrustAccessMtlsCertificateInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetZeroTrustAccessMtlsCertificateResult> getZeroTrustAccessMtlsCertificate(GetZeroTrustAccessMtlsCertificateArgs args, InvokeOptions options)
public static Output<GetZeroTrustAccessMtlsCertificateResult> getZeroTrustAccessMtlsCertificate(GetZeroTrustAccessMtlsCertificateArgs args, InvokeOptions options)
fn::invoke:
function: cloudflare:index/getZeroTrustAccessMtlsCertificate:getZeroTrustAccessMtlsCertificate
arguments:
# arguments dictionaryThe following arguments are supported:
- Certificate
Id string - UUID.
- Account
Id string - The Account ID to use for this endpoint. Mutually exclusive with the Zone ID.
- Zone
Id string - The Zone ID to use for this endpoint. Mutually exclusive with the Account ID.
- Certificate
Id string - UUID.
- Account
Id string - The Account ID to use for this endpoint. Mutually exclusive with the Zone ID.
- Zone
Id string - The Zone ID to use for this endpoint. Mutually exclusive with the Account ID.
- certificate
Id String - UUID.
- account
Id String - The Account ID to use for this endpoint. Mutually exclusive with the Zone ID.
- zone
Id String - The Zone ID to use for this endpoint. Mutually exclusive with the Account ID.
- certificate
Id string - UUID.
- account
Id string - The Account ID to use for this endpoint. Mutually exclusive with the Zone ID.
- zone
Id string - The Zone ID to use for this endpoint. Mutually exclusive with the Account ID.
- certificate_
id str - UUID.
- account_
id str - The Account ID to use for this endpoint. Mutually exclusive with the Zone ID.
- zone_
id str - The Zone ID to use for this endpoint. Mutually exclusive with the Account ID.
- certificate
Id String - UUID.
- account
Id String - The Account ID to use for this endpoint. Mutually exclusive with the Zone ID.
- zone
Id String - The Zone ID to use for this endpoint. Mutually exclusive with the Account ID.
getZeroTrustAccessMtlsCertificate Result
The following output properties are available:
- Associated
Hostnames List<string> - The hostnames of the applications that will use this certificate.
- Certificate
Id string - UUID.
- Expires
On string - Fingerprint string
- The MD5 fingerprint of the certificate.
- Id string
- UUID.
- Name string
- The name of the certificate.
- Account
Id string - The Account ID to use for this endpoint. Mutually exclusive with the Zone ID.
- Zone
Id string - The Zone ID to use for this endpoint. Mutually exclusive with the Account ID.
- Associated
Hostnames []string - The hostnames of the applications that will use this certificate.
- Certificate
Id string - UUID.
- Expires
On string - Fingerprint string
- The MD5 fingerprint of the certificate.
- Id string
- UUID.
- Name string
- The name of the certificate.
- Account
Id string - The Account ID to use for this endpoint. Mutually exclusive with the Zone ID.
- Zone
Id string - The Zone ID to use for this endpoint. Mutually exclusive with the Account ID.
- associated
Hostnames List<String> - The hostnames of the applications that will use this certificate.
- certificate
Id String - UUID.
- expires
On String - fingerprint String
- The MD5 fingerprint of the certificate.
- id String
- UUID.
- name String
- The name of the certificate.
- account
Id String - The Account ID to use for this endpoint. Mutually exclusive with the Zone ID.
- zone
Id String - The Zone ID to use for this endpoint. Mutually exclusive with the Account ID.
- associated
Hostnames string[] - The hostnames of the applications that will use this certificate.
- certificate
Id string - UUID.
- expires
On string - fingerprint string
- The MD5 fingerprint of the certificate.
- id string
- UUID.
- name string
- The name of the certificate.
- account
Id string - The Account ID to use for this endpoint. Mutually exclusive with the Zone ID.
- zone
Id string - The Zone ID to use for this endpoint. Mutually exclusive with the Account ID.
- associated_
hostnames Sequence[str] - The hostnames of the applications that will use this certificate.
- certificate_
id str - UUID.
- expires_
on str - fingerprint str
- The MD5 fingerprint of the certificate.
- id str
- UUID.
- name str
- The name of the certificate.
- account_
id str - The Account ID to use for this endpoint. Mutually exclusive with the Zone ID.
- zone_
id str - The Zone ID to use for this endpoint. Mutually exclusive with the Account ID.
- associated
Hostnames List<String> - The hostnames of the applications that will use this certificate.
- certificate
Id String - UUID.
- expires
On String - fingerprint String
- The MD5 fingerprint of the certificate.
- id String
- UUID.
- name String
- The name of the certificate.
- account
Id String - The Account ID to use for this endpoint. Mutually exclusive with the Zone ID.
- zone
Id String - The Zone ID to use for this endpoint. Mutually exclusive with the Account ID.
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.13.0
published on Wednesday, Jan 21, 2026 by Pulumi
published on Wednesday, Jan 21, 2026 by Pulumi
