1. Packages
  2. Opentelekomcloud Provider
  3. API Docs
  4. getVpcepServiceV1
opentelekomcloud 1.36.37 published on Thursday, Apr 24, 2025 by opentelekomcloud

opentelekomcloud.getVpcepServiceV1

Explore with Pulumi AI

opentelekomcloud logo
opentelekomcloud 1.36.37 published on Thursday, Apr 24, 2025 by opentelekomcloud

    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,
    });
    
    import pulumi
    import pulumi_opentelekomcloud as opentelekomcloud
    
    service = opentelekomcloud.get_vpcep_service_v1(name=var["service_name"])
    
    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
    	})
    }
    
    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,
        });
    
    });
    
    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());
    
        }
    }
    
    variables:
      service:
        fn::invoke:
          function: opentelekomcloud:getVpcepServiceV1
          arguments:
            name: ${var.service_name}
    

    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>
    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]
    func LookupVpcepServiceV1(ctx *Context, args *LookupVpcepServiceV1Args, opts ...InvokeOption) (*LookupVpcepServiceV1Result, error)
    func LookupVpcepServiceV1Output(ctx *Context, args *LookupVpcepServiceV1OutputArgs, opts ...InvokeOption) LookupVpcepServiceV1ResultOutput

    > 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)
    }
    public static CompletableFuture<GetVpcepServiceV1Result> getVpcepServiceV1(GetVpcepServiceV1Args args, InvokeOptions options)
    public static Output<GetVpcepServiceV1Result> getVpcepServiceV1(GetVpcepServiceV1Args args, InvokeOptions options)
    
    fn::invoke:
      function: opentelekomcloud:index/getVpcepServiceV1:getVpcepServiceV1
      arguments:
        # arguments dictionary

    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 double
    (Required) Specifies the port for accessing the VPC endpoint.
    Protocol string
    ServerPort double
    (Required) Specifies the port for accessing the VPC endpoint service.
    ClientPort float64
    (Required) Specifies the port for accessing the VPC endpoint.
    Protocol string
    ServerPort float64
    (Required) Specifies the port for accessing the VPC endpoint service.
    clientPort Double
    (Required) Specifies the port for accessing the VPC endpoint.
    protocol String
    serverPort Double
    (Required) Specifies the port for accessing the VPC endpoint service.
    clientPort number
    (Required) Specifies the port for accessing the VPC endpoint.
    protocol string
    serverPort number
    (Required) Specifies the port for accessing the VPC endpoint service.
    client_port float
    (Required) Specifies the port for accessing the VPC endpoint.
    protocol str
    server_port float
    (Required) Specifies the port for accessing the VPC endpoint service.
    clientPort Number
    (Required) Specifies the port for accessing the VPC endpoint.
    protocol String
    serverPort 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.
    opentelekomcloud logo
    opentelekomcloud 1.36.37 published on Thursday, Apr 24, 2025 by opentelekomcloud