Skip to main content

chap_settings

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

Overview

Namechap_settings
TypeResource
Idazure_extras.storsimple_1200_series.chap_settings

Fields

NameDatatypeDescription
idtextThe identifier.
nametextThe name.
chapUserNametextfield from the properties object
deviceNametextfield from the properties object
managerNametextfield from the properties object
passwordtextfield from the properties object
resourceGroupNametextfield from the properties object
subscriptionIdtextfield from the properties object
typetextThe type.

Methods

NameAccessible byRequired ParamsDescription
getSELECTchapUserName, deviceName, managerName, resourceGroupName, subscriptionIdReturns the properties of the specified chap setting name.
list_by_deviceSELECTdeviceName, managerName, resourceGroupName, subscriptionIdRetrieves all the chap settings in a device.
create_or_updateINSERTchapUserName, deviceName, managerName, resourceGroupName, subscriptionId, data__propertiesCreates or updates the chap setting.
deleteDELETEchapUserName, deviceName, managerName, resourceGroupName, subscriptionIdDeletes the chap setting.

SELECT examples

Retrieves all the chap settings in a device.

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 }}';

INSERT example

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

/*+ 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 }}'
;

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 }}';