@azure-rest/maps-timezone package
接口
| ConvertWindowsTimezoneToIana | |
| CountryRecordOutput |
国家/地区记录。 |
| ErrorAdditionalInfoOutput |
资源管理错误附加信息。 |
| ErrorDetailOutput |
错误详细信息。 |
| ErrorResponseOutput |
所有 Azure 资源管理器 API 的常见错误响应,以返回失败操作的错误详细信息。 (这也遵循 OData 错误响应格式)。 |
| GetIanaTimezoneIds | |
| GetIanaVersion | |
| GetTimeZoneByCoordinates | |
| GetTimeZoneByID | |
| GetWindowsTimezoneIds | |
| IanaIdOutput | |
| MapsTimeZoneClientOptions |
客户端的可选参数 |
| ReferenceTimeOutput |
当地时间生效的详细信息。 |
| RepresentativePointOutput |
代表点属性 |
| Routes | |
| TimeTransitionOutput | |
| TimeZoneConvertWindowsTimezoneToIana200Response |
|
| TimeZoneConvertWindowsTimezoneToIanaDefaultResponse |
|
| TimeZoneConvertWindowsTimezoneToIanaQueryParam | |
| TimeZoneConvertWindowsTimezoneToIanaQueryParamProperties | |
| TimeZoneGetIanaTimezoneIds200Response |
|
| TimeZoneGetIanaTimezoneIdsDefaultResponse |
|
| TimeZoneGetIanaVersion200Response |
|
| TimeZoneGetIanaVersionDefaultResponse |
|
| TimeZoneGetTimeZoneByCoordinates200Response |
|
| TimeZoneGetTimeZoneByCoordinatesDefaultResponse |
|
| TimeZoneGetTimeZoneByCoordinatesHeaderParam | |
| TimeZoneGetTimeZoneByCoordinatesHeaders | |
| TimeZoneGetTimeZoneByCoordinatesQueryParam | |
| TimeZoneGetTimeZoneByCoordinatesQueryParamProperties | |
| TimeZoneGetTimeZoneByID200Response |
|
| TimeZoneGetTimeZoneByIDDefaultResponse |
|
| TimeZoneGetTimeZoneByIDHeaderParam | |
| TimeZoneGetTimeZoneByIDHeaders | |
| TimeZoneGetTimeZoneByIDQueryParam | |
| TimeZoneGetTimeZoneByIDQueryParamProperties | |
| TimeZoneGetWindowsTimezoneIds200Response |
|
| TimeZoneGetWindowsTimezoneIdsDefaultResponse |
|
| TimeZoneIanaVersionResultOutput |
此对象是从成功的时区 IANA 版本调用返回的 |
| TimeZoneIdOutput | |
| TimeZoneNamesOutput |
时区名称对象。 |
| TimeZoneResultOutput |
此对象是从成功的时区按 ID 调用或按坐标调用返回的 |
| WindowsTimeZoneOutput | |
类型别名
函数
| default(Azure |
从订阅密钥创建 MapsTimeZoneClient 的实例。 示例
|
| default(Token |
从 Azure 标识 示例
|
| default(Azure |
从 Azure 标识 示例
|
| is |
|
| is |
|
| is |
|
| is |
|
| is |
|
| is |
函数详细信息
default(AzureKeyCredential, ClientOptions)
从订阅密钥创建 MapsTimeZoneClient 的实例。
示例
import MapsTimeZone from "@azure-rest/maps-timezone";
const credential = new AzureKeyCredential("<subscription-key>");
const client = MapsTimeZone(credential);
function default(credential: AzureKeyCredential, options?: ClientOptions): MapsTimeZoneClient
参数
- credential
- AzureKeyCredential
用于对服务请求进行身份验证的 AzureKeyCredential 实例
- options
- ClientOptions
用于配置 TimeZone 客户端的选项
返回
default(TokenCredential, string, ClientOptions)
从 Azure 标识 TokenCredential创建 MapsTimeZone 实例。
示例
import MapsTimeZoneClient from "@azure-rest/maps-timezone";
import { DefaultAzureCredential } from "@azure/identity";
const credential = new DefaultAzureCredential();
const client = MapsTimeZone(credential, "<maps-account-client-id>");
function default(credential: TokenCredential, mapsAccountClientId: string, options?: ClientOptions): MapsTimeZoneClient
参数
- credential
- TokenCredential
用于对服务的请求进行身份验证的 TokenCredential 实例
- mapsAccountClientId
-
string
特定地图资源的 Azure Maps 客户端 ID
- options
- ClientOptions
用于配置 TimeZone 客户端的选项
返回
default(AzureSASCredential, ClientOptions)
从 Azure 标识 AzureSASCredential创建 MapsTimeZone 实例。
示例
import MapsTimeZone from "@azure-rest/maps-timezone";
import { AzureSASCredential } from "@azure/core-auth";
const credential = new AzureSASCredential("<SAS Token>");
const client = MapsTimeZone(credential);
function default(credential: AzureSASCredential, options?: ClientOptions): MapsTimeZoneClient
参数
- credential
- AzureSASCredential
用于对服务的请求进行身份验证的 AzureSASCredential 实例
- options
- ClientOptions
用于配置 TimeZone 客户端的选项
返回
isUnexpected(TimeZoneGetTimeZoneByID200Response | TimeZoneGetTimeZoneByIDDefaultResponse)
function isUnexpected(response: TimeZoneGetTimeZoneByID200Response | TimeZoneGetTimeZoneByIDDefaultResponse): response
参数
返回
response
isUnexpected(TimeZoneGetTimeZoneByCoordinates200Response | TimeZoneGetTimeZoneByCoordinatesDefaultResponse)
function isUnexpected(response: TimeZoneGetTimeZoneByCoordinates200Response | TimeZoneGetTimeZoneByCoordinatesDefaultResponse): response
参数
返回
response
isUnexpected(TimeZoneGetWindowsTimezoneIds200Response | TimeZoneGetWindowsTimezoneIdsDefaultResponse)
function isUnexpected(response: TimeZoneGetWindowsTimezoneIds200Response | TimeZoneGetWindowsTimezoneIdsDefaultResponse): response
参数
返回
response
isUnexpected(TimeZoneGetIanaTimezoneIds200Response | TimeZoneGetIanaTimezoneIdsDefaultResponse)
function isUnexpected(response: TimeZoneGetIanaTimezoneIds200Response | TimeZoneGetIanaTimezoneIdsDefaultResponse): response
参数
返回
response
isUnexpected(TimeZoneGetIanaVersion200Response | TimeZoneGetIanaVersionDefaultResponse)
function isUnexpected(response: TimeZoneGetIanaVersion200Response | TimeZoneGetIanaVersionDefaultResponse): response
参数
返回
response
isUnexpected(TimeZoneConvertWindowsTimezoneToIana200Response | TimeZoneConvertWindowsTimezoneToIanaDefaultResponse)
function isUnexpected(response: TimeZoneConvertWindowsTimezoneToIana200Response | TimeZoneConvertWindowsTimezoneToIanaDefaultResponse): response
参数
返回
response