1. Packages
  2. Volcengine
  3. API Docs
  4. cr
  5. VpcEndpoints
Volcengine v0.0.27 published on Tuesday, Dec 10, 2024 by Volcengine

volcengine.cr.VpcEndpoints

Explore with Pulumi AI

Volcengine v0.0.27 published on Tuesday, Dec 10, 2024 by Volcengine

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.VpcEndpoints({
    registry: "enterprise-1",
    statuses: [
        "Enabled",
        "Enabling",
        "Disabling",
        "Failed",
    ],
});
Copy
import pulumi
import pulumi_volcengine as volcengine

default = volcengine.cr.vpc_endpoints(registry="enterprise-1",
    statuses=[
        "Enabled",
        "Enabling",
        "Disabling",
        "Failed",
    ])
Copy
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
	})
}
Copy
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",
        },
    });

});
Copy
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());

    }
}
Copy
variables:
  default:
    fn::invoke:
      Function: volcengine:cr:VpcEndpoints
      Arguments:
        registry: enterprise-1
        statuses:
          - Enabled
          - Enabling
          - Disabling
          - Failed
Copy

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>
Copy
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]
Copy
func VpcEndpoints(ctx *Context, args *VpcEndpointsArgs, opts ...InvokeOption) (*VpcEndpointsResult, error)
func VpcEndpointsOutput(ctx *Context, args *VpcEndpointsOutputArgs, opts ...InvokeOption) VpcEndpointsResultOutput
Copy
public static class VpcEndpoints 
{
    public static Task<VpcEndpointsResult> InvokeAsync(VpcEndpointsArgs args, InvokeOptions? opts = null)
    public static Output<VpcEndpointsResult> Invoke(VpcEndpointsInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<VpcEndpointsResult> vpcEndpoints(VpcEndpointsArgs args, InvokeOptions options)
public static Output<VpcEndpointsResult> vpcEndpoints(VpcEndpointsArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: volcengine:cr:VpcEndpoints
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

Registry This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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<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 This property is required. string
The CR registry name.
Vpcs This property is required. List<VpcEndpointsEndpointVpc>
List of vpc information.
Registry This property is required. string
The CR registry name.
Vpcs This property is required. []VpcEndpointsEndpointVpc
List of vpc information.
registry This property is required. String
The CR registry name.
vpcs This property is required. List<VpcEndpointsEndpointVpc>
List of vpc information.
registry This property is required. string
The CR registry name.
vpcs This property is required. VpcEndpointsEndpointVpc[]
List of vpc information.
registry This property is required. str
The CR registry name.
vpcs This property is required. Sequence[VpcEndpointsEndpointVpc]
List of vpc information.
registry This property is required. String
The CR registry name.
vpcs This property is required. List<Property Map>
List of vpc information.

VpcEndpointsEndpointVpc

AccountId This property is required. int
The id of the account.
CreateTime This property is required. string
The creation time.
Ip This property is required. string
The IP address of the mirror repository in the VPC.
Region This property is required. string
The region id.
Status This property is required. string
The status of the vpc endpoint.
SubnetId This property is required. string
The ID of the subnet.
VpcId This property is required. string
The ID of the vpc.
AccountId This property is required. int
The id of the account.
CreateTime This property is required. string
The creation time.
Ip This property is required. string
The IP address of the mirror repository in the VPC.
Region This property is required. string
The region id.
Status This property is required. string
The status of the vpc endpoint.
SubnetId This property is required. string
The ID of the subnet.
VpcId This property is required. string
The ID of the vpc.
accountId This property is required. Integer
The id of the account.
createTime This property is required. String
The creation time.
ip This property is required. String
The IP address of the mirror repository in the VPC.
region This property is required. String
The region id.
status This property is required. String
The status of the vpc endpoint.
subnetId This property is required. String
The ID of the subnet.
vpcId This property is required. String
The ID of the vpc.
accountId This property is required. number
The id of the account.
createTime This property is required. string
The creation time.
ip This property is required. string
The IP address of the mirror repository in the VPC.
region This property is required. string
The region id.
status This property is required. string
The status of the vpc endpoint.
subnetId This property is required. string
The ID of the subnet.
vpcId This property is required. string
The ID of the vpc.
account_id This property is required. int
The id of the account.
create_time This property is required. str
The creation time.
ip This property is required. str
The IP address of the mirror repository in the VPC.
region This property is required. str
The region id.
status This property is required. str
The status of the vpc endpoint.
subnet_id This property is required. str
The ID of the subnet.
vpc_id This property is required. str
The ID of the vpc.
accountId This property is required. Number
The id of the account.
createTime This property is required. String
The creation time.
ip This property is required. String
The IP address of the mirror repository in the VPC.
region This property is required. String
The region id.
status This property is required. String
The status of the vpc endpoint.
subnetId This property is required. String
The ID of the subnet.
vpcId This property is required. 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 v0.0.27 published on Tuesday, Dec 10, 2024 by Volcengine