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 exampleZeroTrustAccessMtlsHostnameSettings = cloudflare.getZeroTrustAccessMtlsHostnameSettings({
accountId: "account_id",
zoneId: "zone_id",
});
import pulumi
import pulumi_cloudflare as cloudflare
example_zero_trust_access_mtls_hostname_settings = cloudflare.get_zero_trust_access_mtls_hostname_settings(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.LookupZeroTrustAccessMtlsHostnameSettings(ctx, &cloudflare.LookupZeroTrustAccessMtlsHostnameSettingsArgs{
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 exampleZeroTrustAccessMtlsHostnameSettings = Cloudflare.GetZeroTrustAccessMtlsHostnameSettings.Invoke(new()
{
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.GetZeroTrustAccessMtlsHostnameSettingsArgs;
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 exampleZeroTrustAccessMtlsHostnameSettings = CloudflareFunctions.getZeroTrustAccessMtlsHostnameSettings(GetZeroTrustAccessMtlsHostnameSettingsArgs.builder()
.accountId("account_id")
.zoneId("zone_id")
.build());
}
}
variables:
exampleZeroTrustAccessMtlsHostnameSettings:
fn::invoke:
function: cloudflare:getZeroTrustAccessMtlsHostnameSettings
arguments:
accountId: account_id
zoneId: zone_id
Using getZeroTrustAccessMtlsHostnameSettings
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 getZeroTrustAccessMtlsHostnameSettings(args: GetZeroTrustAccessMtlsHostnameSettingsArgs, opts?: InvokeOptions): Promise<GetZeroTrustAccessMtlsHostnameSettingsResult>
function getZeroTrustAccessMtlsHostnameSettingsOutput(args: GetZeroTrustAccessMtlsHostnameSettingsOutputArgs, opts?: InvokeOptions): Output<GetZeroTrustAccessMtlsHostnameSettingsResult>def get_zero_trust_access_mtls_hostname_settings(account_id: Optional[str] = None,
zone_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetZeroTrustAccessMtlsHostnameSettingsResult
def get_zero_trust_access_mtls_hostname_settings_output(account_id: Optional[pulumi.Input[str]] = None,
zone_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetZeroTrustAccessMtlsHostnameSettingsResult]func LookupZeroTrustAccessMtlsHostnameSettings(ctx *Context, args *LookupZeroTrustAccessMtlsHostnameSettingsArgs, opts ...InvokeOption) (*LookupZeroTrustAccessMtlsHostnameSettingsResult, error)
func LookupZeroTrustAccessMtlsHostnameSettingsOutput(ctx *Context, args *LookupZeroTrustAccessMtlsHostnameSettingsOutputArgs, opts ...InvokeOption) LookupZeroTrustAccessMtlsHostnameSettingsResultOutput> Note: This function is named LookupZeroTrustAccessMtlsHostnameSettings in the Go SDK.
public static class GetZeroTrustAccessMtlsHostnameSettings
{
public static Task<GetZeroTrustAccessMtlsHostnameSettingsResult> InvokeAsync(GetZeroTrustAccessMtlsHostnameSettingsArgs args, InvokeOptions? opts = null)
public static Output<GetZeroTrustAccessMtlsHostnameSettingsResult> Invoke(GetZeroTrustAccessMtlsHostnameSettingsInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetZeroTrustAccessMtlsHostnameSettingsResult> getZeroTrustAccessMtlsHostnameSettings(GetZeroTrustAccessMtlsHostnameSettingsArgs args, InvokeOptions options)
public static Output<GetZeroTrustAccessMtlsHostnameSettingsResult> getZeroTrustAccessMtlsHostnameSettings(GetZeroTrustAccessMtlsHostnameSettingsArgs args, InvokeOptions options)
fn::invoke:
function: cloudflare:index/getZeroTrustAccessMtlsHostnameSettings:getZeroTrustAccessMtlsHostnameSettings
arguments:
# arguments dictionaryThe following arguments are supported:
- 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.
getZeroTrustAccessMtlsHostnameSettings Result
The following output properties are available:
- China
Network bool - Request client certificates for this hostname in China. Can only be set to true if this zone is china network enabled.
- Client
Certificate boolForwarding - Client Certificate Forwarding is a feature that takes the client cert provided by the eyeball to the edge, and forwards it to the origin as a HTTP header to allow logging on the origin.
- Hostname string
- The hostname that these settings apply to.
- Id string
- The provider-assigned unique ID for this managed resource.
- 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.
- China
Network bool - Request client certificates for this hostname in China. Can only be set to true if this zone is china network enabled.
- Client
Certificate boolForwarding - Client Certificate Forwarding is a feature that takes the client cert provided by the eyeball to the edge, and forwards it to the origin as a HTTP header to allow logging on the origin.
- Hostname string
- The hostname that these settings apply to.
- Id string
- The provider-assigned unique ID for this managed resource.
- 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.
- china
Network Boolean - Request client certificates for this hostname in China. Can only be set to true if this zone is china network enabled.
- client
Certificate BooleanForwarding - Client Certificate Forwarding is a feature that takes the client cert provided by the eyeball to the edge, and forwards it to the origin as a HTTP header to allow logging on the origin.
- hostname String
- The hostname that these settings apply to.
- id String
- The provider-assigned unique ID for this managed resource.
- 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.
- china
Network boolean - Request client certificates for this hostname in China. Can only be set to true if this zone is china network enabled.
- client
Certificate booleanForwarding - Client Certificate Forwarding is a feature that takes the client cert provided by the eyeball to the edge, and forwards it to the origin as a HTTP header to allow logging on the origin.
- hostname string
- The hostname that these settings apply to.
- id string
- The provider-assigned unique ID for this managed resource.
- 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.
- china_
network bool - Request client certificates for this hostname in China. Can only be set to true if this zone is china network enabled.
- client_
certificate_ boolforwarding - Client Certificate Forwarding is a feature that takes the client cert provided by the eyeball to the edge, and forwards it to the origin as a HTTP header to allow logging on the origin.
- hostname str
- The hostname that these settings apply to.
- id str
- The provider-assigned unique ID for this managed resource.
- 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.
- china
Network Boolean - Request client certificates for this hostname in China. Can only be set to true if this zone is china network enabled.
- client
Certificate BooleanForwarding - Client Certificate Forwarding is a feature that takes the client cert provided by the eyeball to the edge, and forwards it to the origin as a HTTP header to allow logging on the origin.
- hostname String
- The hostname that these settings apply to.
- id String
- The provider-assigned unique ID for this managed resource.
- 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
