Skip to main content

interconnect_attachment_groups

Creates, updates, deletes, gets or lists an interconnect_attachment_groups resource.

Overview

Nameinterconnect_attachment_groups
TypeResource
Idgoogle.compute.interconnect_attachment_groups

Fields

The following fields are returned by SELECT queries:

Successful response

NameDatatypeDescription
idstring (uint64)[Output Only] The unique identifier for the resource type. The server generates this identifier.
namestringName 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. (pattern: a-z?)
attachmentsobjectAttachments in the AttachmentGroup. Keys are arbitrary user-specified strings. Users are encouraged, but not required, to use their preferred format for resource links as keys. Note that there are add-members and remove-members methods in gcloud. The size of this map is limited by an "Attachments per group" quota.
configuredobject[Output Only] The redundancy this group is configured to support. The way a user queries what SLA their Attachment gets is by looking at this field of the Attachment's AttachmentGroup. (id: InterconnectAttachmentGroupConfigured)
creationTimestampstring[Output Only] Creation timestamp in RFC3339 text format.
descriptionstringAn optional description of this resource. Provide this property when you create the resource.
etagstringOpaque system-generated token that uniquely identifies the configuration. If provided when patching a configuration in update mode, the provided token must match the current token or the update is rejected. This provides a reliable means of doing read-modify-write (optimistic locking) as described by AIP 154.
intentobjectThe user's intent for this AttachmentGroup. This is the only required field besides the name that must be specified on group creation. (id: InterconnectAttachmentGroupIntent)
interconnectGroupstringThe URL of an InterconnectGroup that groups these Attachments' Interconnects. Customers do not need to set this unless directed by Google Support.
kindstring[Output Only] Type of the resource. Always compute#interconnectAttachmentGroup. (default: compute#interconnectAttachmentGroup)
logicalStructureobject[Output Only] An analysis of the logical layout of Attachments in this group. Every Attachment in the group is shown once in this structure. (id: InterconnectAttachmentGroupLogicalStructure)
selfLinkstring[Output Only] Server-defined URL for the resource.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectproject, interconnectAttachmentGroupReturns the specified InterconnectAttachmentGroup resource in the given scope.
listselectprojectfilter, maxResults, orderBy, pageToken, returnPartialSuccessLists the InterconnectAttachmentGroups for a project in the given scope.
insertinsertprojectrequestIdCreates a InterconnectAttachmentGroup in the specified project in the given scope using the parameters that are included in the request.
patchupdateproject, interconnectAttachmentGrouprequestId, updateMaskPatches the specified InterconnectAttachmentGroup resource with the data included in the request. This method supports PATCH semantics and uses JSON merge patch format and processing rules.
deletedeleteproject, interconnectAttachmentGrouprequestIdDeletes the specified InterconnectAttachmentGroup in the given scope

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
interconnectAttachmentGroupstring
projectstring
filterstring
maxResultsinteger (uint32)
orderBystring
pageTokenstring
requestIdstring
returnPartialSuccessboolean
updateMaskstring (google-fieldmask)

SELECT examples

Returns the specified InterconnectAttachmentGroup resource in the given scope.

SELECT
id,
name,
attachments,
configured,
creationTimestamp,
description,
etag,
intent,
interconnectGroup,
kind,
logicalStructure,
selfLink
FROM google.compute.interconnect_attachment_groups
WHERE project = '{{ project }}' -- required
AND interconnectAttachmentGroup = '{{ interconnectAttachmentGroup }}' -- required;

INSERT examples

Creates a InterconnectAttachmentGroup in the specified project in the given scope using the parameters that are included in the request.

INSERT INTO google.compute.interconnect_attachment_groups (
data__kind,
data__id,
data__creationTimestamp,
data__name,
data__description,
data__selfLink,
data__etag,
data__attachments,
data__interconnectGroup,
data__intent,
data__logicalStructure,
data__configured,
project,
requestId
)
SELECT
'{{ kind }}',
'{{ id }}',
'{{ creationTimestamp }}',
'{{ name }}',
'{{ description }}',
'{{ selfLink }}',
'{{ etag }}',
'{{ attachments }}',
'{{ interconnectGroup }}',
'{{ intent }}',
'{{ logicalStructure }}',
'{{ configured }}',
'{{ project }}',
'{{ requestId }}'
RETURNING
id,
name,
clientOperationId,
creationTimestamp,
description,
endTime,
error,
httpErrorMessage,
httpErrorStatusCode,
insertTime,
instancesBulkInsertOperationMetadata,
kind,
operationGroupId,
operationType,
progress,
region,
selfLink,
setCommonInstanceMetadataOperationMetadata,
startTime,
status,
statusMessage,
targetId,
targetLink,
user,
warnings,
zone
;

UPDATE examples

Patches the specified InterconnectAttachmentGroup resource with the data included in the request. This method supports PATCH semantics and uses JSON merge patch format and processing rules.

UPDATE google.compute.interconnect_attachment_groups
SET
data__kind = '{{ kind }}',
data__id = '{{ id }}',
data__creationTimestamp = '{{ creationTimestamp }}',
data__name = '{{ name }}',
data__description = '{{ description }}',
data__selfLink = '{{ selfLink }}',
data__etag = '{{ etag }}',
data__attachments = '{{ attachments }}',
data__interconnectGroup = '{{ interconnectGroup }}',
data__intent = '{{ intent }}',
data__logicalStructure = '{{ logicalStructure }}',
data__configured = '{{ configured }}'
WHERE
project = '{{ project }}' --required
AND interconnectAttachmentGroup = '{{ interconnectAttachmentGroup }}' --required
AND requestId = '{{ requestId}}'
AND updateMask = '{{ updateMask}}'
RETURNING
id,
name,
clientOperationId,
creationTimestamp,
description,
endTime,
error,
httpErrorMessage,
httpErrorStatusCode,
insertTime,
instancesBulkInsertOperationMetadata,
kind,
operationGroupId,
operationType,
progress,
region,
selfLink,
setCommonInstanceMetadataOperationMetadata,
startTime,
status,
statusMessage,
targetId,
targetLink,
user,
warnings,
zone;

DELETE examples

Deletes the specified InterconnectAttachmentGroup in the given scope

DELETE FROM google.compute.interconnect_attachment_groups
WHERE project = '{{ project }}' --required
AND interconnectAttachmentGroup = '{{ interconnectAttachmentGroup }}' --required
AND requestId = '{{ requestId }}';