endpoint_attachments
Creates, updates, deletes, gets or lists a endpoint_attachments
resource.
Overview
Name | endpoint_attachments |
Type | Resource |
Id | google.apigee.endpoint_attachments |
Fields
Name | Datatype | Description |
---|---|---|
name | string | Name of the endpoint attachment. Use the following structure in your request: organizations/{org}/endpointAttachments/{endpoint_attachment} |
connectionState | string | Output only. State of the endpoint attachment connection to the service attachment. |
host | string | Output only. Host that can be used in either the HTTP target endpoint directly or as the host in target server. |
location | string | Required. Location of the endpoint attachment. |
serviceAttachment | string | Format: projects//regions//serviceAttachments/* |
state | string | Output only. State of the endpoint attachment. Values other than ACTIVE mean the resource is not ready to use. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
organizations_endpoint_attachments_get | SELECT | endpointAttachmentsId, organizationsId | Gets the endpoint attachment. |
organizations_endpoint_attachments_list | SELECT | organizationsId | Lists the endpoint attachments in an organization. |
organizations_endpoint_attachments_create | INSERT | organizationsId | Creates an endpoint attachment. Note: Not supported for Apigee hybrid. |
organizations_endpoint_attachments_delete | DELETE | endpointAttachmentsId, organizationsId | Deletes an endpoint attachment. |
SELECT
examples
Lists the endpoint attachments in an organization.
SELECT
name,
connectionState,
host,
location,
serviceAttachment,
state
FROM google.apigee.endpoint_attachments
WHERE organizationsId = '{{ organizationsId }}';
INSERT
example
Use the following StackQL query and manifest file to create a new endpoint_attachments
resource.
- All Properties
- Manifest
/*+ create */
INSERT INTO google.apigee.endpoint_attachments (
organizationsId,
name,
location,
serviceAttachment
)
SELECT
'{{ organizationsId }}',
'{{ name }}',
'{{ location }}',
'{{ serviceAttachment }}'
;
- name: your_resource_model_name
props:
- name: state
value: string
- name: connectionState
value: string
- name: name
value: string
- name: host
value: string
- name: location
value: string
- name: serviceAttachment
value: string
DELETE
example
Deletes the specified endpoint_attachments
resource.
/*+ delete */
DELETE FROM google.apigee.endpoint_attachments
WHERE endpointAttachmentsId = '{{ endpointAttachmentsId }}'
AND organizationsId = '{{ organizationsId }}';