Dela via


@azure-rest/maps-timezone package

Gränssnitt

ConvertWindowsTimezoneToIana
CountryRecordOutput

En post för land/region.

ErrorAdditionalInfoOutput

Ytterligare information om resurshanteringsfelet.

ErrorDetailOutput

Felinformationen.

ErrorResponseOutput

Vanligt felsvar för alla Azure Resource Manager-API:er för att returnera felinformation för misslyckade åtgärder. (Detta följer även formatet för OData-felsvar.).

GetIanaTimezoneIds
GetIanaVersion
GetTimeZoneByCoordinates
GetTimeZoneByID
GetWindowsTimezoneIds
IanaIdOutput
MapsTimeZoneClientOptions

Valfria parametrar för klienten

ReferenceTimeOutput

Information som gäller vid den lokala tidpunkten.

RepresentativePointOutput

Representativ punktegenskap

Routes
TimeTransitionOutput
TimeZoneConvertWindowsTimezoneToIana200Response

Get Windows to IANA Time Zone-API:et är en HTTP-GET begäran som returnerar ett motsvarande IANA-ID (Internet Assigned Numbers Authority) med ett giltigt ID för Windows-tidszon. Flera IANA-ID:er kan returneras för ett enda Windows-ID. Du kan begränsa dessa resultat genom att lägga till en valfri områdesparameter.

TimeZoneConvertWindowsTimezoneToIanaDefaultResponse

Get Windows to IANA Time Zone-API:et är en HTTP-GET begäran som returnerar ett motsvarande IANA-ID (Internet Assigned Numbers Authority) med ett giltigt ID för Windows-tidszon. Flera IANA-ID:er kan returneras för ett enda Windows-ID. Du kan begränsa dessa resultat genom att lägga till en valfri områdesparameter.

TimeZoneConvertWindowsTimezoneToIanaQueryParam
TimeZoneConvertWindowsTimezoneToIanaQueryParamProperties
TimeZoneGetIanaTimezoneIds200Response

API:et Get IANA Time Zones är en HTTP-GET begäran som returnerar en fullständig lista över IANA-tidszons-ID :n (Internet Assigned Numbers Authority). Uppdateringar av IANA-tjänsten återspeglas i systemet inom en dag.

TimeZoneGetIanaTimezoneIdsDefaultResponse

API:et Get IANA Time Zones är en HTTP-GET begäran som returnerar en fullständig lista över IANA-tidszons-ID :n (Internet Assigned Numbers Authority). Uppdateringar av IANA-tjänsten återspeglas i systemet inom en dag.

TimeZoneGetIanaVersion200Response

Get Time Zone IANA Version-API:et är en HTTP-GET begäran som returnerar det aktuella IANA-versionsnumret (Internet Assigned Numbers Authority) som metadata.

TimeZoneGetIanaVersionDefaultResponse

Get Time Zone IANA Version-API:et är en HTTP-GET begäran som returnerar det aktuella IANA-versionsnumret (Internet Assigned Numbers Authority) som metadata.

TimeZoneGetTimeZoneByCoordinates200Response

API:et Get Timezone By Coordinates är en HTTP-GET begäran som returnerar aktuell, historisk och framtida tidszonsinformation för ett angivet latitud-longitudpar. Dessutom tillhandahåller API:et tider för solnedgång och soluppgång för en viss plats, med undantag för regioner som observerar soldagar.

TimeZoneGetTimeZoneByCoordinatesDefaultResponse

API:et Get Timezone By Coordinates är en HTTP-GET begäran som returnerar aktuell, historisk och framtida tidszonsinformation för ett angivet latitud-longitudpar. Dessutom tillhandahåller API:et tider för solnedgång och soluppgång för en viss plats, med undantag för regioner som observerar soldagar.

TimeZoneGetTimeZoneByCoordinatesHeaderParam
TimeZoneGetTimeZoneByCoordinatesHeaders
TimeZoneGetTimeZoneByCoordinatesQueryParam
TimeZoneGetTimeZoneByCoordinatesQueryParamProperties
TimeZoneGetTimeZoneByID200Response

Get Timezone By ID-API:et är en HTTP-GET begäran som returnerar aktuell, historisk och framtida tidszonsinformation för angivet IANA-tidszons-ID.

TimeZoneGetTimeZoneByIDDefaultResponse

Get Timezone By ID-API:et är en HTTP-GET begäran som returnerar aktuell, historisk och framtida tidszonsinformation för angivet IANA-tidszons-ID.

TimeZoneGetTimeZoneByIDHeaderParam
TimeZoneGetTimeZoneByIDHeaders
TimeZoneGetTimeZoneByIDQueryParam
TimeZoneGetTimeZoneByIDQueryParamProperties
TimeZoneGetWindowsTimezoneIds200Response

Get Windows Time Zones-API:et är en HTTP-GET begäran som returnerar en fullständig lista över Windows tidszons-ID:n.

TimeZoneGetWindowsTimezoneIdsDefaultResponse

Get Windows Time Zones-API:et är en HTTP-GET begäran som returnerar en fullständig lista över Windows tidszons-ID:n.

TimeZoneIanaVersionResultOutput

Det här objektet returneras från ett lyckat Timezone IANA-versionsanrop

TimeZoneIdOutput
TimeZoneNamesOutput

Objekt för tidszonsnamn.

TimeZoneResultOutput

Det här objektet returneras från ett lyckat tidszons-ID-anrop eller anrop av koordinater

WindowsTimeZoneOutput

Typalias

MapsTimeZoneClient
TimeZoneConvertWindowsTimezoneToIanaParameters
TimeZoneGetIanaTimezoneIdsParameters
TimeZoneGetIanaVersionParameters
TimeZoneGetTimeZoneByCoordinatesParameters
TimeZoneGetTimeZoneByIDParameters
TimeZoneGetWindowsTimezoneIdsParameters

Funktioner

default(AzureKeyCredential, ClientOptions)

Skapar en instans av MapsTimeZoneClient från en prenumerationsnyckel.

Exempel

import MapsTimeZone from "@azure-rest/maps-timezone";

const credential = new AzureKeyCredential("<subscription-key>");
const client = MapsTimeZone(credential);
default(TokenCredential, string, ClientOptions)

Skapar en instans av MapsTimeZone från en Azure Identity-TokenCredential.

Exempel

import MapsTimeZoneClient from "@azure-rest/maps-timezone";
import { DefaultAzureCredential } from "@azure/identity";

const credential = new DefaultAzureCredential();
const client = MapsTimeZone(credential, "<maps-account-client-id>");
default(AzureSASCredential, ClientOptions)

Skapar en instans av MapsTimeZone från en Azure Identity-AzureSASCredential.

Exempel

import MapsTimeZone from "@azure-rest/maps-timezone";
import { AzureSASCredential } from "@azure/core-auth";

const credential = new AzureSASCredential("<SAS Token>");
const client = MapsTimeZone(credential);
isUnexpected(TimeZoneGetTimeZoneByID200Response | TimeZoneGetTimeZoneByIDDefaultResponse)
isUnexpected(TimeZoneGetTimeZoneByCoordinates200Response | TimeZoneGetTimeZoneByCoordinatesDefaultResponse)
isUnexpected(TimeZoneGetWindowsTimezoneIds200Response | TimeZoneGetWindowsTimezoneIdsDefaultResponse)
isUnexpected(TimeZoneGetIanaTimezoneIds200Response | TimeZoneGetIanaTimezoneIdsDefaultResponse)
isUnexpected(TimeZoneGetIanaVersion200Response | TimeZoneGetIanaVersionDefaultResponse)
isUnexpected(TimeZoneConvertWindowsTimezoneToIana200Response | TimeZoneConvertWindowsTimezoneToIanaDefaultResponse)

Funktionsinformation

default(AzureKeyCredential, ClientOptions)

Skapar en instans av MapsTimeZoneClient från en prenumerationsnyckel.

Exempel

import MapsTimeZone from "@azure-rest/maps-timezone";

const credential = new AzureKeyCredential("<subscription-key>");
const client = MapsTimeZone(credential);
function default(credential: AzureKeyCredential, options?: ClientOptions): MapsTimeZoneClient

Parametrar

credential
AzureKeyCredential

En AzureKeyCredential-instans som används för att autentisera begäranden till tjänsten

options
ClientOptions

Alternativ som används för att konfigurera TimeZone-klienten

Returer

default(TokenCredential, string, ClientOptions)

Skapar en instans av MapsTimeZone från en Azure Identity-TokenCredential.

Exempel

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

Parametrar

credential
TokenCredential

En TokenCredential-instans som används för att autentisera begäranden till tjänsten

mapsAccountClientId

string

Azure Maps-klient-ID för en specifik kartresurs

options
ClientOptions

Alternativ som används för att konfigurera TimeZone-klienten

Returer

default(AzureSASCredential, ClientOptions)

Skapar en instans av MapsTimeZone från en Azure Identity-AzureSASCredential.

Exempel

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

Parametrar

credential
AzureSASCredential

En AzureSASCredential-instans som används för att autentisera begäranden till tjänsten

options
ClientOptions

Alternativ som används för att konfigurera TimeZone-klienten

Returer

isUnexpected(TimeZoneGetTimeZoneByID200Response | TimeZoneGetTimeZoneByIDDefaultResponse)

function isUnexpected(response: TimeZoneGetTimeZoneByID200Response | TimeZoneGetTimeZoneByIDDefaultResponse): response

Parametrar

Returer

response

isUnexpected(TimeZoneGetTimeZoneByCoordinates200Response | TimeZoneGetTimeZoneByCoordinatesDefaultResponse)

function isUnexpected(response: TimeZoneGetTimeZoneByCoordinates200Response | TimeZoneGetTimeZoneByCoordinatesDefaultResponse): response

Parametrar

Returer

response

isUnexpected(TimeZoneGetWindowsTimezoneIds200Response | TimeZoneGetWindowsTimezoneIdsDefaultResponse)

function isUnexpected(response: TimeZoneGetWindowsTimezoneIds200Response | TimeZoneGetWindowsTimezoneIdsDefaultResponse): response

Parametrar

Returer

response

isUnexpected(TimeZoneGetIanaTimezoneIds200Response | TimeZoneGetIanaTimezoneIdsDefaultResponse)

function isUnexpected(response: TimeZoneGetIanaTimezoneIds200Response | TimeZoneGetIanaTimezoneIdsDefaultResponse): response

Parametrar

Returer

response

isUnexpected(TimeZoneGetIanaVersion200Response | TimeZoneGetIanaVersionDefaultResponse)

function isUnexpected(response: TimeZoneGetIanaVersion200Response | TimeZoneGetIanaVersionDefaultResponse): response

Parametrar

Returer

response

isUnexpected(TimeZoneConvertWindowsTimezoneToIana200Response | TimeZoneConvertWindowsTimezoneToIanaDefaultResponse)

function isUnexpected(response: TimeZoneConvertWindowsTimezoneToIana200Response | TimeZoneConvertWindowsTimezoneToIanaDefaultResponse): response

Parametrar

Returer

response