Volcengine v0.0.24 published on Tuesday, Jun 25, 2024 by Volcengine
volcengine.tls.Hosts
Explore with Pulumi AI
Use this data source to query detailed information of tls hosts
Example Usage
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Volcengine = Pulumi.Volcengine;
return await Deployment.RunAsync(() =>
{
var @default = Volcengine.Tls.Hosts.Invoke(new()
{
HostGroupId = "527102e2-1e4f-45f4-a990-751152125da7",
});
});
package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/tls"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := tls.Hosts(ctx, &tls.HostsArgs{
HostGroupId: "527102e2-1e4f-45f4-a990-751152125da7",
}, nil)
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.volcengine.tls.TlsFunctions;
import com.pulumi.volcengine.tls.inputs.HostsArgs;
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 default = TlsFunctions.Hosts(HostsArgs.builder()
.hostGroupId("527102e2-1e4f-45f4-a990-751152125da7")
.build());
}
}
import pulumi
import pulumi_volcengine as volcengine
default = volcengine.tls.hosts(host_group_id="527102e2-1e4f-45f4-a990-751152125da7")
import * as pulumi from "@pulumi/pulumi";
import * as volcengine from "@pulumi/volcengine";
const default = volcengine.tls.Hosts({
hostGroupId: "527102e2-1e4f-45f4-a990-751152125da7",
});
variables:
default:
fn::invoke:
Function: volcengine:tls:Hosts
Arguments:
hostGroupId: 527102e2-1e4f-45f4-a990-751152125da7
Using Hosts
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 hosts(args: HostsArgs, opts?: InvokeOptions): Promise<HostsResult>
function hostsOutput(args: HostsOutputArgs, opts?: InvokeOptions): Output<HostsResult>
def hosts(heartbeat_status: Optional[int] = None,
host_group_id: Optional[str] = None,
ip: Optional[str] = None,
output_file: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> HostsResult
def hosts_output(heartbeat_status: Optional[pulumi.Input[int]] = None,
host_group_id: Optional[pulumi.Input[str]] = None,
ip: Optional[pulumi.Input[str]] = None,
output_file: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[HostsResult]
func Hosts(ctx *Context, args *HostsArgs, opts ...InvokeOption) (*HostsResult, error)
func HostsOutput(ctx *Context, args *HostsOutputArgs, opts ...InvokeOption) HostsResultOutput
public static class Hosts
{
public static Task<HostsResult> InvokeAsync(HostsArgs args, InvokeOptions? opts = null)
public static Output<HostsResult> Invoke(HostsInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<HostsResult> hosts(HostsArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: volcengine:tls:Hosts
arguments:
# arguments dictionary
The following arguments are supported:
- Host
Group stringId - The id of host group.
- Heartbeat
Status int - The the heartbeat status.
- Ip string
- The ip address.
- Output
File string - File name where to save data source results.
- Host
Group stringId - The id of host group.
- Heartbeat
Status int - The the heartbeat status.
- Ip string
- The ip address.
- Output
File string - File name where to save data source results.
- host
Group StringId - The id of host group.
- heartbeat
Status Integer - The the heartbeat status.
- ip String
- The ip address.
- output
File String - File name where to save data source results.
- host
Group stringId - The id of host group.
- heartbeat
Status number - The the heartbeat status.
- ip string
- The ip address.
- output
File string - File name where to save data source results.
- host_
group_ strid - The id of host group.
- heartbeat_
status int - The the heartbeat status.
- ip str
- The ip address.
- output_
file str - File name where to save data source results.
- host
Group StringId - The id of host group.
- heartbeat
Status Number - The the heartbeat status.
- ip String
- The ip address.
- output
File String - File name where to save data source results.
Hosts Result
The following output properties are available:
- Host
Group stringId - The id of host group.
- Host
Infos List<HostsHost Info> - The collection of query.
- Id string
- The provider-assigned unique ID for this managed resource.
- Total
Count int - The total count of query.
- Heartbeat
Status int - The the heartbeat status.
- Ip string
- The ip address.
- Output
File string
- Host
Group stringId - The id of host group.
- Host
Infos []HostsHost Info - The collection of query.
- Id string
- The provider-assigned unique ID for this managed resource.
- Total
Count int - The total count of query.
- Heartbeat
Status int - The the heartbeat status.
- Ip string
- The ip address.
- Output
File string
- host
Group StringId - The id of host group.
- host
Infos List<HostsHost Info> - The collection of query.
- id String
- The provider-assigned unique ID for this managed resource.
- total
Count Integer - The total count of query.
- heartbeat
Status Integer - The the heartbeat status.
- ip String
- The ip address.
- output
File String
- host
Group stringId - The id of host group.
- host
Infos HostsHost Info[] - The collection of query.
- id string
- The provider-assigned unique ID for this managed resource.
- total
Count number - The total count of query.
- heartbeat
Status number - The the heartbeat status.
- ip string
- The ip address.
- output
File string
- host_
group_ strid - The id of host group.
- host_
infos Sequence[HostsHost Info] - The collection of query.
- id str
- The provider-assigned unique ID for this managed resource.
- total_
count int - The total count of query.
- heartbeat_
status int - The the heartbeat status.
- ip str
- The ip address.
- output_
file str
- host
Group StringId - The id of host group.
- host
Infos List<Property Map> - The collection of query.
- id String
- The provider-assigned unique ID for this managed resource.
- total
Count Number - The total count of query.
- heartbeat
Status Number - The the heartbeat status.
- ip String
- The ip address.
- output
File String
Supporting Types
HostsHostInfo
- Heartbeat
Status int - The the heartbeat status.
- Host
Group stringId - The id of host group.
- Ip string
- The ip address.
- Log
Collector stringVersion - The version of log collector.
- Heartbeat
Status int - The the heartbeat status.
- Host
Group stringId - The id of host group.
- Ip string
- The ip address.
- Log
Collector stringVersion - The version of log collector.
- heartbeat
Status Integer - The the heartbeat status.
- host
Group StringId - The id of host group.
- ip String
- The ip address.
- log
Collector StringVersion - The version of log collector.
- heartbeat
Status number - The the heartbeat status.
- host
Group stringId - The id of host group.
- ip string
- The ip address.
- log
Collector stringVersion - The version of log collector.
- heartbeat_
status int - The the heartbeat status.
- host_
group_ strid - The id of host group.
- ip str
- The ip address.
- log_
collector_ strversion - The version of log collector.
- heartbeat
Status Number - The the heartbeat status.
- host
Group StringId - The id of host group.
- ip String
- The ip address.
- log
Collector StringVersion - The version of log collector.
Package Details
- Repository
- volcengine volcengine/pulumi-volcengine
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
volcengine
Terraform Provider.