@huaweicloudos/pulumi
Version:
A Pulumi package for creating and managing Huaweicloud cloud resources.
77 lines (76 loc) • 2.66 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import { output as outputs } from "../types";
/**
* Use this data source to query available runtimes within HuaweiCloud.
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as huaweicloud from "@pulumi/huaweicloud";
*
* const test = pulumi.output(huaweicloud.ServiceStage.getComponentRuntimes());
* ```
*/
export declare function getComponentRuntimes(args?: GetComponentRuntimesArgs, opts?: pulumi.InvokeOptions): Promise<GetComponentRuntimesResult>;
/**
* A collection of arguments for invoking getComponentRuntimes.
*/
export interface GetComponentRuntimesArgs {
/**
* Specifies the default container port to use for filtering.
*/
defaultPort?: number;
/**
* Specifies the runtime name to use for filtering.
* For the runtime names corresponding to each type of component, please refer to the [document](https://support.huaweicloud.com/intl/en-us/usermanual-servicestage/servicestage_user_0411.html).
*/
name?: string;
/**
* Specifies the region in which to obtain the component runtimes.
* If omitted, the provider-level region will be used.
*/
region?: string;
}
/**
* A collection of values returned by getComponentRuntimes.
*/
export interface GetComponentRuntimesResult {
/**
* The default container port.
*/
readonly defaultPort?: number;
/**
* The provider-assigned unique ID for this managed resource.
*/
readonly id: string;
/**
* The runtime name.
*/
readonly name?: string;
readonly region?: string;
/**
* The list of runtime details.
*/
readonly runtimes: outputs.ServiceStage.GetComponentRuntimesRuntime[];
}
export declare function getComponentRuntimesOutput(args?: GetComponentRuntimesOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetComponentRuntimesResult>;
/**
* A collection of arguments for invoking getComponentRuntimes.
*/
export interface GetComponentRuntimesOutputArgs {
/**
* Specifies the default container port to use for filtering.
*/
defaultPort?: pulumi.Input<number>;
/**
* Specifies the runtime name to use for filtering.
* For the runtime names corresponding to each type of component, please refer to the [document](https://support.huaweicloud.com/intl/en-us/usermanual-servicestage/servicestage_user_0411.html).
*/
name?: pulumi.Input<string>;
/**
* Specifies the region in which to obtain the component runtimes.
* If omitted, the provider-level region will be used.
*/
region?: pulumi.Input<string>;
}