Viewing docs for Volcengine v0.0.47
published on Friday, Mar 13, 2026 by Volcengine
published on Friday, Mar 13, 2026 by Volcengine
Viewing docs for Volcengine v0.0.47
published on Friday, Mar 13, 2026 by Volcengine
published on Friday, Mar 13, 2026 by Volcengine
Deprecated: volcengine.tls.Hosts has been deprecated in favor of volcengine.tls.getHosts
Use this data source to query detailed information of tls hosts
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as volcengine from "@pulumi/volcengine";
const default = volcengine.tls.getHosts({
hostGroupId: "2123af96-d057-4234-8f34-6fae9c9da6d0",
});
import pulumi
import pulumi_volcengine as volcengine
default = volcengine.tls.get_hosts(host_group_id="2123af96-d057-4234-8f34-6fae9c9da6d0")
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.GetHosts(ctx, &tls.GetHostsArgs{
HostGroupId: "2123af96-d057-4234-8f34-6fae9c9da6d0",
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Volcengine = Pulumi.Volcengine;
return await Deployment.RunAsync(() =>
{
var @default = Volcengine.Tls.GetHosts.Invoke(new()
{
HostGroupId = "2123af96-d057-4234-8f34-6fae9c9da6d0",
});
});
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.GetHostsArgs;
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.getHosts(GetHostsArgs.builder()
.hostGroupId("2123af96-d057-4234-8f34-6fae9c9da6d0")
.build());
}
}
variables:
default:
fn::invoke:
Function: volcengine:tls:getHosts
Arguments:
hostGroupId: 2123af96-d057-4234-8f34-6fae9c9da6d0
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) HostsResultOutputpublic 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)
public static Output<HostsResult> hosts(HostsArgs args, InvokeOptions options)
fn::invoke:
function: volcengine:tls:Hosts
arguments:
# arguments dictionaryThe 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
volcengineTerraform Provider.
Viewing docs for Volcengine v0.0.47
published on Friday, Mar 13, 2026 by Volcengine
published on Friday, Mar 13, 2026 by Volcengine
