device_settings_time_settings
Creates, updates, deletes, gets or lists a device_settings_time_settings
resource.
Overview
Name | device_settings_time_settings |
Type | Resource |
Id | azure_extras.storsimple_8000_series.device_settings_time_settings |
Fields
- vw_device_settings_time_settings
- device_settings_time_settings
Name | Datatype | Description |
---|---|---|
id | text | The path ID that uniquely identifies the object. |
name | text | The name of the object. |
deviceName | text | field from the properties object |
kind | text | The Kind of the object. Currently only Series8000 is supported |
managerName | text | field from the properties object |
primary_time_server | text | field from the properties object |
resourceGroupName | text | field from the properties object |
secondary_time_server | text | field from the properties object |
subscriptionId | text | field from the properties object |
time_zone | text | field from the properties object |
type | text | The hierarchical type of the object. |
Name | Datatype | Description |
---|---|---|
id | string | The path ID that uniquely identifies the object. |
name | string | The name of the object. |
kind | string | The Kind of the object. Currently only Series8000 is supported |
properties | object | The properties of time settings of a device. |
type | string | The hierarchical type of the object. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | deviceName, managerName, resourceGroupName, subscriptionId | Gets the time settings of the specified device. |
create_or_update | INSERT | deviceName, managerName, resourceGroupName, subscriptionId, data__properties | Creates or updates the time settings of the specified device. |
SELECT
examples
Gets the time settings of the specified device.
- vw_device_settings_time_settings
- device_settings_time_settings
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 }}';
SELECT
id,
name,
kind,
properties,
type
FROM azure_extras.storsimple_8000_series.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.
- All Properties
- Manifest
/*+ 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 }}'
;
- name: your_resource_model_name
props:
- name: id
value: string
- name: name
value: string
- name: type
value: string
- name: kind
value: string
- name: properties
value:
- name: timeZone
value: string
- name: primaryTimeServer
value: string
- name: secondaryTimeServer
value:
- string