Device Settings - Get Time Settings

Gets the time settings of the specified device.

GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorSimple/managers/{managerName}/devices/{deviceName}/timeSettings/default?api-version=2017-06-01

URI Parameters

Name In Required Type Description
deviceName
path True
  • string

The device name

managerName
path True
  • string

The manager name

resourceGroupName
path True
  • string

The resource group name

subscriptionId
path True
  • string

The subscription id

api-version
query True
  • string

The api version

Responses

Name Type Description
200 OK

The time settings.

Security

azure_auth

Azure Active Directory OAuth2 Flow

Type: oauth2
Flow: implicit
Authorization URL: https://login.microsoftonline.com/common/oauth2/authorize

Scopes

Name Description
user_impersonation impersonate your user account

Examples

DeviceSettingsGetTimeSettings

Sample Request

GET https://management.azure.com/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/ResourceGroupForSDKTest/providers/Microsoft.StorSimple/managers/ManagerForSDKTest1/devices/Device05ForSDKTest/timeSettings/default?api-version=2017-06-01

Sample Response

{
  "properties": {
    "timeZone": "Pacific Standard Time",
    "primaryTimeServer": "time.windows.com",
    "secondaryTimeServer": [
      "8.8.8.8"
    ]
  },
  "id": "/subscriptions/4385cf00-2d3a-425a-832f-f4285b1c9dce/resourceGroups/ResourceGroupForSDKTest/providers/Microsoft.StorSimple/managers/ManagerForSDKTest1/devices/Device05ForSDKTest/timeSettings/default",
  "name": "default",
  "type": "Microsoft.StorSimple/managers/devices/timeSettings",
  "kind": "Series8000"
}

Definitions

Kind

The Kind of the object. Currently only Series8000 is supported

TimeSettings

The time settings of a device.

Kind

The Kind of the object. Currently only Series8000 is supported

Name Type Description
Series8000
  • string

TimeSettings

The time settings of a device.

Name Type Description
id
  • string

The path ID that uniquely identifies the object.

kind

The Kind of the object. Currently only Series8000 is supported

name
  • string

The name of the object.

properties.primaryTimeServer
  • string

The primary Network Time Protocol (NTP) server name, like 'time.windows.com'.

properties.secondaryTimeServer
  • string[]

The secondary Network Time Protocol (NTP) server name, like 'time.contoso.com'. It's optional.

properties.timeZone
  • string

The timezone of device, like '(UTC -06:00) Central America'

type
  • string

The hierarchical type of the object.