@volcengine/pulumi
Version:
A Pulumi package for creating and managing volcengine cloud resources.
102 lines (101 loc) • 2.98 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",
* ],
* });
* ```
*/
/** @deprecated volcengine.cr.VpcEndpoints has been deprecated in favor of volcengine.cr.getVpcEndpoints */
export declare function vpcEndpoints(args: VpcEndpointsArgs, opts?: pulumi.InvokeOptions): Promise<VpcEndpointsResult>;
/**
* A collection of arguments for invoking VpcEndpoints.
*/
export interface VpcEndpointsArgs {
/**
* 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 VpcEndpoints.
*/
export interface VpcEndpointsResult {
/**
* List of CR vpc endpoints.
*/
readonly endpoints: outputs.cr.VpcEndpointsEndpoint[];
/**
* 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",
* ],
* });
* ```
*/
/** @deprecated volcengine.cr.VpcEndpoints has been deprecated in favor of volcengine.cr.getVpcEndpoints */
export declare function vpcEndpointsOutput(args: VpcEndpointsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<VpcEndpointsResult>;
/**
* A collection of arguments for invoking VpcEndpoints.
*/
export interface VpcEndpointsOutputArgs {
/**
* 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>[]>;
}