This document explains how to view Secure Access Connect attachments and attachment details.
Required roles
To get the permissions that
you need to view attachments details,
ask your administrator to grant you the
Compute Network Viewer (roles/compute.networkViewer
)
IAM role on project.
For more information about granting roles, see Manage access to projects, folders, and organizations.
You might also be able to get the required permissions through custom roles or other predefined roles.
View all attachments in a region
To view all attachments in a region, do the following.
gcloud
Run the
gcloud beta network-security secure-access-connect attachments list
command:
gcloud beta network-security secure-access-connect attachments list \
--project=PROJECT_ID \
--location=REGION
Replace the following:
PROJECT_ID
: your project IDREGION
: the region where the attachments are located
API
Use the projects.locations.sacAttachments.list
method
GET https://networksecurity.googleapis.com/v1beta1/{parent=project/PROJECT_ID/locations/REGION}/sacAttachments
Replace the following:
PROJECT_ID
: your project IDREGION
: the region where the attachment is located
View attachment details
To view details about an attachment, do the following.
gcloud
Run the
gcloud beta network-security secure-access-connect attachments describe
command:
gcloud beta network-security secure-access-connect attachments describe ATTACHMENT_ID \
--project=PROJECT_ID \
--location=REGION
Replace the following:
ATTACHMENT_ID
: the ID of the attachmentPROJECT_ID
: your project IDREGION
: the region where the attachments are located
API
Use the projects.locations.sacAttachments.get
method
GET https://networksecurity.googleapis.com/v1beta1/{parent=project/PROJECT_ID/locations/REGION}/sacAttachments/ATTACHMENT_ID
Replace the following:
PROJECT_ID
: your project IDREGION
: the region where the attachment is locatedATTACHMENT_ID
: the ID of the attachment