Volcengine v0.0.24 published on Tuesday, Jun 25, 2024 by Volcengine
volcengine.tls.HostGroups
Explore with Pulumi AI
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:
- Auto
Update bool - Whether enable auto update.
- Host
Group stringId - The id of host group.
- Host
Group stringName - The name of host group.
- Host
Identifier string - The identifier of host.
- Iam
Project stringName - The project name of iam.
- Output
File string - File name where to save data source results.
- Service
Logging bool - Whether enable service logging.
- Auto
Update bool - Whether enable auto update.
- Host
Group stringId - The id of host group.
- Host
Group stringName - The name of host group.
- Host
Identifier string - The identifier of host.
- Iam
Project stringName - The project name of iam.
- Output
File string - File name where to save data source results.
- Service
Logging bool - Whether enable service logging.
- auto
Update Boolean - Whether enable auto update.
- host
Group StringId - The id of host group.
- host
Group StringName - The name of host group.
- host
Identifier String - The identifier of host.
- iam
Project StringName - The project name of iam.
- output
File String - File name where to save data source results.
- service
Logging Boolean - Whether enable service logging.
- auto
Update boolean - Whether enable auto update.
- host
Group stringId - The id of host group.
- host
Group stringName - The name of host group.
- host
Identifier string - The identifier of host.
- iam
Project stringName - The project name of iam.
- output
File string - File name where to save data source results.
- service
Logging 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.
- auto
Update Boolean - Whether enable auto update.
- host
Group StringId - The id of host group.
- host
Group StringName - The name of host group.
- host
Identifier String - The identifier of host.
- iam
Project StringName - The project name of iam.
- output
File String - File name where to save data source results.
- service
Logging 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<Host
Groups Info> - The collection of query.
- Total
Count int - The total count of query.
- Auto
Update bool - Whether enable auto update.
- Host
Group stringId - The id of host group.
- Host
Group stringName - The name of host group.
- Host
Identifier string - The identifier of host.
- Iam
Project stringName - The project name of iam.
- Output
File string - Service
Logging bool - Whether enable service logging.
- Id string
- The provider-assigned unique ID for this managed resource.
- Infos
[]Host
Groups Info - The collection of query.
- Total
Count int - The total count of query.
- Auto
Update bool - Whether enable auto update.
- Host
Group stringId - The id of host group.
- Host
Group stringName - The name of host group.
- Host
Identifier string - The identifier of host.
- Iam
Project stringName - The project name of iam.
- Output
File string - Service
Logging bool - Whether enable service logging.
- id String
- The provider-assigned unique ID for this managed resource.
- infos
List<Host
Groups Info> - The collection of query.
- total
Count Integer - The total count of query.
- auto
Update Boolean - Whether enable auto update.
- host
Group StringId - The id of host group.
- host
Group StringName - The name of host group.
- host
Identifier String - The identifier of host.
- iam
Project StringName - The project name of iam.
- output
File String - service
Logging Boolean - Whether enable service logging.
- id string
- The provider-assigned unique ID for this managed resource.
- infos
Host
Groups Info[] - The collection of query.
- total
Count number - The total count of query.
- auto
Update boolean - Whether enable auto update.
- host
Group stringId - The id of host group.
- host
Group stringName - The name of host group.
- host
Identifier string - The identifier of host.
- iam
Project stringName - The project name of iam.
- output
File string - service
Logging boolean - Whether enable service logging.
- id str
- The provider-assigned unique ID for this managed resource.
- infos
Sequence[Host
Groups 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.
- total
Count Number - The total count of query.
- auto
Update Boolean - Whether enable auto update.
- host
Group StringId - The id of host group.
- host
Group StringName - The name of host group.
- host
Identifier String - The identifier of host.
- iam
Project StringName - The project name of iam.
- output
File String - service
Logging Boolean - Whether enable service logging.
Supporting Types
HostGroupsInfo
- Abnormal
Heartbeat intStatus Count - The abnormal heartbeat status count of host.
- Agent
Latest stringVersion - The latest version of log collector.
- Auto
Update bool - Whether enable auto update.
- Create
Time string - The create time of host group.
- Host
Count int - The count of host.
- Host
Group stringId - The id of host group.
- Host
Group stringName - The name of host group.
- Host
Group stringType - The type of host group.
- Host
Identifier string - The identifier of host.
- Host
Ip List<string>Lists - The ip list of host group.
- Iam
Project stringName - The project name of iam.
- Modify
Time string - 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 stringTime - The update end time of log collector.
- Update
Start stringTime - The update start time of log collector.
- Abnormal
Heartbeat intStatus Count - The abnormal heartbeat status count of host.
- Agent
Latest stringVersion - The latest version of log collector.
- Auto
Update bool - Whether enable auto update.
- Create
Time string - The create time of host group.
- Host
Count int - The count of host.
- Host
Group stringId - The id of host group.
- Host
Group stringName - The name of host group.
- Host
Group stringType - The type of host group.
- Host
Identifier string - The identifier of host.
- Host
Ip []stringLists - The ip list of host group.
- Iam
Project stringName - The project name of iam.
- Modify
Time string - 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 stringTime - The update end time of log collector.
- Update
Start stringTime - The update start time of log collector.
- abnormal
Heartbeat IntegerStatus Count - The abnormal heartbeat status count of host.
- agent
Latest StringVersion - The latest version of log collector.
- auto
Update Boolean - Whether enable auto update.
- create
Time String - The create time of host group.
- host
Count Integer - The count of host.
- host
Group StringId - The id of host group.
- host
Group StringName - The name of host group.
- host
Group StringType - The type of host group.
- host
Identifier String - The identifier of host.
- host
Ip List<String>Lists - The ip list of host group.
- iam
Project StringName - The project name of iam.
- modify
Time String - The modify time of host group.
- normal
Heartbeat IntegerStatus Count - The normal heartbeat status count of host.
- rule
Count Integer - The rule count of host.
- service
Logging Boolean - Whether enable service logging.
- update
End StringTime - The update end time of log collector.
- update
Start StringTime - The update start time of log collector.
- abnormal
Heartbeat numberStatus Count - The abnormal heartbeat status count of host.
- agent
Latest stringVersion - The latest version of log collector.
- auto
Update boolean - Whether enable auto update.
- create
Time string - The create time of host group.
- host
Count number - The count of host.
- host
Group stringId - The id of host group.
- host
Group stringName - The name of host group.
- host
Group stringType - The type of host group.
- host
Identifier string - The identifier of host.
- host
Ip string[]Lists - The ip list of host group.
- iam
Project stringName - The project name of iam.
- modify
Time string - The modify time of host group.
- normal
Heartbeat numberStatus Count - The normal heartbeat status count of host.
- rule
Count number - The rule count of host.
- service
Logging boolean - Whether enable service logging.
- update
End stringTime - The update end time of log collector.
- update
Start 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.
- abnormal
Heartbeat NumberStatus Count - The abnormal heartbeat status count of host.
- agent
Latest StringVersion - The latest version of log collector.
- auto
Update Boolean - Whether enable auto update.
- create
Time String - The create time of host group.
- host
Count Number - The count of host.
- host
Group StringId - The id of host group.
- host
Group StringName - The name of host group.
- host
Group StringType - The type of host group.
- host
Identifier String - The identifier of host.
- host
Ip List<String>Lists - The ip list of host group.
- iam
Project StringName - The project name of iam.
- modify
Time String - The modify time of host group.
- normal
Heartbeat NumberStatus Count - The normal heartbeat status count of host.
- rule
Count Number - The rule count of host.
- service
Logging Boolean - Whether enable service logging.
- update
End StringTime - The update end time of log collector.
- update
Start 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
volcengine
Terraform Provider.