Skip to main content

time_zones

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

Overview

Nametime_zones
TypeResource
Idazure.sql.time_zones

Fields

NameDatatypeDescription
display_nametextfield from the properties object
locationNametextfield from the properties object
subscriptionIdtextfield from the properties object
timeZoneIdtextfield from the properties object
time_zone_idtextfield from the properties object

Methods

NameAccessible byRequired ParamsDescription
getSELECTlocationName, subscriptionId, timeZoneIdGets a managed instance time zone.
list_by_locationSELECTlocationName, subscriptionIdGets a list of managed instance time zones by location.

SELECT examples

Gets a list of managed instance time zones by location.

SELECT
display_name,
locationName,
subscriptionId,
timeZoneId,
time_zone_id
FROM azure.sql.vw_time_zones
WHERE locationName = '{{ locationName }}'
AND subscriptionId = '{{ subscriptionId }}';