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/v1.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>
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]
func LookupPrivateConnection(ctx *Context, args *LookupPrivateConnectionArgs, opts ...InvokeOption) (*LookupPrivateConnectionResult, error)
func LookupPrivateConnectionOutput(ctx *Context, args *LookupPrivateConnectionOutputArgs, opts ...InvokeOption) LookupPrivateConnectionResultOutput
> 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)
}
public static CompletableFuture<GetPrivateConnectionResult> getPrivateConnection(GetPrivateConnectionArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: google-native:datastream/v1:getPrivateConnection
arguments:
# arguments dictionary
The following arguments are supported:
- Location string
- Private
Connection stringId - Project string
- Location string
- Private
Connection stringId - Project string
- location String
- private
Connection StringId - project String
- location string
- private
Connection stringId - project string
- location str
- private_
connection_ strid - project str
- location String
- private
Connection StringId - project String
getPrivateConnection Result
The following output properties are available:
- Create
Time string - The create time of the resource.
- Display
Name string - Display name.
- Error
Pulumi.
Google Native. Datastream. V1. Outputs. Error Response - 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.
- Update
Time string - The update time of the resource.
- Vpc
Peering Pulumi.Config Google Native. Datastream. V1. Outputs. Vpc Peering Config Response - VPC Peering Config.
- Create
Time string - The create time of the resource.
- Display
Name string - Display name.
- Error
Error
Response - 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.
- Update
Time string - The update time of the resource.
- Vpc
Peering VpcConfig Peering Config Response - VPC Peering Config.
- create
Time String - The create time of the resource.
- display
Name String - Display name.
- error
Error
Response - 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.
- update
Time String - The update time of the resource.
- vpc
Peering VpcConfig Peering Config Response - VPC Peering Config.
- create
Time string - The create time of the resource.
- display
Name string - Display name.
- error
Error
Response - 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.
- update
Time string - The update time of the resource.
- vpc
Peering VpcConfig Peering Config Response - VPC Peering Config.
- create_
time str - The create time of the resource.
- display_
name str - Display name.
- error
Error
Response - 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_ Vpcconfig Peering Config Response - VPC Peering Config.
- create
Time String - The create time of the resource.
- display
Name 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.
- update
Time String - The update time of the resource.
- vpc
Peering Property MapConfig - VPC Peering Config.
Supporting Types
ErrorResponse
- Details Dictionary<string, string>
- Additional information about the error.
- Error
Time string - The time when the error occurred.
- Error
Uuid string - A unique identifier for this specific error, allowing it to be traced throughout the system in logs and API responses.
- Message string
- A message containing more information about the error that occurred.
- Reason string
- A title that explains the reason for the error.
- Details map[string]string
- Additional information about the error.
- Error
Time string - The time when the error occurred.
- Error
Uuid string - A unique identifier for this specific error, allowing it to be traced throughout the system in logs and API responses.
- Message string
- A message containing more information about the error that occurred.
- Reason string
- A title that explains the reason for the error.
- details Map<String,String>
- Additional information about the error.
- error
Time String - The time when the error occurred.
- error
Uuid String - A unique identifier for this specific error, allowing it to be traced throughout the system in logs and API responses.
- message String
- A message containing more information about the error that occurred.
- reason String
- A title that explains the reason for the error.
- details {[key: string]: string}
- Additional information about the error.
- error
Time string - The time when the error occurred.
- error
Uuid string - A unique identifier for this specific error, allowing it to be traced throughout the system in logs and API responses.
- message string
- A message containing more information about the error that occurred.
- reason string
- A title that explains the reason for the error.
- details Mapping[str, str]
- Additional information about the error.
- error_
time str - The time when the error occurred.
- error_
uuid str - A unique identifier for this specific error, allowing it to be traced throughout the system in logs and API responses.
- message str
- A message containing more information about the error that occurred.
- reason str
- A title that explains the reason for the error.
- details Map<String>
- Additional information about the error.
- error
Time String - The time when the error occurred.
- error
Uuid String - A unique identifier for this specific error, allowing it to be traced throughout the system in logs and API responses.
- message String
- A message containing more information about the error that occurred.
- reason String
- A title that explains the reason for the error.
VpcPeeringConfigResponse
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