Skip to main content

device_settings_time_settings

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

Overview

Namedevice_settings_time_settings
TypeResource
Idazure_extras.storsimple_8000_series.device_settings_time_settings

Fields

NameDatatypeDescription
idtextThe path ID that uniquely identifies the object.
nametextThe name of the object.
deviceNametextfield from the properties object
kindtextThe Kind of the object. Currently only Series8000 is supported
managerNametextfield from the properties object
primary_time_servertextfield from the properties object
resourceGroupNametextfield from the properties object
secondary_time_servertextfield from the properties object
subscriptionIdtextfield from the properties object
time_zonetextfield from the properties object
typetextThe hierarchical type of the object.

Methods

NameAccessible byRequired ParamsDescription
getSELECTdeviceName, managerName, resourceGroupName, subscriptionIdGets the time settings of the specified device.
create_or_updateINSERTdeviceName, managerName, resourceGroupName, subscriptionId, data__propertiesCreates or updates the time settings of the specified device.

SELECT examples

Gets the time settings of the specified device.

SELECT
id,
name,
deviceName,
kind,
managerName,
primary_time_server,
resourceGroupName,
secondary_time_server,
subscriptionId,
time_zone,
type
FROM azure_extras.storsimple_8000_series.vw_device_settings_time_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 device_settings_time_settings resource.

/*+ create */
INSERT INTO azure_extras.storsimple_8000_series.device_settings_time_settings (
deviceName,
managerName,
resourceGroupName,
subscriptionId,
data__properties,
kind,
properties
)
SELECT
'{{ deviceName }}',
'{{ managerName }}',
'{{ resourceGroupName }}',
'{{ subscriptionId }}',
'{{ data__properties }}',
'{{ kind }}',
'{{ properties }}'
;