managers
Creates, updates, deletes, gets or lists a managers
resource.
Overview
Name | managers |
Type | Resource |
Id | azure_extras.storsimple_1200_series.managers |
Fields
- vw_managers
- managers
Name | Datatype | Description |
---|---|---|
id | text | The Resource Id |
name | text | The Resource Name |
cis_intrinsic_settings | text | field from the properties object |
etag | text | ETag of the Manager |
location | text | The Geo location of the Manager |
managerName | text | field from the properties object |
provisioning_state | text | field from the properties object |
resourceGroupName | text | field from the properties object |
sku | text | field from the properties object |
subscriptionId | text | field from the properties object |
tags | text | Tags attached to the Manager |
type | text | The Resource type |
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 | The properties of the Manager |
tags | object | Tags attached to the Manager |
type | string | The Resource type |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | managerName, resourceGroupName, subscriptionId | Returns the properties of the specified manager name. |
list | SELECT | subscriptionId | Retrieves all the managers in a subscription. |
list_by_resource_group | SELECT | resourceGroupName, subscriptionId | Retrieves all the managers in a resource group. |
create_or_update | INSERT | managerName, resourceGroupName, subscriptionId | Creates or updates the manager. |
delete | DELETE | managerName, resourceGroupName, subscriptionId | Deletes the manager. |
update | UPDATE | managerName, resourceGroupName, subscriptionId | Updates the StorSimple Manager. |
upload_registration_certificate | EXEC | certificateName, managerName, resourceGroupName, subscriptionId, data__properties | Upload Vault Cred Certificate. |
Returns UploadCertificateResponse |
SELECT
examples
Retrieves all the managers in a subscription.
- vw_managers
- managers
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 }}';
SELECT
id,
name,
etag,
location,
properties,
tags,
type
FROM azure_extras.storsimple_1200_series.managers
WHERE subscriptionId = '{{ subscriptionId }}';
INSERT
example
Use the following StackQL query and manifest file to create a new managers
resource.
- All Properties
- Manifest
/*+ create */
INSERT INTO azure_extras.storsimple_1200_series.managers (
managerName,
resourceGroupName,
subscriptionId,
location,
tags,
properties,
etag
)
SELECT
'{{ managerName }}',
'{{ resourceGroupName }}',
'{{ subscriptionId }}',
'{{ location }}',
'{{ tags }}',
'{{ properties }}',
'{{ etag }}'
;
- name: your_resource_model_name
props:
- name: id
value: string
- name: name
value: string
- name: type
value: string
- name: location
value: string
- name: tags
value: object
- name: properties
value:
- name: cisIntrinsicSettings
value:
- name: type
value: string
- name: sku
value:
- name: name
value: string
- name: provisioningState
value: string
- name: etag
value: string
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 }}';