app_connectors
Creates, updates, deletes, gets or lists a app_connectors
resource.
Overview
Name | app_connectors |
Type | Resource |
Id | google.beyondcorp.app_connectors |
Fields
Name | Datatype | Description |
---|---|---|
name | string | Required. Unique resource name of the AppConnector. The name is ignored when creating a AppConnector. |
createTime | string | Output only. Timestamp when the resource was created. |
displayName | string | Optional. An arbitrary user-provided name for the AppConnector. Cannot exceed 64 characters. |
labels | object | Optional. Resource labels to represent user provided metadata. |
principalInfo | object | PrincipalInfo represents an Identity oneof. |
resourceInfo | object | ResourceInfo represents the information/status of an app connector resource. Such as: - remote_agent - container - runtime - appgateway - appconnector - appconnection - tunnel - logagent |
state | string | Output only. The current state of the AppConnector. |
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_connectors_get | SELECT | appConnectorsId, locationsId, projectsId | Gets details of a single AppConnector. |
projects_locations_app_connectors_list | SELECT | locationsId, projectsId | Lists AppConnectors in a given project and location. |
projects_locations_app_connectors_create | INSERT | locationsId, projectsId | Creates a new AppConnector in a given project and location. |
projects_locations_app_connectors_delete | DELETE | appConnectorsId, locationsId, projectsId | Deletes a single AppConnector. |
projects_locations_app_connectors_patch | UPDATE | appConnectorsId, locationsId, projectsId | Updates the parameters of a single AppConnector. |
projects_locations_app_connectors_report_status | EXEC | appConnectorsId, locationsId, projectsId | Report status for a given connector. |
projects_locations_app_connectors_resolve_instance_config | EXEC | appConnectorsId, locationsId, projectsId | Gets instance configuration for a given AppConnector. An internal method called by a AppConnector to get its container config. |
SELECT
examples
Lists AppConnectors in a given project and location.
SELECT
name,
createTime,
displayName,
labels,
principalInfo,
resourceInfo,
state,
uid,
updateTime
FROM google.beyondcorp.app_connectors
WHERE locationsId = '{{ locationsId }}'
AND projectsId = '{{ projectsId }}';
INSERT
example
Use the following StackQL query and manifest file to create a new app_connectors
resource.
- All Properties
- Manifest
/*+ create */
INSERT INTO google.beyondcorp.app_connectors (
locationsId,
projectsId,
name,
labels,
displayName,
principalInfo,
resourceInfo
)
SELECT
'{{ locationsId }}',
'{{ projectsId }}',
'{{ name }}',
'{{ labels }}',
'{{ displayName }}',
'{{ principalInfo }}',
'{{ resourceInfo }}'
;
- 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: state
value: string
- name: principalInfo
value:
- name: serviceAccount
value:
- name: email
value: string
- name: resourceInfo
value:
- name: id
value: string
- name: status
value: string
- name: resource
value: object
- name: time
value: string
- name: sub
value:
- - name: id
value: string
- name: status
value: string
- name: resource
value: object
- name: time
value: string
- name: sub
value:
- - name: id
value: string
- name: status
value: string
- name: resource
value: object
- name: time
value: string
- name: sub
value:
- - name: id
value: string
- name: status
value: string
- name: resource
value: object
- name: time
value: string
- name: sub
value:
- - name: id
value: string
- name: status
value: string
- name: resource
value: object
- name: time
value: string
- name: sub
value:
- - name: id
value: string
- name: status
value: string
- name: resource
value: object
- name: time
value: string
- name: sub
value:
- - name: id
value: string
- name: status
value: string
- name: resource
value: object
- name: time
value: string
- name: sub
value:
- - name: id
value: string
- name: status
value: string
- name: resource
value: object
- name: time
value: string
- name: sub
value:
- - name: id
value: string
- name: status
value: string
- name: resource
value: object
- name: time
value: string
- name: sub
value:
- - name: id
value: string
- name: status
value: string
- name: resource
value: object
- name: time
value: string
- name: sub
value:
- []
UPDATE
example
Updates a app_connectors
resource.
/*+ update */
UPDATE google.beyondcorp.app_connectors
SET
name = '{{ name }}',
labels = '{{ labels }}',
displayName = '{{ displayName }}',
principalInfo = '{{ principalInfo }}',
resourceInfo = '{{ resourceInfo }}'
WHERE
appConnectorsId = '{{ appConnectorsId }}'
AND locationsId = '{{ locationsId }}'
AND projectsId = '{{ projectsId }}';
DELETE
example
Deletes the specified app_connectors
resource.
/*+ delete */
DELETE FROM google.beyondcorp.app_connectors
WHERE appConnectorsId = '{{ appConnectorsId }}'
AND locationsId = '{{ locationsId }}'
AND projectsId = '{{ projectsId }}';