Skip to main content

deployments

Creates, updates, deletes, gets or lists a deployments resource.

Overview

Namedeployments
TypeResource
Idgoogle.sasportal.deployments

Fields

NameDatatypeDescription
namestringOutput only. Resource name.
displayNamestringThe deployment's display name.
frnsarrayOutput only. The FCC Registration Numbers (FRNs) copied from its direct parent.
sasUserIdsarrayUser ID used by the devices belonging to this deployment. Each deployment should be associated with one unique user ID.

Methods

NameAccessible byRequired ParamsDescription
customers_deployments_getSELECTcustomersId, deploymentsIdReturns a requested deployment.
customers_deployments_listSELECTcustomersIdLists deployments.
customers_nodes_deployments_listSELECTcustomersId, nodesIdLists deployments.
deployments_getSELECTdeploymentsIdReturns a requested deployment.
nodes_deployments_getSELECTdeploymentsId, nodesIdReturns a requested deployment.
nodes_deployments_listSELECTnodesIdLists deployments.
nodes_nodes_deployments_listSELECTnodesId, nodesId1Lists deployments.
customers_deployments_createINSERTcustomersIdCreates a new deployment.
customers_nodes_deployments_createINSERTcustomersId, nodesIdCreates a new deployment.
nodes_nodes_deployments_createINSERTnodesId, nodesId1Creates a new deployment.
customers_deployments_deleteDELETEcustomersId, deploymentsIdDeletes a deployment.
nodes_deployments_deleteDELETEdeploymentsId, nodesIdDeletes a deployment.
customers_deployments_patchUPDATEcustomersId, deploymentsIdUpdates an existing deployment.
nodes_deployments_patchUPDATEdeploymentsId, nodesIdUpdates an existing deployment.
customers_deployments_moveEXECcustomersId, deploymentsIdMoves a deployment under another node or customer.
nodes_deployments_moveEXECdeploymentsId, nodesIdMoves a deployment under another node or customer.

SELECT examples

Lists deployments.

SELECT
name,
displayName,
frns,
sasUserIds
FROM google.sasportal.deployments
WHERE nodesId = '{{ nodesId }}';

INSERT example

Use the following StackQL query and manifest file to create a new deployments resource.

/*+ create */
INSERT INTO google.sasportal.deployments (
customersId,
displayName,
sasUserIds
)
SELECT
'{{ customersId }}',
'{{ displayName }}',
'{{ sasUserIds }}'
;

UPDATE example

Updates a deployments resource.

/*+ update */
UPDATE google.sasportal.deployments
SET
displayName = '{{ displayName }}',
sasUserIds = '{{ sasUserIds }}'
WHERE
deploymentsId = '{{ deploymentsId }}'
AND nodesId = '{{ nodesId }}';

DELETE example

Deletes the specified deployments resource.

/*+ delete */
DELETE FROM google.sasportal.deployments
WHERE deploymentsId = '{{ deploymentsId }}'
AND nodesId = '{{ nodesId }}';