UNPKG

@volcengine/pulumi

Version:

A Pulumi package for creating and managing volcengine cloud resources.

76 lines (75 loc) 2.15 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Use this data source to query detailed information of tls host group rules * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as volcengine from "@pulumi/volcengine"; * * const default = volcengine.tls.getHostGroupRules({ * hostGroupId: "59989043-5422-4440-a981-63d241563fc0", * }); * ``` */ export declare function getHostGroupRules(args: GetHostGroupRulesArgs, opts?: pulumi.InvokeOptions): Promise<GetHostGroupRulesResult>; /** * A collection of arguments for invoking getHostGroupRules. */ export interface GetHostGroupRulesArgs { /** * The id of host group. */ hostGroupId: string; /** * File name where to save data source results. */ outputFile?: string; } /** * A collection of values returned by getHostGroupRules. */ export interface GetHostGroupRulesResult { readonly hostGroupId: string; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; readonly outputFile?: string; /** * The collection of rule info. */ readonly ruleInfos: outputs.tls.GetHostGroupRulesRuleInfo[]; /** * The total count of query. */ readonly totalCount: number; } /** * Use this data source to query detailed information of tls host group rules * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as volcengine from "@pulumi/volcengine"; * * const default = volcengine.tls.getHostGroupRules({ * hostGroupId: "59989043-5422-4440-a981-63d241563fc0", * }); * ``` */ export declare function getHostGroupRulesOutput(args: GetHostGroupRulesOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetHostGroupRulesResult>; /** * A collection of arguments for invoking getHostGroupRules. */ export interface GetHostGroupRulesOutputArgs { /** * The id of host group. */ hostGroupId: pulumi.Input<string>; /** * File name where to save data source results. */ outputFile?: pulumi.Input<string>; }