@volcengine/pulumi
Version:
A Pulumi package for creating and managing volcengine cloud resources.
100 lines (99 loc) • 2.81 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "../types/output";
/**
* Use this data source to query detailed information of cr vpc endpoints
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as volcengine from "@pulumi/volcengine";
*
* const default = volcengine.cr.getVpcEndpoints({
* registry: "enterprise-1",
* statuses: [
* "Enabled",
* "Enabling",
* "Disabling",
* "Failed",
* ],
* });
* ```
*/
export declare function getVpcEndpoints(args: GetVpcEndpointsArgs, opts?: pulumi.InvokeOptions): Promise<GetVpcEndpointsResult>;
/**
* A collection of arguments for invoking getVpcEndpoints.
*/
export interface GetVpcEndpointsArgs {
/**
* File name where to save data source results.
*/
outputFile?: string;
/**
* The CR registry name.
*/
registry: string;
/**
* VPC access entry state array, used to filter out VPC access entries in the specified state. Available values are Enabling, Enabled, Disabling, Failed.
*/
statuses?: string[];
}
/**
* A collection of values returned by getVpcEndpoints.
*/
export interface GetVpcEndpointsResult {
/**
* List of CR vpc endpoints.
*/
readonly endpoints: outputs.cr.GetVpcEndpointsEndpoint[];
/**
* The provider-assigned unique ID for this managed resource.
*/
readonly id: string;
readonly outputFile?: string;
/**
* The name of CR registry.
*/
readonly registry: string;
readonly statuses?: string[];
/**
* The total count of CR vpc endpoints query.
*/
readonly totalCount: number;
}
/**
* Use this data source to query detailed information of cr vpc endpoints
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as volcengine from "@pulumi/volcengine";
*
* const default = volcengine.cr.getVpcEndpoints({
* registry: "enterprise-1",
* statuses: [
* "Enabled",
* "Enabling",
* "Disabling",
* "Failed",
* ],
* });
* ```
*/
export declare function getVpcEndpointsOutput(args: GetVpcEndpointsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetVpcEndpointsResult>;
/**
* A collection of arguments for invoking getVpcEndpoints.
*/
export interface GetVpcEndpointsOutputArgs {
/**
* File name where to save data source results.
*/
outputFile?: pulumi.Input<string>;
/**
* The CR registry name.
*/
registry: pulumi.Input<string>;
/**
* VPC access entry state array, used to filter out VPC access entries in the specified state. Available values are Enabling, Enabled, Disabling, Failed.
*/
statuses?: pulumi.Input<pulumi.Input<string>[]>;
}