managers
Creates, updates, deletes, gets or lists a managers
resource.
Overview
Name | managers |
Type | Resource |
Id | azure_extras.storsimple_1200_series.managers |
Fields
The following fields are returned by SELECT
queries:
- get
- list_by_resource_group
- list
The StorSimple manager.
Name | Datatype | Description |
---|---|---|
id | string | The Resource Id |
name | string | The Resource Name |
etag | string | ETag of the Manager |
location | string | The Geo location of the Manager |
properties | object | List of properties of the Manager |
tags | object | Tags attached to the Manager |
type | string | The Resource type |
The collection of StorSimple managers.
Name | Datatype | Description |
---|---|---|
id | string | The Resource Id |
name | string | The Resource Name |
etag | string | ETag of the Manager |
location | string | The Geo location of the Manager |
properties | object | List of properties of the Manager |
tags | object | Tags attached to the Manager |
type | string | The Resource type |
The collection of StorSimple managers.
Name | Datatype | Description |
---|---|---|
id | string | The Resource Id |
name | string | The Resource Name |
etag | string | ETag of the Manager |
location | string | The Geo location of the Manager |
properties | object | List of properties of the Manager |
tags | object | Tags attached to the Manager |
type | string | The Resource type |
Methods
The following methods are available for this resource:
Name | Accessible by | Required Params | Optional Params | Description |
---|---|---|---|---|
get | select | subscriptionId , resourceGroupName , managerName | Returns the properties of the specified manager name. | |
list_by_resource_group | select | subscriptionId , resourceGroupName | Retrieves all the managers in a resource group. | |
list | select | subscriptionId | Retrieves all the managers in a subscription. | |
create_or_update | insert | subscriptionId , resourceGroupName , managerName | Creates or updates the manager. | |
update | update | subscriptionId , resourceGroupName , managerName | Updates the StorSimple Manager. | |
delete | delete | subscriptionId , resourceGroupName , managerName | Deletes the manager. | |
upload_registration_certificate | exec | certificateName , subscriptionId , resourceGroupName , managerName , properties | Upload 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.
Name | Datatype | Description |
---|---|---|
certificateName | string | Certificate Name |
managerName | string | The manager name |
resourceGroupName | string | The resource group name |
subscriptionId | string | The subscription id |
SELECT
examples
- get
- list_by_resource_group
- list
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
;
Retrieves all the managers in a resource group.
SELECT
id,
name,
etag,
location,
properties,
tags,
type
FROM azure_extras.storsimple_1200_series.managers
WHERE subscriptionId = '{{ subscriptionId }}' -- required
AND resourceGroupName = '{{ resourceGroupName }}' -- required
;
Retrieves all the managers in a subscription.
SELECT
id,
name,
etag,
location,
properties,
tags,
type
FROM azure_extras.storsimple_1200_series.managers
WHERE subscriptionId = '{{ subscriptionId }}' -- required
;
INSERT
examples
- create_or_update
- Manifest
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
;
# Description fields are for documentation purposes
- name: managers
props:
- name: subscriptionId
value: string
description: Required parameter for the managers resource.
- name: resourceGroupName
value: string
description: Required parameter for the managers resource.
- name: managerName
value: string
description: Required parameter for the managers resource.
- name: location
value: string
description: |
The Geo location of the Manager
- name: tags
value: object
description: |
Tags attached to the Manager
- name: properties
value: object
description: |
List of properties of the Manager
- name: etag
value: string
description: |
ETag of the Manager
UPDATE
examples
- update
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
- delete
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_registration_certificate
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 }}"
}'
;