@volcengine/pulumi
Version:
A Pulumi package for creating and managing volcengine cloud resources.
79 lines (78 loc) • 2.03 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "../types/output";
/**
* Use this data source to query detailed information of cr endpoints
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as volcengine from "@pulumi/volcengine";
*
* const foo = volcengine.cr.getEndpoints({
* registry: "tf-1",
* });
* ```
*/
export declare function getEndpoints(args: GetEndpointsArgs, opts?: pulumi.InvokeOptions): Promise<GetEndpointsResult>;
/**
* A collection of arguments for invoking getEndpoints.
*/
export interface GetEndpointsArgs {
/**
* File name where to save data source results.
*/
outputFile?: string;
/**
* The CR instance name.
*/
registry: string;
}
/**
* A collection of values returned by getEndpoints.
*/
export interface GetEndpointsResult {
/**
* The collection of endpoint query.
*/
readonly endpoints: outputs.cr.GetEndpointsEndpoint[];
/**
* The provider-assigned unique ID for this managed resource.
*/
readonly id: string;
readonly outputFile?: string;
/**
* The name of CR instance.
*/
readonly registry: string;
/**
* The total count of tag query.
*/
readonly totalCount: number;
}
/**
* Use this data source to query detailed information of cr endpoints
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as volcengine from "@pulumi/volcengine";
*
* const foo = volcengine.cr.getEndpoints({
* registry: "tf-1",
* });
* ```
*/
export declare function getEndpointsOutput(args: GetEndpointsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetEndpointsResult>;
/**
* A collection of arguments for invoking getEndpoints.
*/
export interface GetEndpointsOutputArgs {
/**
* File name where to save data source results.
*/
outputFile?: pulumi.Input<string>;
/**
* The CR instance name.
*/
registry: pulumi.Input<string>;
}