vmware_engine_networks
Creates, updates, deletes, gets or lists a vmware_engine_networks
resource.
Overview
Name | vmware_engine_networks |
Type | Resource |
Id | google.vmwareengine.vmware_engine_networks |
Fields
Name | Datatype | Description |
---|---|---|
name | string | Output 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 |
description | string | User-provided description for this VMware Engine network. |
createTime | string | Output only. Creation time of this resource. |
etag | string | Checksum 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. |
state | string | Output only. State of the VMware Engine network. |
type | string | Required. VMware Engine network type. |
uid | string | Output only. System-generated unique identifier for the resource. |
updateTime | string | Output only. Last update time of this resource. |
vpcNetworks | array | Output only. VMware Engine service VPC networks that provide connectivity from a private cloud to customer projects, the internet, and other Google Cloud services. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | locationsId, projectsId, vmwareEngineNetworksId | Retrieves 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 ). |
list | SELECT | locationsId, projectsId | Lists VmwareEngineNetwork resources in a given project and location. |
create | INSERT | locationsId, projectsId | Creates a new VMware Engine network that can be used by a private cloud. |
delete | DELETE | locationsId, projectsId, vmwareEngineNetworksId | Deletes 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. |
patch | UPDATE | locationsId, projectsId, vmwareEngineNetworksId | Modifies 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.
- All Properties
- Manifest
/*+ create */
INSERT INTO google.vmwareengine.vmware_engine_networks (
locationsId,
projectsId,
description,
type,
etag
)
SELECT
'{{ locationsId }}',
'{{ projectsId }}',
'{{ description }}',
'{{ type }}',
'{{ etag }}'
;
- name: your_resource_model_name
props:
- name: name
value: string
- name: createTime
value: string
- name: updateTime
value: string
- name: description
value: string
- name: vpcNetworks
value:
- - name: type
value: string
- name: network
value: string
- name: state
value: string
- name: type
value: string
- name: uid
value: string
- name: etag
value: string
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 }}';