1. Packages
  2. Volcengine
  3. API Docs
  4. tls
  5. HostGroups
Volcengine v0.0.24 published on Tuesday, Jun 25, 2024 by Volcengine

volcengine.tls.HostGroups

Explore with Pulumi AI

volcengine logo
Volcengine v0.0.24 published on Tuesday, Jun 25, 2024 by Volcengine

    Use this data source to query detailed information of tls host groups

    Example Usage

    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 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
    	})
    }
    
    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());
    
        }
    }
    
    import pulumi
    import pulumi_volcengine as volcengine
    
    default = volcengine.tls.host_groups(host_group_id="fbea6619-7b0c-40f3-ac7e-45c63e3f676e",
        host_group_name="cn")
    
    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",
    });
    
    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) HostGroupsResultOutput
    public 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)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: volcengine:tls:HostGroups
      arguments:
        # arguments dictionary

    The following arguments are supported:

    AutoUpdate bool
    Whether enable auto update.
    HostGroupId string
    The id of host group.
    HostGroupName string
    The name of host group.
    HostIdentifier string
    The identifier of host.
    IamProjectName string
    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.
    HostGroupId string
    The id of host group.
    HostGroupName string
    The name of host group.
    HostIdentifier string
    The identifier of host.
    IamProjectName string
    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.
    hostGroupId String
    The id of host group.
    hostGroupName String
    The name of host group.
    hostIdentifier String
    The identifier of host.
    iamProjectName String
    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.
    hostGroupId string
    The id of host group.
    hostGroupName string
    The name of host group.
    hostIdentifier string
    The identifier of host.
    iamProjectName string
    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_id str
    The id of host group.
    host_group_name str
    The name of host group.
    host_identifier str
    The identifier of host.
    iam_project_name str
    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.
    hostGroupId String
    The id of host group.
    hostGroupName String
    The name of host group.
    hostIdentifier String
    The identifier of host.
    iamProjectName String
    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<HostGroupsInfo>
    The collection of query.
    TotalCount int
    The total count of query.
    AutoUpdate bool
    Whether enable auto update.
    HostGroupId string
    The id of host group.
    HostGroupName string
    The name of host group.
    HostIdentifier string
    The identifier of host.
    IamProjectName string
    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 []HostGroupsInfo
    The collection of query.
    TotalCount int
    The total count of query.
    AutoUpdate bool
    Whether enable auto update.
    HostGroupId string
    The id of host group.
    HostGroupName string
    The name of host group.
    HostIdentifier string
    The identifier of host.
    IamProjectName string
    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<HostGroupsInfo>
    The collection of query.
    totalCount Integer
    The total count of query.
    autoUpdate Boolean
    Whether enable auto update.
    hostGroupId String
    The id of host group.
    hostGroupName String
    The name of host group.
    hostIdentifier String
    The identifier of host.
    iamProjectName String
    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 HostGroupsInfo[]
    The collection of query.
    totalCount number
    The total count of query.
    autoUpdate boolean
    Whether enable auto update.
    hostGroupId string
    The id of host group.
    hostGroupName string
    The name of host group.
    hostIdentifier string
    The identifier of host.
    iamProjectName string
    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[HostGroupsInfo]
    The collection of query.
    total_count int
    The total count of query.
    auto_update bool
    Whether enable auto update.
    host_group_id str
    The id of host group.
    host_group_name str
    The name of host group.
    host_identifier str
    The identifier of host.
    iam_project_name str
    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.
    hostGroupId String
    The id of host group.
    hostGroupName String
    The name of host group.
    hostIdentifier String
    The identifier of host.
    iamProjectName String
    The project name of iam.
    outputFile String
    serviceLogging Boolean
    Whether enable service logging.

    Supporting Types

    HostGroupsInfo

    AbnormalHeartbeatStatusCount int
    The abnormal heartbeat status count of host.
    AgentLatestVersion string
    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.
    HostGroupId string
    The id of host group.
    HostGroupName string
    The name of host group.
    HostGroupType string
    The type of host group.
    HostIdentifier string
    The identifier of host.
    HostIpLists List<string>
    The ip list of host group.
    IamProjectName string
    The project name of iam.
    ModifyTime string
    The modify time of host group.
    NormalHeartbeatStatusCount int
    The normal heartbeat status count of host.
    RuleCount int
    The rule count of host.
    ServiceLogging bool
    Whether enable service logging.
    UpdateEndTime string
    The update end time of log collector.
    UpdateStartTime string
    The update start time of log collector.
    AbnormalHeartbeatStatusCount int
    The abnormal heartbeat status count of host.
    AgentLatestVersion string
    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.
    HostGroupId string
    The id of host group.
    HostGroupName string
    The name of host group.
    HostGroupType string
    The type of host group.
    HostIdentifier string
    The identifier of host.
    HostIpLists []string
    The ip list of host group.
    IamProjectName string
    The project name of iam.
    ModifyTime string
    The modify time of host group.
    NormalHeartbeatStatusCount int
    The normal heartbeat status count of host.
    RuleCount int
    The rule count of host.
    ServiceLogging bool
    Whether enable service logging.
    UpdateEndTime string
    The update end time of log collector.
    UpdateStartTime string
    The update start time of log collector.
    abnormalHeartbeatStatusCount Integer
    The abnormal heartbeat status count of host.
    agentLatestVersion String
    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.
    hostGroupId String
    The id of host group.
    hostGroupName String
    The name of host group.
    hostGroupType String
    The type of host group.
    hostIdentifier String
    The identifier of host.
    hostIpLists List<String>
    The ip list of host group.
    iamProjectName String
    The project name of iam.
    modifyTime String
    The modify time of host group.
    normalHeartbeatStatusCount Integer
    The normal heartbeat status count of host.
    ruleCount Integer
    The rule count of host.
    serviceLogging Boolean
    Whether enable service logging.
    updateEndTime String
    The update end time of log collector.
    updateStartTime String
    The update start time of log collector.
    abnormalHeartbeatStatusCount number
    The abnormal heartbeat status count of host.
    agentLatestVersion string
    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.
    hostGroupId string
    The id of host group.
    hostGroupName string
    The name of host group.
    hostGroupType string
    The type of host group.
    hostIdentifier string
    The identifier of host.
    hostIpLists string[]
    The ip list of host group.
    iamProjectName string
    The project name of iam.
    modifyTime string
    The modify time of host group.
    normalHeartbeatStatusCount number
    The normal heartbeat status count of host.
    ruleCount number
    The rule count of host.
    serviceLogging boolean
    Whether enable service logging.
    updateEndTime string
    The update end time of log collector.
    updateStartTime string
    The update start time of log collector.
    abnormal_heartbeat_status_count int
    The abnormal heartbeat status count of host.
    agent_latest_version str
    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_id str
    The id of host group.
    host_group_name str
    The name of host group.
    host_group_type str
    The type of host group.
    host_identifier str
    The identifier of host.
    host_ip_lists Sequence[str]
    The ip list of host group.
    iam_project_name str
    The project name of iam.
    modify_time str
    The modify time of host group.
    normal_heartbeat_status_count int
    The normal heartbeat status count of host.
    rule_count int
    The rule count of host.
    service_logging bool
    Whether enable service logging.
    update_end_time str
    The update end time of log collector.
    update_start_time str
    The update start time of log collector.
    abnormalHeartbeatStatusCount Number
    The abnormal heartbeat status count of host.
    agentLatestVersion String
    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.
    hostGroupId String
    The id of host group.
    hostGroupName String
    The name of host group.
    hostGroupType String
    The type of host group.
    hostIdentifier String
    The identifier of host.
    hostIpLists List<String>
    The ip list of host group.
    iamProjectName String
    The project name of iam.
    modifyTime String
    The modify time of host group.
    normalHeartbeatStatusCount Number
    The normal heartbeat status count of host.
    ruleCount Number
    The rule count of host.
    serviceLogging Boolean
    Whether enable service logging.
    updateEndTime String
    The update end time of log collector.
    updateStartTime String
    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 volcengine Terraform Provider.
    volcengine logo
    Volcengine v0.0.24 published on Tuesday, Jun 25, 2024 by Volcengine