@azure-rest/maps-timezone package
Interfaces
| ConvertWindowsTimezoneToIana | |
| CountryRecordOutput |
A country/region record. |
| ErrorAdditionalInfoOutput |
The resource management error additional info. |
| ErrorDetailOutput |
The error detail. |
| ErrorResponseOutput |
Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.). |
| GetIanaTimezoneIds | |
| GetIanaVersion | |
| GetTimeZoneByCoordinates | |
| GetTimeZoneByID | |
| GetWindowsTimezoneIds | |
| IanaIdOutput | |
| MapsTimeZoneClientOptions |
The optional parameters for the client |
| ReferenceTimeOutput |
Details in effect at the local time. |
| RepresentativePointOutput |
Representative point property |
| Routes | |
| TimeTransitionOutput | |
| TimeZoneConvertWindowsTimezoneToIana200Response |
The |
| TimeZoneConvertWindowsTimezoneToIanaDefaultResponse |
The |
| TimeZoneConvertWindowsTimezoneToIanaQueryParam | |
| TimeZoneConvertWindowsTimezoneToIanaQueryParamProperties | |
| TimeZoneGetIanaTimezoneIds200Response |
The |
| TimeZoneGetIanaTimezoneIdsDefaultResponse |
The |
| TimeZoneGetIanaVersion200Response |
The |
| TimeZoneGetIanaVersionDefaultResponse |
The |
| TimeZoneGetTimeZoneByCoordinates200Response |
The |
| TimeZoneGetTimeZoneByCoordinatesDefaultResponse |
The |
| TimeZoneGetTimeZoneByCoordinatesHeaderParam | |
| TimeZoneGetTimeZoneByCoordinatesHeaders | |
| TimeZoneGetTimeZoneByCoordinatesQueryParam | |
| TimeZoneGetTimeZoneByCoordinatesQueryParamProperties | |
| TimeZoneGetTimeZoneByID200Response |
The |
| TimeZoneGetTimeZoneByIDDefaultResponse |
The |
| TimeZoneGetTimeZoneByIDHeaderParam | |
| TimeZoneGetTimeZoneByIDHeaders | |
| TimeZoneGetTimeZoneByIDQueryParam | |
| TimeZoneGetTimeZoneByIDQueryParamProperties | |
| TimeZoneGetWindowsTimezoneIds200Response |
The |
| TimeZoneGetWindowsTimezoneIdsDefaultResponse |
The |
| TimeZoneIanaVersionResultOutput |
This object is returned from a successful Timezone IANA Version call |
| TimeZoneIdOutput | |
| TimeZoneNamesOutput |
Timezone names object. |
| TimeZoneResultOutput |
This object is returned from a successful Timezone By ID call or By Coordinates call |
| WindowsTimeZoneOutput | |
Type Aliases
Functions
| default(Azure |
Creates an instance of MapsTimeZoneClient from a subscription key. Example
|
| default(Token |
Creates an instance of MapsTimeZone from an Azure Identity Example
|
| default(Azure |
Creates an instance of MapsTimeZone from an Azure Identity Example
|
| is |
|
| is |
|
| is |
|
| is |
|
| is |
|
| is |
Function Details
default(AzureKeyCredential, ClientOptions)
Creates an instance of MapsTimeZoneClient from a subscription key.
Example
import MapsTimeZone from "@azure-rest/maps-timezone";
const credential = new AzureKeyCredential("<subscription-key>");
const client = MapsTimeZone(credential);
function default(credential: AzureKeyCredential, options?: ClientOptions): MapsTimeZoneClient
Parameters
- credential
- AzureKeyCredential
An AzureKeyCredential instance used to authenticate requests to the service
- options
- ClientOptions
Options used to configure the TimeZone Client
Returns
default(TokenCredential, string, ClientOptions)
Creates an instance of MapsTimeZone from an Azure Identity TokenCredential.
Example
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
Parameters
- credential
- TokenCredential
An TokenCredential instance used to authenticate requests to the service
- mapsAccountClientId
-
string
The Azure Maps client id of a specific map resource
- options
- ClientOptions
Options used to configure the TimeZone Client
Returns
default(AzureSASCredential, ClientOptions)
Creates an instance of MapsTimeZone from an Azure Identity AzureSASCredential.
Example
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
Parameters
- credential
- AzureSASCredential
An AzureSASCredential instance used to authenticate requests to the service
- options
- ClientOptions
Options used to configure the TimeZone Client
Returns
isUnexpected(TimeZoneGetTimeZoneByID200Response | TimeZoneGetTimeZoneByIDDefaultResponse)
function isUnexpected(response: TimeZoneGetTimeZoneByID200Response | TimeZoneGetTimeZoneByIDDefaultResponse): response
Parameters
Returns
response
isUnexpected(TimeZoneGetTimeZoneByCoordinates200Response | TimeZoneGetTimeZoneByCoordinatesDefaultResponse)
function isUnexpected(response: TimeZoneGetTimeZoneByCoordinates200Response | TimeZoneGetTimeZoneByCoordinatesDefaultResponse): response
Parameters
Returns
response
isUnexpected(TimeZoneGetWindowsTimezoneIds200Response | TimeZoneGetWindowsTimezoneIdsDefaultResponse)
function isUnexpected(response: TimeZoneGetWindowsTimezoneIds200Response | TimeZoneGetWindowsTimezoneIdsDefaultResponse): response
Parameters
Returns
response
isUnexpected(TimeZoneGetIanaTimezoneIds200Response | TimeZoneGetIanaTimezoneIdsDefaultResponse)
function isUnexpected(response: TimeZoneGetIanaTimezoneIds200Response | TimeZoneGetIanaTimezoneIdsDefaultResponse): response
Parameters
Returns
response
isUnexpected(TimeZoneGetIanaVersion200Response | TimeZoneGetIanaVersionDefaultResponse)
function isUnexpected(response: TimeZoneGetIanaVersion200Response | TimeZoneGetIanaVersionDefaultResponse): response
Parameters
Returns
response
isUnexpected(TimeZoneConvertWindowsTimezoneToIana200Response | TimeZoneConvertWindowsTimezoneToIanaDefaultResponse)
function isUnexpected(response: TimeZoneConvertWindowsTimezoneToIana200Response | TimeZoneConvertWindowsTimezoneToIanaDefaultResponse): response
Parameters
Returns
response