opentelekomcloud 1.36.37 published on Thursday, Apr 24, 2025 by opentelekomcloud
opentelekomcloud.getVpcepServiceV1
Explore with Pulumi AI
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:
getVpcepServiceV1 Result
The following output properties are available:
- Approval
Enabled bool - Specifies whether connection approval is required.
- Connection
Count double - Specifies the number of Creating or Accepted VPC endpoints under the VPC endpoint service.
- Created
At string - Specifies the creation time of the VPC endpoint service.
- Id string
- Name string
- Port
Id 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<Get
Vpcep Service V1Port> - Project
Id string - Specifies the project ID.
- Server
Type string - Specifies the resource type.
- Service
Type string - Specifies the type of the VPC endpoint service.
- Status string
- Tcp
Proxy string - Specifies whether the client IP address and port number or marker_id information is transmitted to the server.
- Updated
At string - Specifies the update time of the VPC endpoint service.
- Vip
Port stringId - 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 string - Specifies the ID of the VPC to which the backend resource of the VPC endpoint service belongs.
- Dictionary<string, string>
- Map of the resource tags.
- Approval
Enabled bool - Specifies whether connection approval is required.
- Connection
Count float64 - Specifies the number of Creating or Accepted VPC endpoints under the VPC endpoint service.
- Created
At string - Specifies the creation time of the VPC endpoint service.
- Id string
- Name string
- Port
Id string - Specifies the ID for identifying the backend resource of the VPC endpoint service. The ID is in the form of the UUID.
- Ports
[]Get
Vpcep Service V1Port - Project
Id string - Specifies the project ID.
- Server
Type string - Specifies the resource type.
- Service
Type string - Specifies the type of the VPC endpoint service.
- Status string
- Tcp
Proxy string - Specifies whether the client IP address and port number or marker_id information is transmitted to the server.
- Updated
At string - Specifies the update time of the VPC endpoint service.
- Vip
Port stringId - 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 string - Specifies the ID of the VPC to which the backend resource of the VPC endpoint service belongs.
- map[string]string
- Map of the resource tags.
- approval
Enabled Boolean - Specifies whether connection approval is required.
- connection
Count Double - Specifies the number of Creating or Accepted VPC endpoints under the VPC endpoint service.
- created
At String - Specifies the creation time of the VPC endpoint service.
- id String
- name String
- port
Id 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<Get
Vpcep Service V1Port> - project
Id String - Specifies the project ID.
- server
Type String - Specifies the resource type.
- service
Type String - Specifies the type of the VPC endpoint service.
- status String
- tcp
Proxy String - Specifies whether the client IP address and port number or marker_id information is transmitted to the server.
- updated
At String - Specifies the update time of the VPC endpoint service.
- vip
Port StringId - 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 String - Specifies the ID of the VPC to which the backend resource of the VPC endpoint service belongs.
- Map<String,String>
- Map of the resource tags.
- approval
Enabled boolean - Specifies whether connection approval is required.
- connection
Count number - Specifies the number of Creating or Accepted VPC endpoints under the VPC endpoint service.
- created
At string - Specifies the creation time of the VPC endpoint service.
- id string
- name string
- port
Id string - Specifies the ID for identifying the backend resource of the VPC endpoint service. The ID is in the form of the UUID.
- ports
Get
Vpcep Service V1Port[] - project
Id string - Specifies the project ID.
- server
Type string - Specifies the resource type.
- service
Type string - Specifies the type of the VPC endpoint service.
- status string
- tcp
Proxy string - Specifies whether the client IP address and port number or marker_id information is transmitted to the server.
- updated
At string - Specifies the update time of the VPC endpoint service.
- vip
Port stringId - 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 string - Specifies the ID of the VPC to which the backend resource of the VPC endpoint service belongs.
- {[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[Get
Vpcep Service V1Port] - 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_ strid - 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.
- Mapping[str, str]
- Map of the resource tags.
- approval
Enabled Boolean - Specifies whether connection approval is required.
- connection
Count Number - Specifies the number of Creating or Accepted VPC endpoints under the VPC endpoint service.
- created
At String - Specifies the creation time of the VPC endpoint service.
- id String
- name String
- port
Id 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>
- project
Id String - Specifies the project ID.
- server
Type String - Specifies the resource type.
- service
Type String - Specifies the type of the VPC endpoint service.
- status String
- tcp
Proxy String - Specifies whether the client IP address and port number or marker_id information is transmitted to the server.
- updated
At String - Specifies the update time of the VPC endpoint service.
- vip
Port StringId - 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 String - Specifies the ID of the VPC to which the backend resource of the VPC endpoint service belongs.
- Map<String>
- Map of the resource tags.
Supporting Types
GetVpcepServiceV1Port
- Client
Port double - (Required) Specifies the port for accessing the VPC endpoint.
- Protocol string
- Server
Port double - (Required) Specifies the port for accessing the VPC endpoint service.
- Client
Port float64 - (Required) Specifies the port for accessing the VPC endpoint.
- Protocol string
- Server
Port float64 - (Required) Specifies the port for accessing the VPC endpoint service.
- client
Port Double - (Required) Specifies the port for accessing the VPC endpoint.
- protocol String
- server
Port Double - (Required) Specifies the port for accessing the VPC endpoint service.
- client
Port number - (Required) Specifies the port for accessing the VPC endpoint.
- protocol string
- server
Port 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.
- client
Port Number - (Required) Specifies the port for accessing the VPC endpoint.
- protocol String
- server
Port 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 1.36.37 published on Thursday, Apr 24, 2025 by opentelekomcloud