UNPKG

@volcengine/pulumi

Version:

A Pulumi package for creating and managing volcengine cloud resources.

105 lines (104 loc) 2.64 kB
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: "527102e2-1e4f-45f4-a990-751152125da7", * }); * ``` */ /** @deprecated volcengine.tls.Hosts has been deprecated in favor of volcengine.tls.getHosts */ export declare function hosts(args: HostsArgs, opts?: pulumi.InvokeOptions): Promise<HostsResult>; /** * A collection of arguments for invoking Hosts. */ export interface HostsArgs { /** * 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 Hosts. */ export interface HostsResult { /** * The the heartbeat status. */ readonly heartbeatStatus?: number; /** * The id of host group. */ readonly hostGroupId: string; /** * The collection of query. */ readonly hostInfos: outputs.tls.HostsHostInfo[]; /** * 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: "527102e2-1e4f-45f4-a990-751152125da7", * }); * ``` */ /** @deprecated volcengine.tls.Hosts has been deprecated in favor of volcengine.tls.getHosts */ export declare function hostsOutput(args: HostsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<HostsResult>; /** * A collection of arguments for invoking Hosts. */ export interface HostsOutputArgs { /** * 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>; }