Skip to main content

managers

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

Overview

Namemanagers
TypeResource
Idazure_extras.storsimple_1200_series.managers

Fields

The following fields are returned by SELECT queries:

The StorSimple manager.

NameDatatypeDescription
idstringThe Resource Id
namestringThe Resource Name
etagstringETag of the Manager
locationstringThe Geo location of the Manager
propertiesobjectList of properties of the Manager
tagsobjectTags attached to the Manager
typestringThe Resource type

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectsubscriptionId, resourceGroupName, managerNameReturns the properties of the specified manager name.
list_by_resource_groupselectsubscriptionId, resourceGroupNameRetrieves all the managers in a resource group.
listselectsubscriptionIdRetrieves all the managers in a subscription.
create_or_updateinsertsubscriptionId, resourceGroupName, managerNameCreates or updates the manager.
updateupdatesubscriptionId, resourceGroupName, managerNameUpdates the StorSimple Manager.
deletedeletesubscriptionId, resourceGroupName, managerNameDeletes the manager.
upload_registration_certificateexeccertificateName, subscriptionId, resourceGroupName, managerName, propertiesUpload Vault Cred Certificate.
Returns UploadCertificateResponse

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
certificateNamestringCertificate Name
managerNamestringThe manager name
resourceGroupNamestringThe resource group name
subscriptionIdstringThe subscription id

SELECT examples

Returns the properties of the specified manager name.

SELECT
id,
name,
etag,
location,
properties,
tags,
type
FROM azure_extras.storsimple_1200_series.managers
WHERE subscriptionId = '{{ subscriptionId }}' -- required
AND resourceGroupName = '{{ resourceGroupName }}' -- required
AND managerName = '{{ managerName }}' -- required
;

INSERT examples

Creates or updates the manager.

INSERT INTO azure_extras.storsimple_1200_series.managers (
data__location,
data__tags,
data__properties,
data__etag,
subscriptionId,
resourceGroupName,
managerName
)
SELECT
'{{ location }}',
'{{ tags }}',
'{{ properties }}',
'{{ etag }}',
'{{ subscriptionId }}',
'{{ resourceGroupName }}',
'{{ managerName }}'
RETURNING
id,
name,
etag,
location,
properties,
tags,
type
;

UPDATE examples

Updates the StorSimple Manager.

UPDATE azure_extras.storsimple_1200_series.managers
SET
data__tags = '{{ tags }}'
WHERE
subscriptionId = '{{ subscriptionId }}' --required
AND resourceGroupName = '{{ resourceGroupName }}' --required
AND managerName = '{{ managerName }}' --required
RETURNING
id,
name,
etag,
location,
properties,
tags,
type;

DELETE examples

Deletes the manager.

DELETE FROM azure_extras.storsimple_1200_series.managers
WHERE subscriptionId = '{{ subscriptionId }}' --required
AND resourceGroupName = '{{ resourceGroupName }}' --required
AND managerName = '{{ managerName }}' --required
;

Lifecycle Methods

Upload Vault Cred Certificate.
Returns UploadCertificateResponse

EXEC azure_extras.storsimple_1200_series.managers.upload_registration_certificate 
@certificateName='{{ certificateName }}' --required,
@subscriptionId='{{ subscriptionId }}' --required,
@resourceGroupName='{{ resourceGroupName }}' --required,
@managerName='{{ managerName }}' --required
@@json=
'{
"properties": "{{ properties }}"
}'
;