chap_settings
Creates, updates, deletes, gets or lists a chap_settings
resource.
Overview
Name | chap_settings |
Type | Resource |
Id | azure_extras.storsimple_1200_series.chap_settings |
Fields
- vw_chap_settings
- chap_settings
Name | Datatype | Description |
---|---|---|
id | text | The identifier. |
name | text | The name. |
chapUserName | text | field from the properties object |
deviceName | text | field from the properties object |
managerName | text | field from the properties object |
password | text | field from the properties object |
resourceGroupName | text | field from the properties object |
subscriptionId | text | field from the properties object |
type | text | The type. |
Name | Datatype | Description |
---|---|---|
id | string | The identifier. |
name | string | The name. |
properties | object | Chap properties |
type | string | The type. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | chapUserName, deviceName, managerName, resourceGroupName, subscriptionId | Returns the properties of the specified chap setting name. |
list_by_device | SELECT | deviceName, managerName, resourceGroupName, subscriptionId | Retrieves all the chap settings in a device. |
create_or_update | INSERT | chapUserName, deviceName, managerName, resourceGroupName, subscriptionId, data__properties | Creates or updates the chap setting. |
delete | DELETE | chapUserName, deviceName, managerName, resourceGroupName, subscriptionId | Deletes the chap setting. |
SELECT
examples
Retrieves all the chap settings in a device.
- vw_chap_settings
- chap_settings
SELECT
id,
name,
chapUserName,
deviceName,
managerName,
password,
resourceGroupName,
subscriptionId,
type
FROM azure_extras.storsimple_1200_series.vw_chap_settings
WHERE deviceName = '{{ deviceName }}'
AND managerName = '{{ managerName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';
SELECT
id,
name,
properties,
type
FROM azure_extras.storsimple_1200_series.chap_settings
WHERE deviceName = '{{ deviceName }}'
AND managerName = '{{ managerName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';
INSERT
example
Use the following StackQL query and manifest file to create a new chap_settings
resource.
- All Properties
- Manifest
/*+ create */
INSERT INTO azure_extras.storsimple_1200_series.chap_settings (
chapUserName,
deviceName,
managerName,
resourceGroupName,
subscriptionId,
data__properties,
properties
)
SELECT
'{{ chapUserName }}',
'{{ deviceName }}',
'{{ managerName }}',
'{{ resourceGroupName }}',
'{{ subscriptionId }}',
'{{ data__properties }}',
'{{ properties }}'
;
- name: your_resource_model_name
props:
- name: id
value: string
- name: name
value: string
- name: type
value: string
- name: properties
value:
- name: password
value:
- name: value
value: string
- name: encryptionCertificateThumbprint
value: string
- name: encryptionAlgorithm
value: string
DELETE
example
Deletes the specified chap_settings
resource.
/*+ delete */
DELETE FROM azure_extras.storsimple_1200_series.chap_settings
WHERE chapUserName = '{{ chapUserName }}'
AND deviceName = '{{ deviceName }}'
AND managerName = '{{ managerName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';