Cloudflare v6.1.2 published on Monday, Apr 28, 2025 by Pulumi
cloudflare.getHostnameTlsSetting
Explore with Pulumi AI
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as cloudflare from "@pulumi/cloudflare";
const exampleHostnameTlsSetting = cloudflare.getHostnameTlsSetting({
zoneId: "023e105f4ecef8ad9ca31a8372d0c353",
settingId: "ciphers",
});
import pulumi
import pulumi_cloudflare as cloudflare
example_hostname_tls_setting = cloudflare.get_hostname_tls_setting(zone_id="023e105f4ecef8ad9ca31a8372d0c353",
setting_id="ciphers")
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.LookupHostnameTlsSetting(ctx, &cloudflare.LookupHostnameTlsSettingArgs{
ZoneId: "023e105f4ecef8ad9ca31a8372d0c353",
SettingId: "ciphers",
}, 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 exampleHostnameTlsSetting = Cloudflare.GetHostnameTlsSetting.Invoke(new()
{
ZoneId = "023e105f4ecef8ad9ca31a8372d0c353",
SettingId = "ciphers",
});
});
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.GetHostnameTlsSettingArgs;
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 exampleHostnameTlsSetting = CloudflareFunctions.getHostnameTlsSetting(GetHostnameTlsSettingArgs.builder()
.zoneId("023e105f4ecef8ad9ca31a8372d0c353")
.settingId("ciphers")
.build());
}
}
variables:
exampleHostnameTlsSetting:
fn::invoke:
function: cloudflare:getHostnameTlsSetting
arguments:
zoneId: 023e105f4ecef8ad9ca31a8372d0c353
settingId: ciphers
Using getHostnameTlsSetting
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 getHostnameTlsSetting(args: GetHostnameTlsSettingArgs, opts?: InvokeOptions): Promise<GetHostnameTlsSettingResult>
function getHostnameTlsSettingOutput(args: GetHostnameTlsSettingOutputArgs, opts?: InvokeOptions): Output<GetHostnameTlsSettingResult>
def get_hostname_tls_setting(setting_id: Optional[str] = None,
zone_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetHostnameTlsSettingResult
def get_hostname_tls_setting_output(setting_id: Optional[pulumi.Input[str]] = None,
zone_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetHostnameTlsSettingResult]
func LookupHostnameTlsSetting(ctx *Context, args *LookupHostnameTlsSettingArgs, opts ...InvokeOption) (*LookupHostnameTlsSettingResult, error)
func LookupHostnameTlsSettingOutput(ctx *Context, args *LookupHostnameTlsSettingOutputArgs, opts ...InvokeOption) LookupHostnameTlsSettingResultOutput
> Note: This function is named LookupHostnameTlsSetting
in the Go SDK.
public static class GetHostnameTlsSetting
{
public static Task<GetHostnameTlsSettingResult> InvokeAsync(GetHostnameTlsSettingArgs args, InvokeOptions? opts = null)
public static Output<GetHostnameTlsSettingResult> Invoke(GetHostnameTlsSettingInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetHostnameTlsSettingResult> getHostnameTlsSetting(GetHostnameTlsSettingArgs args, InvokeOptions options)
public static Output<GetHostnameTlsSettingResult> getHostnameTlsSetting(GetHostnameTlsSettingArgs args, InvokeOptions options)
fn::invoke:
function: cloudflare:index/getHostnameTlsSetting:getHostnameTlsSetting
arguments:
# arguments dictionary
The following arguments are supported:
- setting_
id str - The TLS Setting name. Available values: "ciphers", "mintlsversion", "http2".
- zone_
id str - Identifier
getHostnameTlsSetting Result
The following output properties are available:
- Created
At string - This is the time the tls setting was originally created for this hostname.
- Hostname string
- The hostname for which the tls settings are set.
- Id string
- The provider-assigned unique ID for this managed resource.
- Setting
Id string - The TLS Setting name. Available values: "ciphers", "mintlsversion", "http2".
- Status string
- Deployment status for the given tls setting.
- Updated
At string - This is the time the tls setting was updated.
- Value double
- The tls setting value.
- Zone
Id string - Identifier
- Created
At string - This is the time the tls setting was originally created for this hostname.
- Hostname string
- The hostname for which the tls settings are set.
- Id string
- The provider-assigned unique ID for this managed resource.
- Setting
Id string - The TLS Setting name. Available values: "ciphers", "mintlsversion", "http2".
- Status string
- Deployment status for the given tls setting.
- Updated
At string - This is the time the tls setting was updated.
- Value float64
- The tls setting value.
- Zone
Id string - Identifier
- created
At String - This is the time the tls setting was originally created for this hostname.
- hostname String
- The hostname for which the tls settings are set.
- id String
- The provider-assigned unique ID for this managed resource.
- setting
Id String - The TLS Setting name. Available values: "ciphers", "mintlsversion", "http2".
- status String
- Deployment status for the given tls setting.
- updated
At String - This is the time the tls setting was updated.
- value Double
- The tls setting value.
- zone
Id String - Identifier
- created
At string - This is the time the tls setting was originally created for this hostname.
- hostname string
- The hostname for which the tls settings are set.
- id string
- The provider-assigned unique ID for this managed resource.
- setting
Id string - The TLS Setting name. Available values: "ciphers", "mintlsversion", "http2".
- status string
- Deployment status for the given tls setting.
- updated
At string - This is the time the tls setting was updated.
- value number
- The tls setting value.
- zone
Id string - Identifier
- created_
at str - This is the time the tls setting was originally created for this hostname.
- hostname str
- The hostname for which the tls settings are set.
- id str
- The provider-assigned unique ID for this managed resource.
- setting_
id str - The TLS Setting name. Available values: "ciphers", "mintlsversion", "http2".
- status str
- Deployment status for the given tls setting.
- updated_
at str - This is the time the tls setting was updated.
- value float
- The tls setting value.
- zone_
id str - Identifier
- created
At String - This is the time the tls setting was originally created for this hostname.
- hostname String
- The hostname for which the tls settings are set.
- id String
- The provider-assigned unique ID for this managed resource.
- setting
Id String - The TLS Setting name. Available values: "ciphers", "mintlsversion", "http2".
- status String
- Deployment status for the given tls setting.
- updated
At String - This is the time the tls setting was updated.
- value Number
- The tls setting value.
- zone
Id String - Identifier
Package Details
- Repository
- Cloudflare pulumi/pulumi-cloudflare
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
cloudflare
Terraform Provider.