Skip to main content

vmware_engine_networks

Creates, updates, deletes, gets or lists a vmware_engine_networks resource.

Overview

Namevmware_engine_networks
TypeResource
Idgoogle.vmwareengine.vmware_engine_networks

Fields

NameDatatypeDescription
namestringOutput only. The resource name of the VMware Engine network. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/global/vmwareEngineNetworks/my-network
descriptionstringUser-provided description for this VMware Engine network.
createTimestringOutput only. Creation time of this resource.
etagstringChecksum that may be sent on update and delete requests to ensure that the user-provided value is up to date before the server processes a request. The server computes checksums based on the value of other fields in the request.
statestringOutput only. State of the VMware Engine network.
typestringRequired. VMware Engine network type.
uidstringOutput only. System-generated unique identifier for the resource.
updateTimestringOutput only. Last update time of this resource.
vpcNetworksarrayOutput only. VMware Engine service VPC networks that provide connectivity from a private cloud to customer projects, the internet, and other Google Cloud services.

Methods

NameAccessible byRequired ParamsDescription
getSELECTlocationsId, projectsId, vmwareEngineNetworksIdRetrieves a VmwareEngineNetwork resource by its resource name. The resource contains details of the VMware Engine network, such as its VMware Engine network type, peered networks in a service project, and state (for example, CREATING, ACTIVE, DELETING).
listSELECTlocationsId, projectsIdLists VmwareEngineNetwork resources in a given project and location.
createINSERTlocationsId, projectsIdCreates a new VMware Engine network that can be used by a private cloud.
deleteDELETElocationsId, projectsId, vmwareEngineNetworksIdDeletes a VmwareEngineNetwork resource. You can only delete a VMware Engine network after all resources that refer to it are deleted. For example, a private cloud, a network peering, and a network policy can all refer to the same VMware Engine network.
patchUPDATElocationsId, projectsId, vmwareEngineNetworksIdModifies a VMware Engine network resource. Only the following fields can be updated: description. Only fields specified in updateMask are applied.

SELECT examples

Lists VmwareEngineNetwork resources in a given project and location.

SELECT
name,
description,
createTime,
etag,
state,
type,
uid,
updateTime,
vpcNetworks
FROM google.vmwareengine.vmware_engine_networks
WHERE locationsId = '{{ locationsId }}'
AND projectsId = '{{ projectsId }}';

INSERT example

Use the following StackQL query and manifest file to create a new vmware_engine_networks resource.

/*+ create */
INSERT INTO google.vmwareengine.vmware_engine_networks (
locationsId,
projectsId,
description,
type,
etag
)
SELECT
'{{ locationsId }}',
'{{ projectsId }}',
'{{ description }}',
'{{ type }}',
'{{ etag }}'
;

UPDATE example

Updates a vmware_engine_networks resource.

/*+ update */
UPDATE google.vmwareengine.vmware_engine_networks
SET
description = '{{ description }}',
type = '{{ type }}',
etag = '{{ etag }}'
WHERE
locationsId = '{{ locationsId }}'
AND projectsId = '{{ projectsId }}'
AND vmwareEngineNetworksId = '{{ vmwareEngineNetworksId }}';

DELETE example

Deletes the specified vmware_engine_networks resource.

/*+ delete */
DELETE FROM google.vmwareengine.vmware_engine_networks
WHERE locationsId = '{{ locationsId }}'
AND projectsId = '{{ projectsId }}'
AND vmwareEngineNetworksId = '{{ vmwareEngineNetworksId }}';