Volcengine v0.0.31 published on Monday, May 12, 2025 by Volcengine
volcengine.cr.getVpcEndpoints
Explore with Pulumi AI
Use this data source to query detailed information of cr vpc endpoints
Example Usage
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",
],
});
import pulumi
import pulumi_volcengine as volcengine
default = volcengine.cr.get_vpc_endpoints(registry="enterprise-1",
statuses=[
"Enabled",
"Enabling",
"Disabling",
"Failed",
])
package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/cr"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := cr.GetVpcEndpoints(ctx, &cr.GetVpcEndpointsArgs{
Registry: "enterprise-1",
Statuses: []string{
"Enabled",
"Enabling",
"Disabling",
"Failed",
},
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Volcengine = Pulumi.Volcengine;
return await Deployment.RunAsync(() =>
{
var @default = Volcengine.Cr.GetVpcEndpoints.Invoke(new()
{
Registry = "enterprise-1",
Statuses = new[]
{
"Enabled",
"Enabling",
"Disabling",
"Failed",
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.volcengine.cr.CrFunctions;
import com.pulumi.volcengine.cr.inputs.GetVpcEndpointsArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var default = CrFunctions.getVpcEndpoints(GetVpcEndpointsArgs.builder()
.registry("enterprise-1")
.statuses(
"Enabled",
"Enabling",
"Disabling",
"Failed")
.build());
}
}
variables:
default:
fn::invoke:
Function: volcengine:cr:getVpcEndpoints
Arguments:
registry: enterprise-1
statuses:
- Enabled
- Enabling
- Disabling
- Failed
Using getVpcEndpoints
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getVpcEndpoints(args: GetVpcEndpointsArgs, opts?: InvokeOptions): Promise<GetVpcEndpointsResult>
function getVpcEndpointsOutput(args: GetVpcEndpointsOutputArgs, opts?: InvokeOptions): Output<GetVpcEndpointsResult>
def get_vpc_endpoints(output_file: Optional[str] = None,
registry: Optional[str] = None,
statuses: Optional[Sequence[str]] = None,
opts: Optional[InvokeOptions] = None) -> GetVpcEndpointsResult
def get_vpc_endpoints_output(output_file: Optional[pulumi.Input[str]] = None,
registry: Optional[pulumi.Input[str]] = None,
statuses: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetVpcEndpointsResult]
func GetVpcEndpoints(ctx *Context, args *GetVpcEndpointsArgs, opts ...InvokeOption) (*GetVpcEndpointsResult, error)
func GetVpcEndpointsOutput(ctx *Context, args *GetVpcEndpointsOutputArgs, opts ...InvokeOption) GetVpcEndpointsResultOutput
> Note: This function is named GetVpcEndpoints
in the Go SDK.
public static class GetVpcEndpoints
{
public static Task<GetVpcEndpointsResult> InvokeAsync(GetVpcEndpointsArgs args, InvokeOptions? opts = null)
public static Output<GetVpcEndpointsResult> Invoke(GetVpcEndpointsInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetVpcEndpointsResult> getVpcEndpoints(GetVpcEndpointsArgs args, InvokeOptions options)
public static Output<GetVpcEndpointsResult> getVpcEndpoints(GetVpcEndpointsArgs args, InvokeOptions options)
fn::invoke:
function: volcengine:cr/getVpcEndpoints:getVpcEndpoints
arguments:
# arguments dictionary
The following arguments are supported:
- Registry string
- The CR registry name.
- Output
File string - File name where to save data source results.
- Statuses List<string>
- VPC access entry state array, used to filter out VPC access entries in the specified state. Available values are Enabling, Enabled, Disabling, Failed.
- Registry string
- The CR registry name.
- Output
File string - File name where to save data source results.
- Statuses []string
- VPC access entry state array, used to filter out VPC access entries in the specified state. Available values are Enabling, Enabled, Disabling, Failed.
- registry String
- The CR registry name.
- output
File String - File name where to save data source results.
- statuses List<String>
- VPC access entry state array, used to filter out VPC access entries in the specified state. Available values are Enabling, Enabled, Disabling, Failed.
- registry string
- The CR registry name.
- output
File string - File name where to save data source results.
- statuses string[]
- VPC access entry state array, used to filter out VPC access entries in the specified state. Available values are Enabling, Enabled, Disabling, Failed.
- registry str
- The CR registry name.
- output_
file str - File name where to save data source results.
- statuses Sequence[str]
- VPC access entry state array, used to filter out VPC access entries in the specified state. Available values are Enabling, Enabled, Disabling, Failed.
- registry String
- The CR registry name.
- output
File String - File name where to save data source results.
- statuses List<String>
- VPC access entry state array, used to filter out VPC access entries in the specified state. Available values are Enabling, Enabled, Disabling, Failed.
getVpcEndpoints Result
The following output properties are available:
- Endpoints
List<Get
Vpc Endpoints Endpoint> - List of CR vpc endpoints.
- Id string
- The provider-assigned unique ID for this managed resource.
- Registry string
- The name of CR registry.
- Total
Count int - The total count of CR vpc endpoints query.
- Output
File string - Statuses List<string>
- Endpoints
[]Get
Vpc Endpoints Endpoint - List of CR vpc endpoints.
- Id string
- The provider-assigned unique ID for this managed resource.
- Registry string
- The name of CR registry.
- Total
Count int - The total count of CR vpc endpoints query.
- Output
File string - Statuses []string
- endpoints
List<Get
Vpc Endpoints Endpoint> - List of CR vpc endpoints.
- id String
- The provider-assigned unique ID for this managed resource.
- registry String
- The name of CR registry.
- total
Count Integer - The total count of CR vpc endpoints query.
- output
File String - statuses List<String>
- endpoints
Get
Vpc Endpoints Endpoint[] - List of CR vpc endpoints.
- id string
- The provider-assigned unique ID for this managed resource.
- registry string
- The name of CR registry.
- total
Count number - The total count of CR vpc endpoints query.
- output
File string - statuses string[]
- endpoints
Sequence[Get
Vpc Endpoints Endpoint] - List of CR vpc endpoints.
- id str
- The provider-assigned unique ID for this managed resource.
- registry str
- The name of CR registry.
- total_
count int - The total count of CR vpc endpoints query.
- output_
file str - statuses Sequence[str]
- endpoints List<Property Map>
- List of CR vpc endpoints.
- id String
- The provider-assigned unique ID for this managed resource.
- registry String
- The name of CR registry.
- total
Count Number - The total count of CR vpc endpoints query.
- output
File String - statuses List<String>
Supporting Types
GetVpcEndpointsEndpoint
- Registry string
- The CR registry name.
- Vpcs
List<Get
Vpc Endpoints Endpoint Vpc> - List of vpc information.
- Registry string
- The CR registry name.
- Vpcs
[]Get
Vpc Endpoints Endpoint Vpc - List of vpc information.
- registry String
- The CR registry name.
- vpcs
List<Get
Vpc Endpoints Endpoint Vpc> - List of vpc information.
- registry string
- The CR registry name.
- vpcs
Get
Vpc Endpoints Endpoint Vpc[] - List of vpc information.
- registry str
- The CR registry name.
- vpcs
Sequence[Get
Vpc Endpoints Endpoint Vpc] - List of vpc information.
- registry String
- The CR registry name.
- vpcs List<Property Map>
- List of vpc information.
GetVpcEndpointsEndpointVpc
- account_
id int - The id of the account.
- create_
time str - The creation time.
- ip str
- The IP address of the mirror repository in the VPC.
- region str
- The region id.
- status str
- The status of the vpc endpoint.
- subnet_
id str - The ID of the subnet.
- vpc_
id str - The ID of the vpc.
Package Details
- Repository
- volcengine volcengine/pulumi-volcengine
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
volcengine
Terraform Provider.