Volcengine v0.0.26 published on Friday, Sep 13, 2024 by Volcengine
volcengine.cr.VpcEndpoints
Explore with Pulumi AI
Use this data source to query detailed information of cr vpc endpoints
Example Usage
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Volcengine = Pulumi.Volcengine;
return await Deployment.RunAsync(() =>
{
var @default = Volcengine.Cr.VpcEndpoints.Invoke(new()
{
Registry = "enterprise-1",
Statuses = new[]
{
"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.VpcEndpoints(ctx, &cr.VpcEndpointsArgs{
Registry: "enterprise-1",
Statuses: []string{
"Enabled",
"Enabling",
"Disabling",
"Failed",
},
}, nil)
if err != nil {
return err
}
return nil
})
}
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_vpcEndpoints.inputs.VpcEndpointsArgs;
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.VpcEndpoints(VpcEndpointsArgs.builder()
.registry("enterprise-1")
.statuses(
"Enabled",
"Enabling",
"Disabling",
"Failed")
.build());
}
}
import pulumi
import pulumi_volcengine as volcengine
default = volcengine.cr.vpc_endpoints(registry="enterprise-1",
statuses=[
"Enabled",
"Enabling",
"Disabling",
"Failed",
])
import * as pulumi from "@pulumi/pulumi";
import * as volcengine from "@pulumi/volcengine";
const default = volcengine.cr.VpcEndpoints({
registry: "enterprise-1",
statuses: [
"Enabled",
"Enabling",
"Disabling",
"Failed",
],
});
variables:
default:
fn::invoke:
Function: volcengine:cr:VpcEndpoints
Arguments:
registry: enterprise-1
statuses:
- Enabled
- Enabling
- Disabling
- Failed
Using VpcEndpoints
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 vpcEndpoints(args: VpcEndpointsArgs, opts?: InvokeOptions): Promise<VpcEndpointsResult>
function vpcEndpointsOutput(args: VpcEndpointsOutputArgs, opts?: InvokeOptions): Output<VpcEndpointsResult>
def vpc_endpoints(output_file: Optional[str] = None,
registry: Optional[str] = None,
statuses: Optional[Sequence[str]] = None,
opts: Optional[InvokeOptions] = None) -> VpcEndpointsResult
def 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[VpcEndpointsResult]
func VpcEndpoints(ctx *Context, args *VpcEndpointsArgs, opts ...InvokeOption) (*VpcEndpointsResult, error)
func VpcEndpointsOutput(ctx *Context, args *VpcEndpointsOutputArgs, opts ...InvokeOption) VpcEndpointsResultOutput
public static class VpcEndpoints
{
public static Task<VpcEndpointsResult> InvokeAsync(VpcEndpointsArgs args, InvokeOptions? opts = null)
public static Output<VpcEndpointsResult> Invoke(VpcEndpointsInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<VpcEndpointsResult> vpcEndpoints(VpcEndpointsArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: volcengine:cr:VpcEndpoints
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.
VpcEndpoints Result
The following output properties are available:
- Endpoints
List<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
[]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<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
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[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
VpcEndpointsEndpoint
- Registry string
- The CR registry name.
- Vpcs
List<Vpc
Endpoints Endpoint Vpc> - List of vpc information.
- Registry string
- The CR registry name.
- Vpcs
[]Vpc
Endpoints Endpoint Vpc - List of vpc information.
- registry String
- The CR registry name.
- vpcs
List<Vpc
Endpoints Endpoint Vpc> - List of vpc information.
- registry string
- The CR registry name.
- vpcs
Vpc
Endpoints Endpoint Vpc[] - List of vpc information.
- registry str
- The CR registry name.
- vpcs
Sequence[Vpc
Endpoints Endpoint Vpc] - List of vpc information.
- registry String
- The CR registry name.
- vpcs List<Property Map>
- List of vpc information.
VpcEndpointsEndpointVpc
- 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.