@volcengine/pulumi
Version:
A Pulumi package for creating and managing volcengine cloud resources.
81 lines (80 loc) • 2.19 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",
* });
* ```
*/
/** @deprecated volcengine.cr.Endpoints has been deprecated in favor of volcengine.cr.getEndpoints */
export declare function endpoints(args: EndpointsArgs, opts?: pulumi.InvokeOptions): Promise<EndpointsResult>;
/**
* A collection of arguments for invoking Endpoints.
*/
export interface EndpointsArgs {
/**
* File name where to save data source results.
*/
outputFile?: string;
/**
* The CR instance name.
*/
registry: string;
}
/**
* A collection of values returned by Endpoints.
*/
export interface EndpointsResult {
/**
* The collection of endpoint query.
*/
readonly endpoints: outputs.cr.EndpointsEndpoint[];
/**
* 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",
* });
* ```
*/
/** @deprecated volcengine.cr.Endpoints has been deprecated in favor of volcengine.cr.getEndpoints */
export declare function endpointsOutput(args: EndpointsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<EndpointsResult>;
/**
* A collection of arguments for invoking Endpoints.
*/
export interface EndpointsOutputArgs {
/**
* File name where to save data source results.
*/
outputFile?: pulumi.Input<string>;
/**
* The CR instance name.
*/
registry: pulumi.Input<string>;
}