1. Packages
  2. Opentelekomcloud Provider
  3. API Docs
  4. getVpcepServiceV1
opentelekomcloud 1.36.35 published on Monday, Apr 14, 2025 by opentelekomcloud

opentelekomcloud.getVpcepServiceV1

Explore with Pulumi AI

Up-to-date reference of API arguments for VPCEP service you can get at documentation portal

Use this data source to get details about a specific VPCEP service.

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as opentelekomcloud from "@pulumi/opentelekomcloud";

const service = opentelekomcloud.getVpcepServiceV1({
    name: _var.service_name,
});
Copy
import pulumi
import pulumi_opentelekomcloud as opentelekomcloud

service = opentelekomcloud.get_vpcep_service_v1(name=var["service_name"])
Copy
package main

import (
	"github.com/pulumi/pulumi-terraform-provider/sdks/go/opentelekomcloud/opentelekomcloud"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := opentelekomcloud.LookupVpcepServiceV1(ctx, &opentelekomcloud.LookupVpcepServiceV1Args{
			Name: pulumi.StringRef(_var.Service_name),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Opentelekomcloud = Pulumi.Opentelekomcloud;

return await Deployment.RunAsync(() => 
{
    var service = Opentelekomcloud.GetVpcepServiceV1.Invoke(new()
    {
        Name = @var.Service_name,
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.opentelekomcloud.OpentelekomcloudFunctions;
import com.pulumi.opentelekomcloud.inputs.GetVpcepServiceV1Args;
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 service = OpentelekomcloudFunctions.getVpcepServiceV1(GetVpcepServiceV1Args.builder()
            .name(var_.service_name())
            .build());

    }
}
Copy
variables:
  service:
    fn::invoke:
      function: opentelekomcloud:getVpcepServiceV1
      arguments:
        name: ${var.service_name}
Copy

Using getVpcepServiceV1

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 getVpcepServiceV1(args: GetVpcepServiceV1Args, opts?: InvokeOptions): Promise<GetVpcepServiceV1Result>
function getVpcepServiceV1Output(args: GetVpcepServiceV1OutputArgs, opts?: InvokeOptions): Output<GetVpcepServiceV1Result>
Copy
def get_vpcep_service_v1(id: Optional[str] = None,
                         name: Optional[str] = None,
                         status: Optional[str] = None,
                         tags: Optional[Mapping[str, str]] = None,
                         opts: Optional[InvokeOptions] = None) -> GetVpcepServiceV1Result
def get_vpcep_service_v1_output(id: Optional[pulumi.Input[str]] = None,
                         name: Optional[pulumi.Input[str]] = None,
                         status: Optional[pulumi.Input[str]] = None,
                         tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
                         opts: Optional[InvokeOptions] = None) -> Output[GetVpcepServiceV1Result]
Copy
func LookupVpcepServiceV1(ctx *Context, args *LookupVpcepServiceV1Args, opts ...InvokeOption) (*LookupVpcepServiceV1Result, error)
func LookupVpcepServiceV1Output(ctx *Context, args *LookupVpcepServiceV1OutputArgs, opts ...InvokeOption) LookupVpcepServiceV1ResultOutput
Copy

> Note: This function is named LookupVpcepServiceV1 in the Go SDK.

public static class GetVpcepServiceV1 
{
    public static Task<GetVpcepServiceV1Result> InvokeAsync(GetVpcepServiceV1Args args, InvokeOptions? opts = null)
    public static Output<GetVpcepServiceV1Result> Invoke(GetVpcepServiceV1InvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetVpcepServiceV1Result> getVpcepServiceV1(GetVpcepServiceV1Args args, InvokeOptions options)
public static Output<GetVpcepServiceV1Result> getVpcepServiceV1(GetVpcepServiceV1Args args, InvokeOptions options)
Copy
fn::invoke:
  function: opentelekomcloud:index/getVpcepServiceV1:getVpcepServiceV1
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

Id string
Specifies the unique ID of the VPC endpoint service.
Name string
Specifies the name of the VPC endpoint service. The value is not case-sensitive and supports fuzzy match.
Status string
Specifies the status of the VPC endpoint service.
Tags Dictionary<string, string>
Map of the resource tags.
Id string
Specifies the unique ID of the VPC endpoint service.
Name string
Specifies the name of the VPC endpoint service. The value is not case-sensitive and supports fuzzy match.
Status string
Specifies the status of the VPC endpoint service.
Tags map[string]string
Map of the resource tags.
id String
Specifies the unique ID of the VPC endpoint service.
name String
Specifies the name of the VPC endpoint service. The value is not case-sensitive and supports fuzzy match.
status String
Specifies the status of the VPC endpoint service.
tags Map<String,String>
Map of the resource tags.
id string
Specifies the unique ID of the VPC endpoint service.
name string
Specifies the name of the VPC endpoint service. The value is not case-sensitive and supports fuzzy match.
status string
Specifies the status of the VPC endpoint service.
tags {[key: string]: string}
Map of the resource tags.
id str
Specifies the unique ID of the VPC endpoint service.
name str
Specifies the name of the VPC endpoint service. The value is not case-sensitive and supports fuzzy match.
status str
Specifies the status of the VPC endpoint service.
tags Mapping[str, str]
Map of the resource tags.
id String
Specifies the unique ID of the VPC endpoint service.
name String
Specifies the name of the VPC endpoint service. The value is not case-sensitive and supports fuzzy match.
status String
Specifies the status of the VPC endpoint service.
tags Map<String>
Map of the resource tags.

getVpcepServiceV1 Result

The following output properties are available:

ApprovalEnabled bool
Specifies whether connection approval is required.
ConnectionCount double
Specifies the number of Creating or Accepted VPC endpoints under the VPC endpoint service.
CreatedAt string
Specifies the creation time of the VPC endpoint service.
Id string
Name string
PortId string
Specifies the ID for identifying the backend resource of the VPC endpoint service. The ID is in the form of the UUID.
Ports List<GetVpcepServiceV1Port>
ProjectId string
Specifies the project ID.
ServerType string
Specifies the resource type.
ServiceType string
Specifies the type of the VPC endpoint service.
Status string
TcpProxy string
Specifies whether the client IP address and port number or marker_id information is transmitted to the server.
UpdatedAt string
Specifies the update time of the VPC endpoint service.
VipPortId string
Specifies the ID of the virtual NIC to which the virtual IP address is bound. This parameter is returned only when port_id is set to VIP.
VpcId string
Specifies the ID of the VPC to which the backend resource of the VPC endpoint service belongs.
Tags Dictionary<string, string>
Map of the resource tags.
ApprovalEnabled bool
Specifies whether connection approval is required.
ConnectionCount float64
Specifies the number of Creating or Accepted VPC endpoints under the VPC endpoint service.
CreatedAt string
Specifies the creation time of the VPC endpoint service.
Id string
Name string
PortId string
Specifies the ID for identifying the backend resource of the VPC endpoint service. The ID is in the form of the UUID.
Ports []GetVpcepServiceV1Port
ProjectId string
Specifies the project ID.
ServerType string
Specifies the resource type.
ServiceType string
Specifies the type of the VPC endpoint service.
Status string
TcpProxy string
Specifies whether the client IP address and port number or marker_id information is transmitted to the server.
UpdatedAt string
Specifies the update time of the VPC endpoint service.
VipPortId string
Specifies the ID of the virtual NIC to which the virtual IP address is bound. This parameter is returned only when port_id is set to VIP.
VpcId string
Specifies the ID of the VPC to which the backend resource of the VPC endpoint service belongs.
Tags map[string]string
Map of the resource tags.
approvalEnabled Boolean
Specifies whether connection approval is required.
connectionCount Double
Specifies the number of Creating or Accepted VPC endpoints under the VPC endpoint service.
createdAt String
Specifies the creation time of the VPC endpoint service.
id String
name String
portId String
Specifies the ID for identifying the backend resource of the VPC endpoint service. The ID is in the form of the UUID.
ports List<GetVpcepServiceV1Port>
projectId String
Specifies the project ID.
serverType String
Specifies the resource type.
serviceType String
Specifies the type of the VPC endpoint service.
status String
tcpProxy String
Specifies whether the client IP address and port number or marker_id information is transmitted to the server.
updatedAt String
Specifies the update time of the VPC endpoint service.
vipPortId String
Specifies the ID of the virtual NIC to which the virtual IP address is bound. This parameter is returned only when port_id is set to VIP.
vpcId String
Specifies the ID of the VPC to which the backend resource of the VPC endpoint service belongs.
tags Map<String,String>
Map of the resource tags.
approvalEnabled boolean
Specifies whether connection approval is required.
connectionCount number
Specifies the number of Creating or Accepted VPC endpoints under the VPC endpoint service.
createdAt string
Specifies the creation time of the VPC endpoint service.
id string
name string
portId string
Specifies the ID for identifying the backend resource of the VPC endpoint service. The ID is in the form of the UUID.
ports GetVpcepServiceV1Port[]
projectId string
Specifies the project ID.
serverType string
Specifies the resource type.
serviceType string
Specifies the type of the VPC endpoint service.
status string
tcpProxy string
Specifies whether the client IP address and port number or marker_id information is transmitted to the server.
updatedAt string
Specifies the update time of the VPC endpoint service.
vipPortId string
Specifies the ID of the virtual NIC to which the virtual IP address is bound. This parameter is returned only when port_id is set to VIP.
vpcId string
Specifies the ID of the VPC to which the backend resource of the VPC endpoint service belongs.
tags {[key: string]: string}
Map of the resource tags.
approval_enabled bool
Specifies whether connection approval is required.
connection_count float
Specifies the number of Creating or Accepted VPC endpoints under the VPC endpoint service.
created_at str
Specifies the creation time of the VPC endpoint service.
id str
name str
port_id str
Specifies the ID for identifying the backend resource of the VPC endpoint service. The ID is in the form of the UUID.
ports Sequence[GetVpcepServiceV1Port]
project_id str
Specifies the project ID.
server_type str
Specifies the resource type.
service_type str
Specifies the type of the VPC endpoint service.
status str
tcp_proxy str
Specifies whether the client IP address and port number or marker_id information is transmitted to the server.
updated_at str
Specifies the update time of the VPC endpoint service.
vip_port_id str
Specifies the ID of the virtual NIC to which the virtual IP address is bound. This parameter is returned only when port_id is set to VIP.
vpc_id str
Specifies the ID of the VPC to which the backend resource of the VPC endpoint service belongs.
tags Mapping[str, str]
Map of the resource tags.
approvalEnabled Boolean
Specifies whether connection approval is required.
connectionCount Number
Specifies the number of Creating or Accepted VPC endpoints under the VPC endpoint service.
createdAt String
Specifies the creation time of the VPC endpoint service.
id String
name String
portId String
Specifies the ID for identifying the backend resource of the VPC endpoint service. The ID is in the form of the UUID.
ports List<Property Map>
projectId String
Specifies the project ID.
serverType String
Specifies the resource type.
serviceType String
Specifies the type of the VPC endpoint service.
status String
tcpProxy String
Specifies whether the client IP address and port number or marker_id information is transmitted to the server.
updatedAt String
Specifies the update time of the VPC endpoint service.
vipPortId String
Specifies the ID of the virtual NIC to which the virtual IP address is bound. This parameter is returned only when port_id is set to VIP.
vpcId String
Specifies the ID of the VPC to which the backend resource of the VPC endpoint service belongs.
tags Map<String>
Map of the resource tags.

Supporting Types

GetVpcepServiceV1Port

ClientPort This property is required. double
(Required) Specifies the port for accessing the VPC endpoint.
Protocol This property is required. string
ServerPort This property is required. double
(Required) Specifies the port for accessing the VPC endpoint service.
ClientPort This property is required. float64
(Required) Specifies the port for accessing the VPC endpoint.
Protocol This property is required. string
ServerPort This property is required. float64
(Required) Specifies the port for accessing the VPC endpoint service.
clientPort This property is required. Double
(Required) Specifies the port for accessing the VPC endpoint.
protocol This property is required. String
serverPort This property is required. Double
(Required) Specifies the port for accessing the VPC endpoint service.
clientPort This property is required. number
(Required) Specifies the port for accessing the VPC endpoint.
protocol This property is required. string
serverPort This property is required. number
(Required) Specifies the port for accessing the VPC endpoint service.
client_port This property is required. float
(Required) Specifies the port for accessing the VPC endpoint.
protocol This property is required. str
server_port This property is required. float
(Required) Specifies the port for accessing the VPC endpoint service.
clientPort This property is required. Number
(Required) Specifies the port for accessing the VPC endpoint.
protocol This property is required. String
serverPort This property is required. Number
(Required) Specifies the port for accessing the VPC endpoint service.

Package Details

Repository
opentelekomcloud opentelekomcloud/terraform-provider-opentelekomcloud
License
Notes
This Pulumi package is based on the opentelekomcloud Terraform Provider.