ibm 1.77.1 published on Monday, Apr 14, 2025 by ibm-cloud
ibm.getIsVpnServerClient
Explore with Pulumi AI
Provides a read-only data source for VPNServerClient. For more information, about VPN Server Client, see Setting up a client VPN environment and connecting to a VPN server.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as ibm from "@pulumi/ibm";
const example = ibm.getIsVpnServerClient({
identifier: "id",
vpnServer: ibm_is_vpn_server.example.id,
});
import pulumi
import pulumi_ibm as ibm
example = ibm.get_is_vpn_server_client(identifier="id",
vpn_server=ibm_is_vpn_server["example"]["id"])
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/ibm/ibm"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := ibm.LookupIsVpnServerClient(ctx, &ibm.LookupIsVpnServerClientArgs{
Identifier: "id",
VpnServer: ibm_is_vpn_server.Example.Id,
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Ibm = Pulumi.Ibm;
return await Deployment.RunAsync(() =>
{
var example = Ibm.GetIsVpnServerClient.Invoke(new()
{
Identifier = "id",
VpnServer = ibm_is_vpn_server.Example.Id,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.ibm.IbmFunctions;
import com.pulumi.ibm.inputs.GetIsVpnServerClientArgs;
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 example = IbmFunctions.getIsVpnServerClient(GetIsVpnServerClientArgs.builder()
.identifier("id")
.vpnServer(ibm_is_vpn_server.example().id())
.build());
}
}
variables:
example:
fn::invoke:
function: ibm:getIsVpnServerClient
arguments:
identifier: id
vpnServer: ${ibm_is_vpn_server.example.id}
Using getIsVpnServerClient
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 getIsVpnServerClient(args: GetIsVpnServerClientArgs, opts?: InvokeOptions): Promise<GetIsVpnServerClientResult>
function getIsVpnServerClientOutput(args: GetIsVpnServerClientOutputArgs, opts?: InvokeOptions): Output<GetIsVpnServerClientResult>
def get_is_vpn_server_client(id: Optional[str] = None,
identifier: Optional[str] = None,
vpn_server: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetIsVpnServerClientResult
def get_is_vpn_server_client_output(id: Optional[pulumi.Input[str]] = None,
identifier: Optional[pulumi.Input[str]] = None,
vpn_server: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetIsVpnServerClientResult]
func LookupIsVpnServerClient(ctx *Context, args *LookupIsVpnServerClientArgs, opts ...InvokeOption) (*LookupIsVpnServerClientResult, error)
func LookupIsVpnServerClientOutput(ctx *Context, args *LookupIsVpnServerClientOutputArgs, opts ...InvokeOption) LookupIsVpnServerClientResultOutput
> Note: This function is named LookupIsVpnServerClient
in the Go SDK.
public static class GetIsVpnServerClient
{
public static Task<GetIsVpnServerClientResult> InvokeAsync(GetIsVpnServerClientArgs args, InvokeOptions? opts = null)
public static Output<GetIsVpnServerClientResult> Invoke(GetIsVpnServerClientInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetIsVpnServerClientResult> getIsVpnServerClient(GetIsVpnServerClientArgs args, InvokeOptions options)
public static Output<GetIsVpnServerClientResult> getIsVpnServerClient(GetIsVpnServerClientArgs args, InvokeOptions options)
fn::invoke:
function: ibm:index/getIsVpnServerClient:getIsVpnServerClient
arguments:
# arguments dictionary
The following arguments are supported:
- Identifier string
- The VPN client identifier.
- Vpn
Server string - The VPN server identifier.
- Id string
- The unique identifier of the VPNServerClient.
- Identifier string
- The VPN client identifier.
- Vpn
Server string - The VPN server identifier.
- Id string
- The unique identifier of the VPNServerClient.
- identifier String
- The VPN client identifier.
- vpn
Server String - The VPN server identifier.
- id String
- The unique identifier of the VPNServerClient.
- identifier string
- The VPN client identifier.
- vpn
Server string - The VPN server identifier.
- id string
- The unique identifier of the VPNServerClient.
- identifier str
- The VPN client identifier.
- vpn_
server str - The VPN server identifier.
- id str
- The unique identifier of the VPNServerClient.
- identifier String
- The VPN client identifier.
- vpn
Server String - The VPN server identifier.
- id String
- The unique identifier of the VPNServerClient.
getIsVpnServerClient Result
The following output properties are available:
- Client
Ips List<GetIs Vpn Server Client Client Ip> - (List) The IP address assigned to this VPN client from
client_ip_pool
. - Common
Name string - (String) The common name of client certificate that the VPN client provided when connecting to the server.
- Created
At string - (String) The date and time that the VPN client was created.
- Disconnected
At string - (String) The date and time that the VPN client was disconnected.
- Href string
- (String) The URL for this VPN client.
- Id string
- The unique identifier of the VPNServerClient.
- Identifier string
- Remote
Ips List<GetIs Vpn Server Client Remote Ip> - (List) The remote IP address of this VPN client.
- Remote
Port double - (Integer) The remote port of this VPN client.
- Resource
Type string - (String) The resource type.
- Status string
- (String) The status of the VPN client.
- Username string
- (String) The username that this VPN client provided when connecting to the VPN server.
- Vpn
Server string
- Client
Ips []GetIs Vpn Server Client Client Ip - (List) The IP address assigned to this VPN client from
client_ip_pool
. - Common
Name string - (String) The common name of client certificate that the VPN client provided when connecting to the server.
- Created
At string - (String) The date and time that the VPN client was created.
- Disconnected
At string - (String) The date and time that the VPN client was disconnected.
- Href string
- (String) The URL for this VPN client.
- Id string
- The unique identifier of the VPNServerClient.
- Identifier string
- Remote
Ips []GetIs Vpn Server Client Remote Ip - (List) The remote IP address of this VPN client.
- Remote
Port float64 - (Integer) The remote port of this VPN client.
- Resource
Type string - (String) The resource type.
- Status string
- (String) The status of the VPN client.
- Username string
- (String) The username that this VPN client provided when connecting to the VPN server.
- Vpn
Server string
- client
Ips List<GetIs Vpn Server Client Client Ip> - (List) The IP address assigned to this VPN client from
client_ip_pool
. - common
Name String - (String) The common name of client certificate that the VPN client provided when connecting to the server.
- created
At String - (String) The date and time that the VPN client was created.
- disconnected
At String - (String) The date and time that the VPN client was disconnected.
- href String
- (String) The URL for this VPN client.
- id String
- The unique identifier of the VPNServerClient.
- identifier String
- remote
Ips List<GetIs Vpn Server Client Remote Ip> - (List) The remote IP address of this VPN client.
- remote
Port Double - (Integer) The remote port of this VPN client.
- resource
Type String - (String) The resource type.
- status String
- (String) The status of the VPN client.
- username String
- (String) The username that this VPN client provided when connecting to the VPN server.
- vpn
Server String
- client
Ips GetIs Vpn Server Client Client Ip[] - (List) The IP address assigned to this VPN client from
client_ip_pool
. - common
Name string - (String) The common name of client certificate that the VPN client provided when connecting to the server.
- created
At string - (String) The date and time that the VPN client was created.
- disconnected
At string - (String) The date and time that the VPN client was disconnected.
- href string
- (String) The URL for this VPN client.
- id string
- The unique identifier of the VPNServerClient.
- identifier string
- remote
Ips GetIs Vpn Server Client Remote Ip[] - (List) The remote IP address of this VPN client.
- remote
Port number - (Integer) The remote port of this VPN client.
- resource
Type string - (String) The resource type.
- status string
- (String) The status of the VPN client.
- username string
- (String) The username that this VPN client provided when connecting to the VPN server.
- vpn
Server string
- client_
ips Sequence[GetIs Vpn Server Client Client Ip] - (List) The IP address assigned to this VPN client from
client_ip_pool
. - common_
name str - (String) The common name of client certificate that the VPN client provided when connecting to the server.
- created_
at str - (String) The date and time that the VPN client was created.
- disconnected_
at str - (String) The date and time that the VPN client was disconnected.
- href str
- (String) The URL for this VPN client.
- id str
- The unique identifier of the VPNServerClient.
- identifier str
- remote_
ips Sequence[GetIs Vpn Server Client Remote Ip] - (List) The remote IP address of this VPN client.
- remote_
port float - (Integer) The remote port of this VPN client.
- resource_
type str - (String) The resource type.
- status str
- (String) The status of the VPN client.
- username str
- (String) The username that this VPN client provided when connecting to the VPN server.
- vpn_
server str
- client
Ips List<Property Map> - (List) The IP address assigned to this VPN client from
client_ip_pool
. - common
Name String - (String) The common name of client certificate that the VPN client provided when connecting to the server.
- created
At String - (String) The date and time that the VPN client was created.
- disconnected
At String - (String) The date and time that the VPN client was disconnected.
- href String
- (String) The URL for this VPN client.
- id String
- The unique identifier of the VPNServerClient.
- identifier String
- remote
Ips List<Property Map> - (List) The remote IP address of this VPN client.
- remote
Port Number - (Integer) The remote port of this VPN client.
- resource
Type String - (String) The resource type.
- status String
- (String) The status of the VPN client.
- username String
- (String) The username that this VPN client provided when connecting to the VPN server.
- vpn
Server String
Supporting Types
GetIsVpnServerClientClientIp
- Address string
- (String) The IP address. This property may add support for IPv6 addresses in the future. When processing a value in this property, verify that the address is in an expected format. If it is not, log an error. Optionally halt processing and surface the error, or bypass the resource on which the unexpected IP address format was encountered.
- Address string
- (String) The IP address. This property may add support for IPv6 addresses in the future. When processing a value in this property, verify that the address is in an expected format. If it is not, log an error. Optionally halt processing and surface the error, or bypass the resource on which the unexpected IP address format was encountered.
- address String
- (String) The IP address. This property may add support for IPv6 addresses in the future. When processing a value in this property, verify that the address is in an expected format. If it is not, log an error. Optionally halt processing and surface the error, or bypass the resource on which the unexpected IP address format was encountered.
- address string
- (String) The IP address. This property may add support for IPv6 addresses in the future. When processing a value in this property, verify that the address is in an expected format. If it is not, log an error. Optionally halt processing and surface the error, or bypass the resource on which the unexpected IP address format was encountered.
- address str
- (String) The IP address. This property may add support for IPv6 addresses in the future. When processing a value in this property, verify that the address is in an expected format. If it is not, log an error. Optionally halt processing and surface the error, or bypass the resource on which the unexpected IP address format was encountered.
- address String
- (String) The IP address. This property may add support for IPv6 addresses in the future. When processing a value in this property, verify that the address is in an expected format. If it is not, log an error. Optionally halt processing and surface the error, or bypass the resource on which the unexpected IP address format was encountered.
GetIsVpnServerClientRemoteIp
- Address string
- (String) The IP address. This property may add support for IPv6 addresses in the future. When processing a value in this property, verify that the address is in an expected format. If it is not, log an error. Optionally halt processing and surface the error, or bypass the resource on which the unexpected IP address format was encountered.
- Address string
- (String) The IP address. This property may add support for IPv6 addresses in the future. When processing a value in this property, verify that the address is in an expected format. If it is not, log an error. Optionally halt processing and surface the error, or bypass the resource on which the unexpected IP address format was encountered.
- address String
- (String) The IP address. This property may add support for IPv6 addresses in the future. When processing a value in this property, verify that the address is in an expected format. If it is not, log an error. Optionally halt processing and surface the error, or bypass the resource on which the unexpected IP address format was encountered.
- address string
- (String) The IP address. This property may add support for IPv6 addresses in the future. When processing a value in this property, verify that the address is in an expected format. If it is not, log an error. Optionally halt processing and surface the error, or bypass the resource on which the unexpected IP address format was encountered.
- address str
- (String) The IP address. This property may add support for IPv6 addresses in the future. When processing a value in this property, verify that the address is in an expected format. If it is not, log an error. Optionally halt processing and surface the error, or bypass the resource on which the unexpected IP address format was encountered.
- address String
- (String) The IP address. This property may add support for IPv6 addresses in the future. When processing a value in this property, verify that the address is in an expected format. If it is not, log an error. Optionally halt processing and surface the error, or bypass the resource on which the unexpected IP address format was encountered.
Package Details
- Repository
- ibm ibm-cloud/terraform-provider-ibm
- License
- Notes
- This Pulumi package is based on the
ibm
Terraform Provider.