app_connections
Creates, updates, deletes, gets or lists a app_connections
resource.
Overview
Name | app_connections |
Type | Resource |
Id | google.beyondcorp.app_connections |
Fields
Name | Datatype | Description |
---|---|---|
name | string | Required. Unique resource name of the AppConnection. The name is ignored when creating a AppConnection. |
applicationEndpoint | object | ApplicationEndpoint represents a remote application endpoint. |
connectors | array | Optional. List of [google.cloud.beyondcorp.v1main.Connector.name] that are authorised to be associated with this AppConnection. |
createTime | string | Output only. Timestamp when the resource was created. |
displayName | string | Optional. An arbitrary user-provided name for the AppConnection. Cannot exceed 64 characters. |
gateway | object | Gateway represents a user facing component that serves as an entrance to enable connectivity. |
labels | object | Optional. Resource labels to represent user provided metadata. |
satisfiesPzi | boolean | Output only. Reserved for future use. |
satisfiesPzs | boolean | Output only. Reserved for future use. |
state | string | Output only. The current state of the AppConnection. |
type | string | Required. The type of network connectivity used by the AppConnection. |
uid | string | Output only. A unique identifier for the instance generated by the system. |
updateTime | string | Output only. Timestamp when the resource was last modified. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
projects_locations_app_connections_get | SELECT | appConnectionsId, locationsId, projectsId | Gets details of a single AppConnection. |
projects_locations_app_connections_list | SELECT | locationsId, projectsId | Lists AppConnections in a given project and location. |
projects_locations_app_connections_create | INSERT | locationsId, projectsId | Creates a new AppConnection in a given project and location. |
projects_locations_app_connections_delete | DELETE | appConnectionsId, locationsId, projectsId | Deletes a single AppConnection. |
projects_locations_app_connections_patch | UPDATE | appConnectionsId, locationsId, projectsId | Updates the parameters of a single AppConnection. |
projects_locations_app_connections_resolve | EXEC | locationsId, projectsId | Resolves AppConnections details for a given AppConnector. An internal method called by a connector to find AppConnections to connect to. |
SELECT
examples
Lists AppConnections in a given project and location.
SELECT
name,
applicationEndpoint,
connectors,
createTime,
displayName,
gateway,
labels,
satisfiesPzi,
satisfiesPzs,
state,
type,
uid,
updateTime
FROM google.beyondcorp.app_connections
WHERE locationsId = '{{ locationsId }}'
AND projectsId = '{{ projectsId }}';
INSERT
example
Use the following StackQL query and manifest file to create a new app_connections
resource.
- All Properties
- Manifest
/*+ create */
INSERT INTO google.beyondcorp.app_connections (
locationsId,
projectsId,
name,
labels,
displayName,
type,
applicationEndpoint,
connectors,
gateway
)
SELECT
'{{ locationsId }}',
'{{ projectsId }}',
'{{ name }}',
'{{ labels }}',
'{{ displayName }}',
'{{ type }}',
'{{ applicationEndpoint }}',
'{{ connectors }}',
'{{ gateway }}'
;
- name: your_resource_model_name
props:
- name: name
value: string
- name: createTime
value: string
- name: updateTime
value: string
- name: labels
value: object
- name: displayName
value: string
- name: uid
value: string
- name: type
value: string
- name: applicationEndpoint
value:
- name: host
value: string
- name: port
value: integer
- name: connectors
value:
- string
- name: state
value: string
- name: gateway
value:
- name: type
value: string
- name: uri
value: string
- name: ingressPort
value: integer
- name: appGateway
value: string
- name: l7psc
value: string
- name: satisfiesPzs
value: boolean
- name: satisfiesPzi
value: boolean
UPDATE
example
Updates a app_connections
resource.
/*+ update */
UPDATE google.beyondcorp.app_connections
SET
name = '{{ name }}',
labels = '{{ labels }}',
displayName = '{{ displayName }}',
type = '{{ type }}',
applicationEndpoint = '{{ applicationEndpoint }}',
connectors = '{{ connectors }}',
gateway = '{{ gateway }}'
WHERE
appConnectionsId = '{{ appConnectionsId }}'
AND locationsId = '{{ locationsId }}'
AND projectsId = '{{ projectsId }}';
DELETE
example
Deletes the specified app_connections
resource.
/*+ delete */
DELETE FROM google.beyondcorp.app_connections
WHERE appConnectionsId = '{{ appConnectionsId }}'
AND locationsId = '{{ locationsId }}'
AND projectsId = '{{ projectsId }}';