1. Packages
  2. Volcengine
  3. API Docs
  4. cr
  5. VpcEndpoints
Volcengine v0.0.23 published on Wednesday, Jan 3, 2024 by Volcengine

volcengine.cr.VpcEndpoints

Explore with Pulumi AI

volcengine logo
Volcengine v0.0.23 published on Wednesday, Jan 3, 2024 by Volcengine

    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.
    OutputFile 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.
    OutputFile 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.
    outputFile 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.
    outputFile 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.
    outputFile 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<Volcengine.Pulumi.Volcengine.Cr.Outputs.VpcEndpointsEndpoint>
    List of CR vpc endpoints.
    Id string
    The provider-assigned unique ID for this managed resource.
    Registry string
    The name of CR registry.
    TotalCount int
    The total count of CR vpc endpoints query.
    OutputFile string
    Statuses List<string>
    Endpoints []VpcEndpointsEndpoint
    List of CR vpc endpoints.
    Id string
    The provider-assigned unique ID for this managed resource.
    Registry string
    The name of CR registry.
    TotalCount int
    The total count of CR vpc endpoints query.
    OutputFile string
    Statuses []string
    endpoints List<VpcEndpointsEndpoint>
    List of CR vpc endpoints.
    id String
    The provider-assigned unique ID for this managed resource.
    registry String
    The name of CR registry.
    totalCount Integer
    The total count of CR vpc endpoints query.
    outputFile String
    statuses List<String>
    endpoints VpcEndpointsEndpoint[]
    List of CR vpc endpoints.
    id string
    The provider-assigned unique ID for this managed resource.
    registry string
    The name of CR registry.
    totalCount number
    The total count of CR vpc endpoints query.
    outputFile string
    statuses string[]
    endpoints Sequence[VpcEndpointsEndpoint]
    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.
    totalCount Number
    The total count of CR vpc endpoints query.
    outputFile String
    statuses List<String>

    Supporting Types

    VpcEndpointsEndpoint

    Registry string
    The CR registry name.
    Vpcs []VpcEndpointsEndpointVpc
    List of vpc information.
    registry String
    The CR registry name.
    vpcs List<VpcEndpointsEndpointVpc>
    List of vpc information.
    registry string
    The CR registry name.
    vpcs VpcEndpointsEndpointVpc[]
    List of vpc information.
    registry str
    The CR registry name.
    vpcs Sequence[VpcEndpointsEndpointVpc]
    List of vpc information.
    registry String
    The CR registry name.
    vpcs List<Property Map>
    List of vpc information.

    VpcEndpointsEndpointVpc

    AccountId int
    The id of the account.
    CreateTime string
    The creation time.
    Ip string
    The IP address of the mirror repository in the VPC.
    Region string
    The region id.
    Status string
    The status of the vpc endpoint.
    SubnetId string
    The ID of the subnet.
    VpcId string
    The ID of the vpc.
    AccountId int
    The id of the account.
    CreateTime string
    The creation time.
    Ip string
    The IP address of the mirror repository in the VPC.
    Region string
    The region id.
    Status string
    The status of the vpc endpoint.
    SubnetId string
    The ID of the subnet.
    VpcId string
    The ID of the vpc.
    accountId Integer
    The id of the account.
    createTime String
    The creation time.
    ip String
    The IP address of the mirror repository in the VPC.
    region String
    The region id.
    status String
    The status of the vpc endpoint.
    subnetId String
    The ID of the subnet.
    vpcId String
    The ID of the vpc.
    accountId number
    The id of the account.
    createTime string
    The creation time.
    ip string
    The IP address of the mirror repository in the VPC.
    region string
    The region id.
    status string
    The status of the vpc endpoint.
    subnetId string
    The ID of the subnet.
    vpcId string
    The ID of the vpc.
    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.
    accountId Number
    The id of the account.
    createTime String
    The creation time.
    ip String
    The IP address of the mirror repository in the VPC.
    region String
    The region id.
    status String
    The status of the vpc endpoint.
    subnetId String
    The ID of the subnet.
    vpcId String
    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.
    volcengine logo
    Volcengine v0.0.23 published on Wednesday, Jan 3, 2024 by Volcengine