1. Packages
  2. Google Cloud Native
  3. API Docs
  4. datastream
  5. datastream/v1alpha1
  6. getPrivateConnection

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.datastream/v1alpha1.getPrivateConnection

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

Use this method to get details about a private connectivity configuration.

Using getPrivateConnection

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 getPrivateConnection(args: GetPrivateConnectionArgs, opts?: InvokeOptions): Promise<GetPrivateConnectionResult>
function getPrivateConnectionOutput(args: GetPrivateConnectionOutputArgs, opts?: InvokeOptions): Output<GetPrivateConnectionResult>
Copy
def get_private_connection(location: Optional[str] = None,
                           private_connection_id: Optional[str] = None,
                           project: Optional[str] = None,
                           opts: Optional[InvokeOptions] = None) -> GetPrivateConnectionResult
def get_private_connection_output(location: Optional[pulumi.Input[str]] = None,
                           private_connection_id: Optional[pulumi.Input[str]] = None,
                           project: Optional[pulumi.Input[str]] = None,
                           opts: Optional[InvokeOptions] = None) -> Output[GetPrivateConnectionResult]
Copy
func LookupPrivateConnection(ctx *Context, args *LookupPrivateConnectionArgs, opts ...InvokeOption) (*LookupPrivateConnectionResult, error)
func LookupPrivateConnectionOutput(ctx *Context, args *LookupPrivateConnectionOutputArgs, opts ...InvokeOption) LookupPrivateConnectionResultOutput
Copy

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

public static class GetPrivateConnection 
{
    public static Task<GetPrivateConnectionResult> InvokeAsync(GetPrivateConnectionArgs args, InvokeOptions? opts = null)
    public static Output<GetPrivateConnectionResult> Invoke(GetPrivateConnectionInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetPrivateConnectionResult> getPrivateConnection(GetPrivateConnectionArgs args, InvokeOptions options)
public static Output<GetPrivateConnectionResult> getPrivateConnection(GetPrivateConnectionArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: google-native:datastream/v1alpha1:getPrivateConnection
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

Location This property is required. string
PrivateConnectionId This property is required. string
Project string
Location This property is required. string
PrivateConnectionId This property is required. string
Project string
location This property is required. String
privateConnectionId This property is required. String
project String
location This property is required. string
privateConnectionId This property is required. string
project string
location This property is required. str
private_connection_id This property is required. str
project str
location This property is required. String
privateConnectionId This property is required. String
project String

getPrivateConnection Result

The following output properties are available:

CreateTime string
The create time of the resource.
DisplayName string
Display name.
Error Pulumi.GoogleNative.Datastream.V1Alpha1.Outputs.ErrorResponse
In case of error, the details of the error in a user-friendly format.
Labels Dictionary<string, string>
Labels.
Name string
The resource's name.
State string
The state of the Private Connection.
UpdateTime string
The update time of the resource.
VpcPeeringConfig Pulumi.GoogleNative.Datastream.V1Alpha1.Outputs.VpcPeeringConfigResponse
VPC Peering Config
CreateTime string
The create time of the resource.
DisplayName string
Display name.
Error ErrorResponse
In case of error, the details of the error in a user-friendly format.
Labels map[string]string
Labels.
Name string
The resource's name.
State string
The state of the Private Connection.
UpdateTime string
The update time of the resource.
VpcPeeringConfig VpcPeeringConfigResponse
VPC Peering Config
createTime String
The create time of the resource.
displayName String
Display name.
error ErrorResponse
In case of error, the details of the error in a user-friendly format.
labels Map<String,String>
Labels.
name String
The resource's name.
state String
The state of the Private Connection.
updateTime String
The update time of the resource.
vpcPeeringConfig VpcPeeringConfigResponse
VPC Peering Config
createTime string
The create time of the resource.
displayName string
Display name.
error ErrorResponse
In case of error, the details of the error in a user-friendly format.
labels {[key: string]: string}
Labels.
name string
The resource's name.
state string
The state of the Private Connection.
updateTime string
The update time of the resource.
vpcPeeringConfig VpcPeeringConfigResponse
VPC Peering Config
create_time str
The create time of the resource.
display_name str
Display name.
error ErrorResponse
In case of error, the details of the error in a user-friendly format.
labels Mapping[str, str]
Labels.
name str
The resource's name.
state str
The state of the Private Connection.
update_time str
The update time of the resource.
vpc_peering_config VpcPeeringConfigResponse
VPC Peering Config
createTime String
The create time of the resource.
displayName String
Display name.
error Property Map
In case of error, the details of the error in a user-friendly format.
labels Map<String>
Labels.
name String
The resource's name.
state String
The state of the Private Connection.
updateTime String
The update time of the resource.
vpcPeeringConfig Property Map
VPC Peering Config

Supporting Types

ErrorResponse

Details This property is required. Dictionary<string, string>
Additional information about the error.
ErrorTime This property is required. string
The time when the error occurred.
ErrorUuid This property is required. string
A unique identifier for this specific error, allowing it to be traced throughout the system in logs and API responses.
Message This property is required. string
A message containing more information about the error that occurred.
Reason This property is required. string
A title that explains the reason for the error.
Details This property is required. map[string]string
Additional information about the error.
ErrorTime This property is required. string
The time when the error occurred.
ErrorUuid This property is required. string
A unique identifier for this specific error, allowing it to be traced throughout the system in logs and API responses.
Message This property is required. string
A message containing more information about the error that occurred.
Reason This property is required. string
A title that explains the reason for the error.
details This property is required. Map<String,String>
Additional information about the error.
errorTime This property is required. String
The time when the error occurred.
errorUuid This property is required. String
A unique identifier for this specific error, allowing it to be traced throughout the system in logs and API responses.
message This property is required. String
A message containing more information about the error that occurred.
reason This property is required. String
A title that explains the reason for the error.
details This property is required. {[key: string]: string}
Additional information about the error.
errorTime This property is required. string
The time when the error occurred.
errorUuid This property is required. string
A unique identifier for this specific error, allowing it to be traced throughout the system in logs and API responses.
message This property is required. string
A message containing more information about the error that occurred.
reason This property is required. string
A title that explains the reason for the error.
details This property is required. Mapping[str, str]
Additional information about the error.
error_time This property is required. str
The time when the error occurred.
error_uuid This property is required. str
A unique identifier for this specific error, allowing it to be traced throughout the system in logs and API responses.
message This property is required. str
A message containing more information about the error that occurred.
reason This property is required. str
A title that explains the reason for the error.
details This property is required. Map<String>
Additional information about the error.
errorTime This property is required. String
The time when the error occurred.
errorUuid This property is required. String
A unique identifier for this specific error, allowing it to be traced throughout the system in logs and API responses.
message This property is required. String
A message containing more information about the error that occurred.
reason This property is required. String
A title that explains the reason for the error.

VpcPeeringConfigResponse

Subnet This property is required. string
A free subnet for peering. (CIDR of /29)
VpcName This property is required. string
fully qualified name of the VPC Datastream will peer to.
Subnet This property is required. string
A free subnet for peering. (CIDR of /29)
VpcName This property is required. string
fully qualified name of the VPC Datastream will peer to.
subnet This property is required. String
A free subnet for peering. (CIDR of /29)
vpcName This property is required. String
fully qualified name of the VPC Datastream will peer to.
subnet This property is required. string
A free subnet for peering. (CIDR of /29)
vpcName This property is required. string
fully qualified name of the VPC Datastream will peer to.
subnet This property is required. str
A free subnet for peering. (CIDR of /29)
vpc_name This property is required. str
fully qualified name of the VPC Datastream will peer to.
subnet This property is required. String
A free subnet for peering. (CIDR of /29)
vpcName This property is required. String
fully qualified name of the VPC Datastream will peer to.

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