TimeZones interface
表示时区的接口。
方法
| get(string, string, Time |
获取托管实例时区。 |
| list |
按位置获取托管实例时区的列表。 |
方法详细信息
get(string, string, TimeZonesGetOptionalParams)
获取托管实例时区。
function get(locationName: string, timeZoneId: string, options?: TimeZonesGetOptionalParams): Promise<TimeZone>
参数
- locationName
-
string
- timeZoneId
-
string
- options
- TimeZonesGetOptionalParams
选项参数。
返回
Promise<TimeZone>
listByLocation(string, TimeZonesListByLocationOptionalParams)
按位置获取托管实例时区的列表。
function listByLocation(locationName: string, options?: TimeZonesListByLocationOptionalParams): PagedAsyncIterableIterator<TimeZone, TimeZone[], PageSettings>
参数
- locationName
-
string
选项参数。