Google Cloud Native is in preview. Google Cloud Classic is fully supported.
google-native.vmwareengine/v1.getPrivateConnection
Explore with Pulumi AI
Google Cloud Native is in preview. Google Cloud Classic is fully supported.
Retrieves a PrivateConnection
resource by its resource name. The resource contains details of the private connection, such as connected network, routing mode and state.
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:vmwareengine/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 - Creation time of this resource.
- Description string
- Optional. User-provided description for this private connection.
- Name string
- The resource name of the private connection. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example:
projects/my-project/locations/us-central1/privateConnections/my-connection
- Peering
Id string - VPC network peering id between given network VPC and VMwareEngineNetwork.
- Peering
State string - Peering state between service network and VMware Engine network.
- Routing
Mode string - Optional. Routing Mode. Default value is set to GLOBAL. For type = PRIVATE_SERVICE_ACCESS, this field can be set to GLOBAL or REGIONAL, for other types only GLOBAL is supported.
- Service
Network string - Service network to create private connection. Specify the name in the following form:
projects/{project}/global/networks/{network_id}
For type = PRIVATE_SERVICE_ACCESS, this field represents servicenetworking VPC, e.g. projects/project-tp/global/networks/servicenetworking. For type = NETAPP_CLOUD_VOLUME, this field represents NetApp service VPC, e.g. projects/project-tp/global/networks/netapp-tenant-vpc. For type = DELL_POWERSCALE, this field represent Dell service VPC, e.g. projects/project-tp/global/networks/dell-tenant-vpc. For type= THIRD_PARTY_SERVICE, this field could represent a consumer VPC or any other producer VPC to which the VMware Engine Network needs to be connected, e.g. projects/project/global/networks/vpc. - State string
- State of the private connection.
- Type string
- Private connection type.
- Uid string
- System-generated unique identifier for the resource.
- Update
Time string - Last update time of this resource.
- Vmware
Engine stringNetwork - The relative resource name of Legacy VMware Engine network. Specify the name in the following form:
projects/{project}/locations/{location}/vmwareEngineNetworks/{vmware_engine_network_id}
where{project}
,{location}
will be same as specified in private connection resource name and{vmware_engine_network_id}
will be in the form of{location}
-default e.g. projects/project/locations/us-central1/vmwareEngineNetworks/us-central1-default. - Vmware
Engine stringNetwork Canonical - The canonical name of the VMware Engine network in the form:
projects/{project_number}/locations/{location}/vmwareEngineNetworks/{vmware_engine_network_id}
- Create
Time string - Creation time of this resource.
- Description string
- Optional. User-provided description for this private connection.
- Name string
- The resource name of the private connection. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example:
projects/my-project/locations/us-central1/privateConnections/my-connection
- Peering
Id string - VPC network peering id between given network VPC and VMwareEngineNetwork.
- Peering
State string - Peering state between service network and VMware Engine network.
- Routing
Mode string - Optional. Routing Mode. Default value is set to GLOBAL. For type = PRIVATE_SERVICE_ACCESS, this field can be set to GLOBAL or REGIONAL, for other types only GLOBAL is supported.
- Service
Network string - Service network to create private connection. Specify the name in the following form:
projects/{project}/global/networks/{network_id}
For type = PRIVATE_SERVICE_ACCESS, this field represents servicenetworking VPC, e.g. projects/project-tp/global/networks/servicenetworking. For type = NETAPP_CLOUD_VOLUME, this field represents NetApp service VPC, e.g. projects/project-tp/global/networks/netapp-tenant-vpc. For type = DELL_POWERSCALE, this field represent Dell service VPC, e.g. projects/project-tp/global/networks/dell-tenant-vpc. For type= THIRD_PARTY_SERVICE, this field could represent a consumer VPC or any other producer VPC to which the VMware Engine Network needs to be connected, e.g. projects/project/global/networks/vpc. - State string
- State of the private connection.
- Type string
- Private connection type.
- Uid string
- System-generated unique identifier for the resource.
- Update
Time string - Last update time of this resource.
- Vmware
Engine stringNetwork - The relative resource name of Legacy VMware Engine network. Specify the name in the following form:
projects/{project}/locations/{location}/vmwareEngineNetworks/{vmware_engine_network_id}
where{project}
,{location}
will be same as specified in private connection resource name and{vmware_engine_network_id}
will be in the form of{location}
-default e.g. projects/project/locations/us-central1/vmwareEngineNetworks/us-central1-default. - Vmware
Engine stringNetwork Canonical - The canonical name of the VMware Engine network in the form:
projects/{project_number}/locations/{location}/vmwareEngineNetworks/{vmware_engine_network_id}
- create
Time String - Creation time of this resource.
- description String
- Optional. User-provided description for this private connection.
- name String
- The resource name of the private connection. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example:
projects/my-project/locations/us-central1/privateConnections/my-connection
- peering
Id String - VPC network peering id between given network VPC and VMwareEngineNetwork.
- peering
State String - Peering state between service network and VMware Engine network.
- routing
Mode String - Optional. Routing Mode. Default value is set to GLOBAL. For type = PRIVATE_SERVICE_ACCESS, this field can be set to GLOBAL or REGIONAL, for other types only GLOBAL is supported.
- service
Network String - Service network to create private connection. Specify the name in the following form:
projects/{project}/global/networks/{network_id}
For type = PRIVATE_SERVICE_ACCESS, this field represents servicenetworking VPC, e.g. projects/project-tp/global/networks/servicenetworking. For type = NETAPP_CLOUD_VOLUME, this field represents NetApp service VPC, e.g. projects/project-tp/global/networks/netapp-tenant-vpc. For type = DELL_POWERSCALE, this field represent Dell service VPC, e.g. projects/project-tp/global/networks/dell-tenant-vpc. For type= THIRD_PARTY_SERVICE, this field could represent a consumer VPC or any other producer VPC to which the VMware Engine Network needs to be connected, e.g. projects/project/global/networks/vpc. - state String
- State of the private connection.
- type String
- Private connection type.
- uid String
- System-generated unique identifier for the resource.
- update
Time String - Last update time of this resource.
- vmware
Engine StringNetwork - The relative resource name of Legacy VMware Engine network. Specify the name in the following form:
projects/{project}/locations/{location}/vmwareEngineNetworks/{vmware_engine_network_id}
where{project}
,{location}
will be same as specified in private connection resource name and{vmware_engine_network_id}
will be in the form of{location}
-default e.g. projects/project/locations/us-central1/vmwareEngineNetworks/us-central1-default. - vmware
Engine StringNetwork Canonical - The canonical name of the VMware Engine network in the form:
projects/{project_number}/locations/{location}/vmwareEngineNetworks/{vmware_engine_network_id}
- create
Time string - Creation time of this resource.
- description string
- Optional. User-provided description for this private connection.
- name string
- The resource name of the private connection. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example:
projects/my-project/locations/us-central1/privateConnections/my-connection
- peering
Id string - VPC network peering id between given network VPC and VMwareEngineNetwork.
- peering
State string - Peering state between service network and VMware Engine network.
- routing
Mode string - Optional. Routing Mode. Default value is set to GLOBAL. For type = PRIVATE_SERVICE_ACCESS, this field can be set to GLOBAL or REGIONAL, for other types only GLOBAL is supported.
- service
Network string - Service network to create private connection. Specify the name in the following form:
projects/{project}/global/networks/{network_id}
For type = PRIVATE_SERVICE_ACCESS, this field represents servicenetworking VPC, e.g. projects/project-tp/global/networks/servicenetworking. For type = NETAPP_CLOUD_VOLUME, this field represents NetApp service VPC, e.g. projects/project-tp/global/networks/netapp-tenant-vpc. For type = DELL_POWERSCALE, this field represent Dell service VPC, e.g. projects/project-tp/global/networks/dell-tenant-vpc. For type= THIRD_PARTY_SERVICE, this field could represent a consumer VPC or any other producer VPC to which the VMware Engine Network needs to be connected, e.g. projects/project/global/networks/vpc. - state string
- State of the private connection.
- type string
- Private connection type.
- uid string
- System-generated unique identifier for the resource.
- update
Time string - Last update time of this resource.
- vmware
Engine stringNetwork - The relative resource name of Legacy VMware Engine network. Specify the name in the following form:
projects/{project}/locations/{location}/vmwareEngineNetworks/{vmware_engine_network_id}
where{project}
,{location}
will be same as specified in private connection resource name and{vmware_engine_network_id}
will be in the form of{location}
-default e.g. projects/project/locations/us-central1/vmwareEngineNetworks/us-central1-default. - vmware
Engine stringNetwork Canonical - The canonical name of the VMware Engine network in the form:
projects/{project_number}/locations/{location}/vmwareEngineNetworks/{vmware_engine_network_id}
- create_
time str - Creation time of this resource.
- description str
- Optional. User-provided description for this private connection.
- name str
- The resource name of the private connection. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example:
projects/my-project/locations/us-central1/privateConnections/my-connection
- peering_
id str - VPC network peering id between given network VPC and VMwareEngineNetwork.
- peering_
state str - Peering state between service network and VMware Engine network.
- routing_
mode str - Optional. Routing Mode. Default value is set to GLOBAL. For type = PRIVATE_SERVICE_ACCESS, this field can be set to GLOBAL or REGIONAL, for other types only GLOBAL is supported.
- service_
network str - Service network to create private connection. Specify the name in the following form:
projects/{project}/global/networks/{network_id}
For type = PRIVATE_SERVICE_ACCESS, this field represents servicenetworking VPC, e.g. projects/project-tp/global/networks/servicenetworking. For type = NETAPP_CLOUD_VOLUME, this field represents NetApp service VPC, e.g. projects/project-tp/global/networks/netapp-tenant-vpc. For type = DELL_POWERSCALE, this field represent Dell service VPC, e.g. projects/project-tp/global/networks/dell-tenant-vpc. For type= THIRD_PARTY_SERVICE, this field could represent a consumer VPC or any other producer VPC to which the VMware Engine Network needs to be connected, e.g. projects/project/global/networks/vpc. - state str
- State of the private connection.
- type str
- Private connection type.
- uid str
- System-generated unique identifier for the resource.
- update_
time str - Last update time of this resource.
- vmware_
engine_ strnetwork - The relative resource name of Legacy VMware Engine network. Specify the name in the following form:
projects/{project}/locations/{location}/vmwareEngineNetworks/{vmware_engine_network_id}
where{project}
,{location}
will be same as specified in private connection resource name and{vmware_engine_network_id}
will be in the form of{location}
-default e.g. projects/project/locations/us-central1/vmwareEngineNetworks/us-central1-default. - vmware_
engine_ strnetwork_ canonical - The canonical name of the VMware Engine network in the form:
projects/{project_number}/locations/{location}/vmwareEngineNetworks/{vmware_engine_network_id}
- create
Time String - Creation time of this resource.
- description String
- Optional. User-provided description for this private connection.
- name String
- The resource name of the private connection. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example:
projects/my-project/locations/us-central1/privateConnections/my-connection
- peering
Id String - VPC network peering id between given network VPC and VMwareEngineNetwork.
- peering
State String - Peering state between service network and VMware Engine network.
- routing
Mode String - Optional. Routing Mode. Default value is set to GLOBAL. For type = PRIVATE_SERVICE_ACCESS, this field can be set to GLOBAL or REGIONAL, for other types only GLOBAL is supported.
- service
Network String - Service network to create private connection. Specify the name in the following form:
projects/{project}/global/networks/{network_id}
For type = PRIVATE_SERVICE_ACCESS, this field represents servicenetworking VPC, e.g. projects/project-tp/global/networks/servicenetworking. For type = NETAPP_CLOUD_VOLUME, this field represents NetApp service VPC, e.g. projects/project-tp/global/networks/netapp-tenant-vpc. For type = DELL_POWERSCALE, this field represent Dell service VPC, e.g. projects/project-tp/global/networks/dell-tenant-vpc. For type= THIRD_PARTY_SERVICE, this field could represent a consumer VPC or any other producer VPC to which the VMware Engine Network needs to be connected, e.g. projects/project/global/networks/vpc. - state String
- State of the private connection.
- type String
- Private connection type.
- uid String
- System-generated unique identifier for the resource.
- update
Time String - Last update time of this resource.
- vmware
Engine StringNetwork - The relative resource name of Legacy VMware Engine network. Specify the name in the following form:
projects/{project}/locations/{location}/vmwareEngineNetworks/{vmware_engine_network_id}
where{project}
,{location}
will be same as specified in private connection resource name and{vmware_engine_network_id}
will be in the form of{location}
-default e.g. projects/project/locations/us-central1/vmwareEngineNetworks/us-central1-default. - vmware
Engine StringNetwork Canonical - The canonical name of the VMware Engine network in the form:
projects/{project_number}/locations/{location}/vmwareEngineNetworks/{vmware_engine_network_id}
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.