@volcengine/pulumi
Version:
A Pulumi package for creating and managing volcengine cloud resources.
103 lines (102 loc) • 2.49 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "../types/output";
/**
* Use this data source to query detailed information of tls hosts
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as volcengine from "@pulumi/volcengine";
*
* const default = volcengine.tls.getHosts({
* hostGroupId: "2123af96-d057-4234-8f34-6fae9c9da6d0",
* });
* ```
*/
export declare function getHosts(args: GetHostsArgs, opts?: pulumi.InvokeOptions): Promise<GetHostsResult>;
/**
* A collection of arguments for invoking getHosts.
*/
export interface GetHostsArgs {
/**
* The the heartbeat status.
*/
heartbeatStatus?: number;
/**
* The id of host group.
*/
hostGroupId: string;
/**
* The ip address.
*/
ip?: string;
/**
* File name where to save data source results.
*/
outputFile?: string;
}
/**
* A collection of values returned by getHosts.
*/
export interface GetHostsResult {
/**
* The the heartbeat status.
*/
readonly heartbeatStatus?: number;
/**
* The id of host group.
*/
readonly hostGroupId: string;
/**
* The collection of query.
*/
readonly hostInfos: outputs.tls.GetHostsHostInfo[];
/**
* The provider-assigned unique ID for this managed resource.
*/
readonly id: string;
/**
* The ip address.
*/
readonly ip?: string;
readonly outputFile?: string;
/**
* The total count of query.
*/
readonly totalCount: number;
}
/**
* Use this data source to query detailed information of tls hosts
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as volcengine from "@pulumi/volcengine";
*
* const default = volcengine.tls.getHosts({
* hostGroupId: "2123af96-d057-4234-8f34-6fae9c9da6d0",
* });
* ```
*/
export declare function getHostsOutput(args: GetHostsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetHostsResult>;
/**
* A collection of arguments for invoking getHosts.
*/
export interface GetHostsOutputArgs {
/**
* The the heartbeat status.
*/
heartbeatStatus?: pulumi.Input<number>;
/**
* The id of host group.
*/
hostGroupId: pulumi.Input<string>;
/**
* The ip address.
*/
ip?: pulumi.Input<string>;
/**
* File name where to save data source results.
*/
outputFile?: pulumi.Input<string>;
}