1. Packages
  2. Google Cloud Native
  3. API Docs
  4. beyondcorp
  5. beyondcorp/v1alpha
  6. getConnection

Google Cloud Native is in preview. Google Cloud Classic is fully supported.

Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi

google-native.beyondcorp/v1alpha.getConnection

Explore with Pulumi AI

Google Cloud Native is in preview. Google Cloud Classic is fully supported.

Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi

Gets details of a single Connection.

Using getConnection

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 getConnection(args: GetConnectionArgs, opts?: InvokeOptions): Promise<GetConnectionResult>
function getConnectionOutput(args: GetConnectionOutputArgs, opts?: InvokeOptions): Output<GetConnectionResult>
Copy
def get_connection(connection_id: Optional[str] = None,
                   location: Optional[str] = None,
                   project: Optional[str] = None,
                   opts: Optional[InvokeOptions] = None) -> GetConnectionResult
def get_connection_output(connection_id: Optional[pulumi.Input[str]] = None,
                   location: Optional[pulumi.Input[str]] = None,
                   project: Optional[pulumi.Input[str]] = None,
                   opts: Optional[InvokeOptions] = None) -> Output[GetConnectionResult]
Copy
func LookupConnection(ctx *Context, args *LookupConnectionArgs, opts ...InvokeOption) (*LookupConnectionResult, error)
func LookupConnectionOutput(ctx *Context, args *LookupConnectionOutputArgs, opts ...InvokeOption) LookupConnectionResultOutput
Copy

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

public static class GetConnection 
{
    public static Task<GetConnectionResult> InvokeAsync(GetConnectionArgs args, InvokeOptions? opts = null)
    public static Output<GetConnectionResult> Invoke(GetConnectionInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetConnectionResult> getConnection(GetConnectionArgs args, InvokeOptions options)
public static Output<GetConnectionResult> getConnection(GetConnectionArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: google-native:beyondcorp/v1alpha:getConnection
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

ConnectionId This property is required. string
Location This property is required. string
Project string
ConnectionId This property is required. string
Location This property is required. string
Project string
connectionId This property is required. String
location This property is required. String
project String
connectionId This property is required. string
location This property is required. string
project string
connection_id This property is required. str
location This property is required. str
project str
connectionId This property is required. String
location This property is required. String
project String

getConnection Result

The following output properties are available:

ApplicationEndpoint Pulumi.GoogleNative.BeyondCorp.V1Alpha.Outputs.ApplicationEndpointResponse
Address of the remote application endpoint for the BeyondCorp Connection.
Connectors List<string>
Optional. List of [google.cloud.beyondcorp.v1main.Connector.name] that are authorised to be associated with this Connection.
CreateTime string
Timestamp when the resource was created.
DisplayName string
Optional. An arbitrary user-provided name for the connection. Cannot exceed 64 characters.
Gateway Pulumi.GoogleNative.BeyondCorp.V1Alpha.Outputs.GatewayResponse
Optional. Gateway used by the connection.
Labels Dictionary<string, string>
Optional. Resource labels to represent user provided metadata.
Name string
Unique resource name of the connection. The name is ignored when creating a connection.
State string
The current state of the connection.
Type string
The type of network connectivity used by the connection.
Uid string
A unique identifier for the instance generated by the system.
UpdateTime string
Timestamp when the resource was last modified.
ApplicationEndpoint ApplicationEndpointResponse
Address of the remote application endpoint for the BeyondCorp Connection.
Connectors []string
Optional. List of [google.cloud.beyondcorp.v1main.Connector.name] that are authorised to be associated with this Connection.
CreateTime string
Timestamp when the resource was created.
DisplayName string
Optional. An arbitrary user-provided name for the connection. Cannot exceed 64 characters.
Gateway GatewayResponse
Optional. Gateway used by the connection.
Labels map[string]string
Optional. Resource labels to represent user provided metadata.
Name string
Unique resource name of the connection. The name is ignored when creating a connection.
State string
The current state of the connection.
Type string
The type of network connectivity used by the connection.
Uid string
A unique identifier for the instance generated by the system.
UpdateTime string
Timestamp when the resource was last modified.
applicationEndpoint ApplicationEndpointResponse
Address of the remote application endpoint for the BeyondCorp Connection.
connectors List<String>
Optional. List of [google.cloud.beyondcorp.v1main.Connector.name] that are authorised to be associated with this Connection.
createTime String
Timestamp when the resource was created.
displayName String
Optional. An arbitrary user-provided name for the connection. Cannot exceed 64 characters.
gateway GatewayResponse
Optional. Gateway used by the connection.
labels Map<String,String>
Optional. Resource labels to represent user provided metadata.
name String
Unique resource name of the connection. The name is ignored when creating a connection.
state String
The current state of the connection.
type String
The type of network connectivity used by the connection.
uid String
A unique identifier for the instance generated by the system.
updateTime String
Timestamp when the resource was last modified.
applicationEndpoint ApplicationEndpointResponse
Address of the remote application endpoint for the BeyondCorp Connection.
connectors string[]
Optional. List of [google.cloud.beyondcorp.v1main.Connector.name] that are authorised to be associated with this Connection.
createTime string
Timestamp when the resource was created.
displayName string
Optional. An arbitrary user-provided name for the connection. Cannot exceed 64 characters.
gateway GatewayResponse
Optional. Gateway used by the connection.
labels {[key: string]: string}
Optional. Resource labels to represent user provided metadata.
name string
Unique resource name of the connection. The name is ignored when creating a connection.
state string
The current state of the connection.
type string
The type of network connectivity used by the connection.
uid string
A unique identifier for the instance generated by the system.
updateTime string
Timestamp when the resource was last modified.
application_endpoint ApplicationEndpointResponse
Address of the remote application endpoint for the BeyondCorp Connection.
connectors Sequence[str]
Optional. List of [google.cloud.beyondcorp.v1main.Connector.name] that are authorised to be associated with this Connection.
create_time str
Timestamp when the resource was created.
display_name str
Optional. An arbitrary user-provided name for the connection. Cannot exceed 64 characters.
gateway GatewayResponse
Optional. Gateway used by the connection.
labels Mapping[str, str]
Optional. Resource labels to represent user provided metadata.
name str
Unique resource name of the connection. The name is ignored when creating a connection.
state str
The current state of the connection.
type str
The type of network connectivity used by the connection.
uid str
A unique identifier for the instance generated by the system.
update_time str
Timestamp when the resource was last modified.
applicationEndpoint Property Map
Address of the remote application endpoint for the BeyondCorp Connection.
connectors List<String>
Optional. List of [google.cloud.beyondcorp.v1main.Connector.name] that are authorised to be associated with this Connection.
createTime String
Timestamp when the resource was created.
displayName String
Optional. An arbitrary user-provided name for the connection. Cannot exceed 64 characters.
gateway Property Map
Optional. Gateway used by the connection.
labels Map<String>
Optional. Resource labels to represent user provided metadata.
name String
Unique resource name of the connection. The name is ignored when creating a connection.
state String
The current state of the connection.
type String
The type of network connectivity used by the connection.
uid String
A unique identifier for the instance generated by the system.
updateTime String
Timestamp when the resource was last modified.

Supporting Types

ApplicationEndpointResponse

Host This property is required. string
Hostname or IP address of the remote application endpoint.
Port This property is required. int
Port of the remote application endpoint.
Host This property is required. string
Hostname or IP address of the remote application endpoint.
Port This property is required. int
Port of the remote application endpoint.
host This property is required. String
Hostname or IP address of the remote application endpoint.
port This property is required. Integer
Port of the remote application endpoint.
host This property is required. string
Hostname or IP address of the remote application endpoint.
port This property is required. number
Port of the remote application endpoint.
host This property is required. str
Hostname or IP address of the remote application endpoint.
port This property is required. int
Port of the remote application endpoint.
host This property is required. String
Hostname or IP address of the remote application endpoint.
port This property is required. Number
Port of the remote application endpoint.

GatewayResponse

Type This property is required. string
The type of hosting used by the gateway.
Uri This property is required. string
Server-defined URI for this resource.
UserPort This property is required. int
User port reserved on the gateways for this connection, if not specified or zero, the default port is 19443.
Type This property is required. string
The type of hosting used by the gateway.
Uri This property is required. string
Server-defined URI for this resource.
UserPort This property is required. int
User port reserved on the gateways for this connection, if not specified or zero, the default port is 19443.
type This property is required. String
The type of hosting used by the gateway.
uri This property is required. String
Server-defined URI for this resource.
userPort This property is required. Integer
User port reserved on the gateways for this connection, if not specified or zero, the default port is 19443.
type This property is required. string
The type of hosting used by the gateway.
uri This property is required. string
Server-defined URI for this resource.
userPort This property is required. number
User port reserved on the gateways for this connection, if not specified or zero, the default port is 19443.
type This property is required. str
The type of hosting used by the gateway.
uri This property is required. str
Server-defined URI for this resource.
user_port This property is required. int
User port reserved on the gateways for this connection, if not specified or zero, the default port is 19443.
type This property is required. String
The type of hosting used by the gateway.
uri This property is required. String
Server-defined URI for this resource.
userPort This property is required. Number
User port reserved on the gateways for this connection, if not specified or zero, the default port is 19443.

Package Details

Repository
Google Cloud Native pulumi/pulumi-google-native
License
Apache-2.0

Google Cloud Native is in preview. Google Cloud Classic is fully supported.

Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi