@volcengine/pulumi
Version:
A Pulumi package for creating and managing volcengine cloud resources.
143 lines (142 loc) • 3.63 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "../types/output";
/**
* Use this data source to query detailed information of tls host groups
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as volcengine from "@pulumi/volcengine";
*
* const default = volcengine.tls.getHostGroups({
* hostGroupId: "fbea6619-7b0c-40f3-ac7e-45c63e3f676e",
* hostGroupName: "cn",
* });
* ```
*/
/** @deprecated volcengine.tls.HostGroups has been deprecated in favor of volcengine.tls.getHostGroups */
export declare function hostGroups(args?: HostGroupsArgs, opts?: pulumi.InvokeOptions): Promise<HostGroupsResult>;
/**
* A collection of arguments for invoking HostGroups.
*/
export interface HostGroupsArgs {
/**
* Whether enable auto update.
*/
autoUpdate?: boolean;
/**
* The id of host group.
*/
hostGroupId?: string;
/**
* The name of host group.
*/
hostGroupName?: string;
/**
* The identifier of host.
*/
hostIdentifier?: string;
/**
* The project name of iam.
*/
iamProjectName?: string;
/**
* File name where to save data source results.
*/
outputFile?: string;
/**
* Whether enable service logging.
*/
serviceLogging?: boolean;
}
/**
* A collection of values returned by HostGroups.
*/
export interface HostGroupsResult {
/**
* Whether enable auto update.
*/
readonly autoUpdate?: boolean;
/**
* The id of host group.
*/
readonly hostGroupId?: string;
/**
* The name of host group.
*/
readonly hostGroupName?: string;
/**
* The identifier of host.
*/
readonly hostIdentifier?: string;
/**
* The project name of iam.
*/
readonly iamProjectName?: string;
/**
* The provider-assigned unique ID for this managed resource.
*/
readonly id: string;
/**
* The collection of query.
*/
readonly infos: outputs.tls.HostGroupsInfo[];
readonly outputFile?: string;
/**
* Whether enable service logging.
*/
readonly serviceLogging?: boolean;
/**
* The total count of query.
*/
readonly totalCount: number;
}
/**
* Use this data source to query detailed information of tls host groups
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as volcengine from "@pulumi/volcengine";
*
* const default = volcengine.tls.getHostGroups({
* hostGroupId: "fbea6619-7b0c-40f3-ac7e-45c63e3f676e",
* hostGroupName: "cn",
* });
* ```
*/
/** @deprecated volcengine.tls.HostGroups has been deprecated in favor of volcengine.tls.getHostGroups */
export declare function hostGroupsOutput(args?: HostGroupsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<HostGroupsResult>;
/**
* A collection of arguments for invoking HostGroups.
*/
export interface HostGroupsOutputArgs {
/**
* Whether enable auto update.
*/
autoUpdate?: pulumi.Input<boolean>;
/**
* The id of host group.
*/
hostGroupId?: pulumi.Input<string>;
/**
* The name of host group.
*/
hostGroupName?: pulumi.Input<string>;
/**
* The identifier of host.
*/
hostIdentifier?: pulumi.Input<string>;
/**
* The project name of iam.
*/
iamProjectName?: pulumi.Input<string>;
/**
* File name where to save data source results.
*/
outputFile?: pulumi.Input<string>;
/**
* Whether enable service logging.
*/
serviceLogging?: pulumi.Input<boolean>;
}