Volcengine v0.0.27 published on Tuesday, Dec 10, 2024 by Volcengine
volcengine.tls.HostGroups
Explore with Pulumi AI
Use this data source to query detailed information of tls host groups
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as volcengine from "@pulumi/volcengine";
const default = volcengine.tls.HostGroups({
    hostGroupId: "fbea6619-7b0c-40f3-ac7e-45c63e3f676e",
    hostGroupName: "cn",
});
import pulumi
import pulumi_volcengine as volcengine
default = volcengine.tls.host_groups(host_group_id="fbea6619-7b0c-40f3-ac7e-45c63e3f676e",
    host_group_name="cn")
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.HostGroups(ctx, &tls.HostGroupsArgs{
			HostGroupId:   pulumi.StringRef("fbea6619-7b0c-40f3-ac7e-45c63e3f676e"),
			HostGroupName: pulumi.StringRef("cn"),
		}, 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.HostGroups.Invoke(new()
    {
        HostGroupId = "fbea6619-7b0c-40f3-ac7e-45c63e3f676e",
        HostGroupName = "cn",
    });
});
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.HostGroupsArgs;
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.HostGroups(HostGroupsArgs.builder()
            .hostGroupId("fbea6619-7b0c-40f3-ac7e-45c63e3f676e")
            .hostGroupName("cn")
            .build());
    }
}
variables:
  default:
    fn::invoke:
      Function: volcengine:tls:HostGroups
      Arguments:
        hostGroupId: fbea6619-7b0c-40f3-ac7e-45c63e3f676e
        hostGroupName: cn
Using HostGroups
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 hostGroups(args: HostGroupsArgs, opts?: InvokeOptions): Promise<HostGroupsResult>
function hostGroupsOutput(args: HostGroupsOutputArgs, opts?: InvokeOptions): Output<HostGroupsResult>def host_groups(auto_update: Optional[bool] = None,
                host_group_id: Optional[str] = None,
                host_group_name: Optional[str] = None,
                host_identifier: Optional[str] = None,
                iam_project_name: Optional[str] = None,
                output_file: Optional[str] = None,
                service_logging: Optional[bool] = None,
                opts: Optional[InvokeOptions] = None) -> HostGroupsResult
def host_groups_output(auto_update: Optional[pulumi.Input[bool]] = None,
                host_group_id: Optional[pulumi.Input[str]] = None,
                host_group_name: Optional[pulumi.Input[str]] = None,
                host_identifier: Optional[pulumi.Input[str]] = None,
                iam_project_name: Optional[pulumi.Input[str]] = None,
                output_file: Optional[pulumi.Input[str]] = None,
                service_logging: Optional[pulumi.Input[bool]] = None,
                opts: Optional[InvokeOptions] = None) -> Output[HostGroupsResult]func HostGroups(ctx *Context, args *HostGroupsArgs, opts ...InvokeOption) (*HostGroupsResult, error)
func HostGroupsOutput(ctx *Context, args *HostGroupsOutputArgs, opts ...InvokeOption) HostGroupsResultOutputpublic static class HostGroups 
{
    public static Task<HostGroupsResult> InvokeAsync(HostGroupsArgs args, InvokeOptions? opts = null)
    public static Output<HostGroupsResult> Invoke(HostGroupsInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<HostGroupsResult> hostGroups(HostGroupsArgs args, InvokeOptions options)
public static Output<HostGroupsResult> hostGroups(HostGroupsArgs args, InvokeOptions options)
fn::invoke:
  function: volcengine:tls:HostGroups
  arguments:
    # arguments dictionaryThe following arguments are supported:
- AutoUpdate bool
- Whether enable auto update.
- HostGroup stringId 
- The id of host group.
- HostGroup stringName 
- The name of host group.
- HostIdentifier string
- The identifier of host.
- IamProject stringName 
- The project name of iam.
- OutputFile string
- File name where to save data source results.
- ServiceLogging bool
- Whether enable service logging.
- AutoUpdate bool
- Whether enable auto update.
- HostGroup stringId 
- The id of host group.
- HostGroup stringName 
- The name of host group.
- HostIdentifier string
- The identifier of host.
- IamProject stringName 
- The project name of iam.
- OutputFile string
- File name where to save data source results.
- ServiceLogging bool
- Whether enable service logging.
- autoUpdate Boolean
- Whether enable auto update.
- hostGroup StringId 
- The id of host group.
- hostGroup StringName 
- The name of host group.
- hostIdentifier String
- The identifier of host.
- iamProject StringName 
- The project name of iam.
- outputFile String
- File name where to save data source results.
- serviceLogging Boolean
- Whether enable service logging.
- autoUpdate boolean
- Whether enable auto update.
- hostGroup stringId 
- The id of host group.
- hostGroup stringName 
- The name of host group.
- hostIdentifier string
- The identifier of host.
- iamProject stringName 
- The project name of iam.
- outputFile string
- File name where to save data source results.
- serviceLogging boolean
- Whether enable service logging.
- auto_update bool
- Whether enable auto update.
- host_group_ strid 
- The id of host group.
- host_group_ strname 
- The name of host group.
- host_identifier str
- The identifier of host.
- iam_project_ strname 
- The project name of iam.
- output_file str
- File name where to save data source results.
- service_logging bool
- Whether enable service logging.
- autoUpdate Boolean
- Whether enable auto update.
- hostGroup StringId 
- The id of host group.
- hostGroup StringName 
- The name of host group.
- hostIdentifier String
- The identifier of host.
- iamProject StringName 
- The project name of iam.
- outputFile String
- File name where to save data source results.
- serviceLogging Boolean
- Whether enable service logging.
HostGroups Result
The following output properties are available:
- Id string
- The provider-assigned unique ID for this managed resource.
- Infos
List<HostGroups Info> 
- The collection of query.
- TotalCount int
- The total count of query.
- AutoUpdate bool
- Whether enable auto update.
- HostGroup stringId 
- The id of host group.
- HostGroup stringName 
- The name of host group.
- HostIdentifier string
- The identifier of host.
- IamProject stringName 
- The project name of iam.
- OutputFile string
- ServiceLogging bool
- Whether enable service logging.
- Id string
- The provider-assigned unique ID for this managed resource.
- Infos
[]HostGroups Info 
- The collection of query.
- TotalCount int
- The total count of query.
- AutoUpdate bool
- Whether enable auto update.
- HostGroup stringId 
- The id of host group.
- HostGroup stringName 
- The name of host group.
- HostIdentifier string
- The identifier of host.
- IamProject stringName 
- The project name of iam.
- OutputFile string
- ServiceLogging bool
- Whether enable service logging.
- id String
- The provider-assigned unique ID for this managed resource.
- infos
List<HostGroups Info> 
- The collection of query.
- totalCount Integer
- The total count of query.
- autoUpdate Boolean
- Whether enable auto update.
- hostGroup StringId 
- The id of host group.
- hostGroup StringName 
- The name of host group.
- hostIdentifier String
- The identifier of host.
- iamProject StringName 
- The project name of iam.
- outputFile String
- serviceLogging Boolean
- Whether enable service logging.
- id string
- The provider-assigned unique ID for this managed resource.
- infos
HostGroups Info[] 
- The collection of query.
- totalCount number
- The total count of query.
- autoUpdate boolean
- Whether enable auto update.
- hostGroup stringId 
- The id of host group.
- hostGroup stringName 
- The name of host group.
- hostIdentifier string
- The identifier of host.
- iamProject stringName 
- The project name of iam.
- outputFile string
- serviceLogging boolean
- Whether enable service logging.
- id str
- The provider-assigned unique ID for this managed resource.
- infos
Sequence[HostGroups Info] 
- The collection of query.
- total_count int
- The total count of query.
- auto_update bool
- Whether enable auto update.
- host_group_ strid 
- The id of host group.
- host_group_ strname 
- The name of host group.
- host_identifier str
- The identifier of host.
- iam_project_ strname 
- The project name of iam.
- output_file str
- service_logging bool
- Whether enable service logging.
- id String
- The provider-assigned unique ID for this managed resource.
- infos List<Property Map>
- The collection of query.
- totalCount Number
- The total count of query.
- autoUpdate Boolean
- Whether enable auto update.
- hostGroup StringId 
- The id of host group.
- hostGroup StringName 
- The name of host group.
- hostIdentifier String
- The identifier of host.
- iamProject StringName 
- The project name of iam.
- outputFile String
- serviceLogging Boolean
- Whether enable service logging.
Supporting Types
HostGroupsInfo  
- AbnormalHeartbeat intStatus Count 
- The abnormal heartbeat status count of host.
- AgentLatest stringVersion 
- The latest version of log collector.
- AutoUpdate bool
- Whether enable auto update.
- CreateTime string
- The create time of host group.
- HostCount int
- The count of host.
- HostGroup stringId 
- The id of host group.
- HostGroup stringName 
- The name of host group.
- HostGroup stringType 
- The type of host group.
- HostIdentifier string
- The identifier of host.
- HostIp List<string>Lists 
- The ip list of host group.
- IamProject stringName 
- The project name of iam.
- ModifyTime string
- The modify time of host group.
- NormalHeartbeat intStatus Count 
- The normal heartbeat status count of host.
- RuleCount int
- The rule count of host.
- ServiceLogging bool
- Whether enable service logging.
- UpdateEnd stringTime 
- The update end time of log collector.
- UpdateStart stringTime 
- The update start time of log collector.
- AbnormalHeartbeat intStatus Count 
- The abnormal heartbeat status count of host.
- AgentLatest stringVersion 
- The latest version of log collector.
- AutoUpdate bool
- Whether enable auto update.
- CreateTime string
- The create time of host group.
- HostCount int
- The count of host.
- HostGroup stringId 
- The id of host group.
- HostGroup stringName 
- The name of host group.
- HostGroup stringType 
- The type of host group.
- HostIdentifier string
- The identifier of host.
- HostIp []stringLists 
- The ip list of host group.
- IamProject stringName 
- The project name of iam.
- ModifyTime string
- The modify time of host group.
- NormalHeartbeat intStatus Count 
- The normal heartbeat status count of host.
- RuleCount int
- The rule count of host.
- ServiceLogging bool
- Whether enable service logging.
- UpdateEnd stringTime 
- The update end time of log collector.
- UpdateStart stringTime 
- The update start time of log collector.
- abnormalHeartbeat IntegerStatus Count 
- The abnormal heartbeat status count of host.
- agentLatest StringVersion 
- The latest version of log collector.
- autoUpdate Boolean
- Whether enable auto update.
- createTime String
- The create time of host group.
- hostCount Integer
- The count of host.
- hostGroup StringId 
- The id of host group.
- hostGroup StringName 
- The name of host group.
- hostGroup StringType 
- The type of host group.
- hostIdentifier String
- The identifier of host.
- hostIp List<String>Lists 
- The ip list of host group.
- iamProject StringName 
- The project name of iam.
- modifyTime String
- The modify time of host group.
- normalHeartbeat IntegerStatus Count 
- The normal heartbeat status count of host.
- ruleCount Integer
- The rule count of host.
- serviceLogging Boolean
- Whether enable service logging.
- updateEnd StringTime 
- The update end time of log collector.
- updateStart StringTime 
- The update start time of log collector.
- abnormalHeartbeat numberStatus Count 
- The abnormal heartbeat status count of host.
- agentLatest stringVersion 
- The latest version of log collector.
- autoUpdate boolean
- Whether enable auto update.
- createTime string
- The create time of host group.
- hostCount number
- The count of host.
- hostGroup stringId 
- The id of host group.
- hostGroup stringName 
- The name of host group.
- hostGroup stringType 
- The type of host group.
- hostIdentifier string
- The identifier of host.
- hostIp string[]Lists 
- The ip list of host group.
- iamProject stringName 
- The project name of iam.
- modifyTime string
- The modify time of host group.
- normalHeartbeat numberStatus Count 
- The normal heartbeat status count of host.
- ruleCount number
- The rule count of host.
- serviceLogging boolean
- Whether enable service logging.
- updateEnd stringTime 
- The update end time of log collector.
- updateStart stringTime 
- The update start time of log collector.
- abnormal_heartbeat_ intstatus_ count 
- The abnormal heartbeat status count of host.
- agent_latest_ strversion 
- The latest version of log collector.
- auto_update bool
- Whether enable auto update.
- create_time str
- The create time of host group.
- host_count int
- The count of host.
- host_group_ strid 
- The id of host group.
- host_group_ strname 
- The name of host group.
- host_group_ strtype 
- The type of host group.
- host_identifier str
- The identifier of host.
- host_ip_ Sequence[str]lists 
- The ip list of host group.
- iam_project_ strname 
- The project name of iam.
- modify_time str
- The modify time of host group.
- normal_heartbeat_ intstatus_ count 
- The normal heartbeat status count of host.
- rule_count int
- The rule count of host.
- service_logging bool
- Whether enable service logging.
- update_end_ strtime 
- The update end time of log collector.
- update_start_ strtime 
- The update start time of log collector.
- abnormalHeartbeat NumberStatus Count 
- The abnormal heartbeat status count of host.
- agentLatest StringVersion 
- The latest version of log collector.
- autoUpdate Boolean
- Whether enable auto update.
- createTime String
- The create time of host group.
- hostCount Number
- The count of host.
- hostGroup StringId 
- The id of host group.
- hostGroup StringName 
- The name of host group.
- hostGroup StringType 
- The type of host group.
- hostIdentifier String
- The identifier of host.
- hostIp List<String>Lists 
- The ip list of host group.
- iamProject StringName 
- The project name of iam.
- modifyTime String
- The modify time of host group.
- normalHeartbeat NumberStatus Count 
- The normal heartbeat status count of host.
- ruleCount Number
- The rule count of host.
- serviceLogging Boolean
- Whether enable service logging.
- updateEnd StringTime 
- The update end time of log collector.
- updateStart StringTime 
- The update start time of log collector.
Package Details
- Repository
- volcengine volcengine/pulumi-volcengine
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the volcengineTerraform Provider.