Skip to main content

managers

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

Overview

Namemanagers
TypeResource
Idazure_extras.storsimple_1200_series.managers

Fields

NameDatatypeDescription
idtextThe Resource Id
nametextThe Resource Name
cis_intrinsic_settingstextfield from the properties object
etagtextETag of the Manager
locationtextThe Geo location of the Manager
managerNametextfield from the properties object
provisioning_statetextfield from the properties object
resourceGroupNametextfield from the properties object
skutextfield from the properties object
subscriptionIdtextfield from the properties object
tagstextTags attached to the Manager
typetextThe Resource type

Methods

NameAccessible byRequired ParamsDescription
getSELECTmanagerName, resourceGroupName, subscriptionIdReturns the properties of the specified manager name.
listSELECTsubscriptionIdRetrieves all the managers in a subscription.
list_by_resource_groupSELECTresourceGroupName, subscriptionIdRetrieves all the managers in a resource group.
create_or_updateINSERTmanagerName, resourceGroupName, subscriptionIdCreates or updates the manager.
deleteDELETEmanagerName, resourceGroupName, subscriptionIdDeletes the manager.
updateUPDATEmanagerName, resourceGroupName, subscriptionIdUpdates the StorSimple Manager.
upload_registration_certificateEXECcertificateName, managerName, resourceGroupName, subscriptionId, data__propertiesUpload Vault Cred Certificate.
Returns UploadCertificateResponse

SELECT examples

Retrieves all the managers in a subscription.

SELECT
id,
name,
cis_intrinsic_settings,
etag,
location,
managerName,
provisioning_state,
resourceGroupName,
sku,
subscriptionId,
tags,
type
FROM azure_extras.storsimple_1200_series.vw_managers
WHERE subscriptionId = '{{ subscriptionId }}';

INSERT example

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

/*+ create */
INSERT INTO azure_extras.storsimple_1200_series.managers (
managerName,
resourceGroupName,
subscriptionId,
location,
tags,
properties,
etag
)
SELECT
'{{ managerName }}',
'{{ resourceGroupName }}',
'{{ subscriptionId }}',
'{{ location }}',
'{{ tags }}',
'{{ properties }}',
'{{ etag }}'
;

UPDATE example

Updates a managers resource.

/*+ update */
UPDATE azure_extras.storsimple_1200_series.managers
SET
tags = '{{ tags }}'
WHERE
managerName = '{{ managerName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';

DELETE example

Deletes the specified managers resource.

/*+ delete */
DELETE FROM azure_extras.storsimple_1200_series.managers
WHERE managerName = '{{ managerName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';