network_edge_security_services
Creates, updates, deletes, gets or lists a network_edge_security_services
resource.
Overview
Name | network_edge_security_services |
Type | Resource |
Id | google.compute.network_edge_security_services |
Fields
Name | Datatype | Description |
---|---|---|
id | string | [Output Only] The unique identifier for the resource. This identifier is defined by the server. |
name | string | Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. |
description | string | An optional description of this resource. Provide this property when you create the resource. |
creationTimestamp | string | [Output Only] Creation timestamp in RFC3339 text format. |
fingerprint | string | Fingerprint of this resource. A hash of the contents stored in this object. This field is used in optimistic locking. This field will be ignored when inserting a NetworkEdgeSecurityService. An up-to-date fingerprint must be provided in order to update the NetworkEdgeSecurityService, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve a NetworkEdgeSecurityService. |
kind | string | [Output only] Type of the resource. Always compute#networkEdgeSecurityService for NetworkEdgeSecurityServices |
region | string | [Output Only] URL of the region where the resource resides. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body. |
securityPolicy | string | The resource URL for the network edge security service associated with this network edge security service. |
selfLink | string | [Output Only] Server-defined URL for the resource. |
selfLinkWithId | string | [Output Only] Server-defined URL for this resource with the resource id. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
aggregated_list | SELECT | project | Retrieves the list of all NetworkEdgeSecurityService resources available to the specified project. To prevent failure, Google recommends that you set the returnPartialSuccess parameter to true . |
get | SELECT | networkEdgeSecurityService, project, region | Gets a specified NetworkEdgeSecurityService. |
insert | INSERT | project, region | Creates a new service in the specified project using the data included in the request. |
delete | DELETE | networkEdgeSecurityService, project, region | Deletes the specified service. |
patch | UPDATE | networkEdgeSecurityService, project, region | Patches the specified policy with the data included in the request. |
SELECT
examples
Retrieves the list of all NetworkEdgeSecurityService resources available to the specified project. To prevent failure, Google recommends that you set the returnPartialSuccess
parameter to true
.
SELECT
id,
name,
description,
creationTimestamp,
fingerprint,
kind,
region,
securityPolicy,
selfLink,
selfLinkWithId
FROM google.compute.network_edge_security_services
WHERE project = '{{ project }}';
INSERT
example
Use the following StackQL query and manifest file to create a new network_edge_security_services
resource.
- All Properties
- Manifest
/*+ create */
INSERT INTO google.compute.network_edge_security_services (
project,
region,
name,
description,
region,
fingerprint,
securityPolicy
)
SELECT
'{{ project }}',
'{{ region }}',
'{{ name }}',
'{{ description }}',
'{{ region }}',
'{{ fingerprint }}',
'{{ securityPolicy }}'
;
- name: your_resource_model_name
props:
- name: kind
value: string
- name: id
value: string
- name: creationTimestamp
value: string
- name: name
value: string
- name: description
value: string
- name: selfLink
value: string
- name: selfLinkWithId
value: string
- name: region
value: string
- name: fingerprint
value: string
- name: securityPolicy
value: string
UPDATE
example
Updates a network_edge_security_services
resource.
/*+ update */
UPDATE google.compute.network_edge_security_services
SET
name = '{{ name }}',
description = '{{ description }}',
region = '{{ region }}',
fingerprint = '{{ fingerprint }}',
securityPolicy = '{{ securityPolicy }}'
WHERE
networkEdgeSecurityService = '{{ networkEdgeSecurityService }}'
AND project = '{{ project }}'
AND region = '{{ region }}';
DELETE
example
Deletes the specified network_edge_security_services
resource.
/*+ delete */
DELETE FROM google.compute.network_edge_security_services
WHERE networkEdgeSecurityService = '{{ networkEdgeSecurityService }}'
AND project = '{{ project }}'
AND region = '{{ region }}';