time_zones
Creates, updates, deletes, gets or lists a time_zones
resource.
Overview
Name | time_zones |
Type | Resource |
Id | azure.sql.time_zones |
Fields
The following fields are returned by SELECT
queries:
- get
- list_by_location
Successfully retrieved the specified time zone.
Name | Datatype | Description |
---|---|---|
properties | object | Resource properties. |
Successfully retrieved the list of time zones.
Name | Datatype | Description |
---|---|---|
properties | object | Resource properties. |
Methods
The following methods are available for this resource:
Name | Accessible by | Required Params | Optional Params | Description |
---|---|---|---|---|
get | select | locationName , timeZoneId , subscriptionId | Gets a managed instance time zone. | |
list_by_location | select | locationName , subscriptionId | Gets a list of managed instance time zones by location. |
Parameters
Parameters can be passed in the WHERE
clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
Name | Datatype | Description |
---|---|---|
locationName | string | |
subscriptionId | string | The subscription ID that identifies an Azure subscription. |
timeZoneId | string |
SELECT
examples
- get
- list_by_location
Gets a managed instance time zone.
SELECT
properties
FROM azure.sql.time_zones
WHERE locationName = '{{ locationName }}' -- required
AND timeZoneId = '{{ timeZoneId }}' -- required
AND subscriptionId = '{{ subscriptionId }}' -- required
;
Gets a list of managed instance time zones by location.
SELECT
properties
FROM azure.sql.time_zones
WHERE locationName = '{{ locationName }}' -- required
AND subscriptionId = '{{ subscriptionId }}' -- required
;