Freigeben über


@azure-rest/maps-timezone package

Schnittstellen

ConvertWindowsTimezoneToIana
CountryRecordOutput

Ein Länder-/Regionsdatensatz.

ErrorAdditionalInfoOutput

Der Ressourcenverwaltungsfehler zusätzliche Informationen.

ErrorDetailOutput

Das Fehlerdetails.

ErrorResponseOutput

Häufige Fehlerantwort für alle Azure Resource Manager-APIs, um Fehlerdetails für fehlgeschlagene Vorgänge zurückzugeben. (Dies folgt auch dem OData-Fehlerantwortformat.)

GetIanaTimezoneIds
GetIanaVersion
GetTimeZoneByCoordinates
GetTimeZoneByID
GetWindowsTimezoneIds
IanaIdOutput
MapsTimeZoneClientOptions

Die optionalen Parameter für den Client

ReferenceTimeOutput

Details, die zur Ortszeit wirksam sind.

RepresentativePointOutput

Repräsentative Point-Eigenschaft

Routes
TimeTransitionOutput
TimeZoneConvertWindowsTimezoneToIana200Response

Die Get Windows to IANA Time Zone-API ist eine HTTP-GET Anforderung, die eine entsprechende IANA-ID (Internet Assigned Numbers Authority) mit einer gültigen Windows-Zeitzonen-ID zurückgibt. Für eine einzelne Windows-ID können mehrere IANA-IDs zurückgegeben werden. Es ist möglich, diese Ergebnisse durch Hinzufügen eines optionalen Gebietsparameters einzugrenzen.

TimeZoneConvertWindowsTimezoneToIanaDefaultResponse

Die Get Windows to IANA Time Zone-API ist eine HTTP-GET Anforderung, die eine entsprechende IANA-ID (Internet Assigned Numbers Authority) mit einer gültigen Windows-Zeitzonen-ID zurückgibt. Für eine einzelne Windows-ID können mehrere IANA-IDs zurückgegeben werden. Es ist möglich, diese Ergebnisse durch Hinzufügen eines optionalen Gebietsparameters einzugrenzen.

TimeZoneConvertWindowsTimezoneToIanaQueryParam
TimeZoneConvertWindowsTimezoneToIanaQueryParamProperties
TimeZoneGetIanaTimezoneIds200Response

Die Get IANA Time Zones-API ist eine HTTP-GET Anforderung, die eine vollständige Liste der Zeitzonen-IDs (Internet Assigned Numbers Authority, IANA) zurückgibt. Updates für den IANA-Dienst werden innerhalb eines Tages im System widerzuspiegeln.

TimeZoneGetIanaTimezoneIdsDefaultResponse

Die Get IANA Time Zones-API ist eine HTTP-GET Anforderung, die eine vollständige Liste der Zeitzonen-IDs (Internet Assigned Numbers Authority, IANA) zurückgibt. Updates für den IANA-Dienst werden innerhalb eines Tages im System widerzuspiegeln.

TimeZoneGetIanaVersion200Response

Die Get Time Zone IANA Version-API ist eine HTTP-GET Anforderung, die die aktuelle Versionsnummer der Internet Assigned Numbers Authority (IANA) als Metadaten zurückgibt.

TimeZoneGetIanaVersionDefaultResponse

Die Get Time Zone IANA Version-API ist eine HTTP-GET Anforderung, die die aktuelle Versionsnummer der Internet Assigned Numbers Authority (IANA) als Metadaten zurückgibt.

TimeZoneGetTimeZoneByCoordinates200Response

Die Get Timezone By Coordinates-API ist eine HTTP-GET-Anforderung, die aktuelle, historische und zukünftige Zeitzoneninformationen für ein angegebenes Breiten-Längen-Längengrad-Paar zurückgibt. Darüber hinaus bietet die API Sonnenuntergangs- und Sonnenaufgangszeiten für einen bestimmten Ort, mit Ausnahme von Regionen, die Sonnentage beobachten.

TimeZoneGetTimeZoneByCoordinatesDefaultResponse

Die Get Timezone By Coordinates-API ist eine HTTP-GET-Anforderung, die aktuelle, historische und zukünftige Zeitzoneninformationen für ein angegebenes Breiten-Längen-Längengrad-Paar zurückgibt. Darüber hinaus bietet die API Sonnenuntergangs- und Sonnenaufgangszeiten für einen bestimmten Ort, mit Ausnahme von Regionen, die Sonnentage beobachten.

TimeZoneGetTimeZoneByCoordinatesHeaderParam
TimeZoneGetTimeZoneByCoordinatesHeaders
TimeZoneGetTimeZoneByCoordinatesQueryParam
TimeZoneGetTimeZoneByCoordinatesQueryParamProperties
TimeZoneGetTimeZoneByID200Response

Die Get Timezone By ID-API ist eine HTTP-GET Anforderung, die aktuelle, historische und zukünftige Zeitzoneninformationen für die angegebene IANA-Zeitzonen-ID zurückgibt.

TimeZoneGetTimeZoneByIDDefaultResponse

Die Get Timezone By ID-API ist eine HTTP-GET Anforderung, die aktuelle, historische und zukünftige Zeitzoneninformationen für die angegebene IANA-Zeitzonen-ID zurückgibt.

TimeZoneGetTimeZoneByIDHeaderParam
TimeZoneGetTimeZoneByIDHeaders
TimeZoneGetTimeZoneByIDQueryParam
TimeZoneGetTimeZoneByIDQueryParamProperties
TimeZoneGetWindowsTimezoneIds200Response

Die Get Windows Time Zones-API ist eine HTTP-GET Anforderung, die eine vollständige Liste der Windows-Zeitzonen-IDs zurückgibt.

TimeZoneGetWindowsTimezoneIdsDefaultResponse

Die Get Windows Time Zones-API ist eine HTTP-GET Anforderung, die eine vollständige Liste der Windows-Zeitzonen-IDs zurückgibt.

TimeZoneIanaVersionResultOutput

Dieses Objekt wird von einem erfolgreichen Timezone IANA Version-Aufruf zurückgegeben.

TimeZoneIdOutput
TimeZoneNamesOutput

Objekt für Zeitzonennamen.

TimeZoneResultOutput

Dieses Objekt wird von einem erfolgreichen Timezone By ID-Aufruf oder von Koordinatenaufruf zurückgegeben.

WindowsTimeZoneOutput

Typaliase

MapsTimeZoneClient
TimeZoneConvertWindowsTimezoneToIanaParameters
TimeZoneGetIanaTimezoneIdsParameters
TimeZoneGetIanaVersionParameters
TimeZoneGetTimeZoneByCoordinatesParameters
TimeZoneGetTimeZoneByIDParameters
TimeZoneGetWindowsTimezoneIdsParameters

Functions

default(AzureKeyCredential, ClientOptions)

Erstellt eine Instanz von MapsTimeZoneClient aus einem Abonnementschlüssel.

Beispiel

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

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

Erstellt eine Instanz von MapsTimeZone aus einer Azure Identity TokenCredential.

Beispiel

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)

Erstellt eine Instanz von MapsTimeZone aus einer Azure Identity AzureSASCredential.

Beispiel

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)

Details zur Funktion

default(AzureKeyCredential, ClientOptions)

Erstellt eine Instanz von MapsTimeZoneClient aus einem Abonnementschlüssel.

Beispiel

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

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

Parameter

credential
AzureKeyCredential

Eine AzureKeyCredential-Instanz, die zum Authentifizieren von Anforderungen an den Dienst verwendet wird

options
ClientOptions

Optionen zum Konfigurieren des TimeZone-Clients

Gibt zurück

default(TokenCredential, string, ClientOptions)

Erstellt eine Instanz von MapsTimeZone aus einer Azure Identity TokenCredential.

Beispiel

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

Parameter

credential
TokenCredential

Eine TokenCredential-Instanz, die zum Authentifizieren von Anforderungen an den Dienst verwendet wird

mapsAccountClientId

string

Die Azure Maps-Client-ID einer bestimmten Kartenressource

options
ClientOptions

Optionen zum Konfigurieren des TimeZone-Clients

Gibt zurück

default(AzureSASCredential, ClientOptions)

Erstellt eine Instanz von MapsTimeZone aus einer Azure Identity AzureSASCredential.

Beispiel

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

Parameter

credential
AzureSASCredential

Eine AzureSASCredential-Instanz, die zum Authentifizieren von Anforderungen an den Dienst verwendet wird

options
ClientOptions

Optionen zum Konfigurieren des TimeZone-Clients

Gibt zurück

isUnexpected(TimeZoneGetTimeZoneByID200Response | TimeZoneGetTimeZoneByIDDefaultResponse)

function isUnexpected(response: TimeZoneGetTimeZoneByID200Response | TimeZoneGetTimeZoneByIDDefaultResponse): response

Parameter

Gibt zurück

response

isUnexpected(TimeZoneGetTimeZoneByCoordinates200Response | TimeZoneGetTimeZoneByCoordinatesDefaultResponse)

function isUnexpected(response: TimeZoneGetTimeZoneByCoordinates200Response | TimeZoneGetTimeZoneByCoordinatesDefaultResponse): response

Parameter

Gibt zurück

response

isUnexpected(TimeZoneGetWindowsTimezoneIds200Response | TimeZoneGetWindowsTimezoneIdsDefaultResponse)

function isUnexpected(response: TimeZoneGetWindowsTimezoneIds200Response | TimeZoneGetWindowsTimezoneIdsDefaultResponse): response

Parameter

Gibt zurück

response

isUnexpected(TimeZoneGetIanaTimezoneIds200Response | TimeZoneGetIanaTimezoneIdsDefaultResponse)

function isUnexpected(response: TimeZoneGetIanaTimezoneIds200Response | TimeZoneGetIanaTimezoneIdsDefaultResponse): response

Parameter

Gibt zurück

response

isUnexpected(TimeZoneGetIanaVersion200Response | TimeZoneGetIanaVersionDefaultResponse)

function isUnexpected(response: TimeZoneGetIanaVersion200Response | TimeZoneGetIanaVersionDefaultResponse): response

Parameter

Gibt zurück

response

isUnexpected(TimeZoneConvertWindowsTimezoneToIana200Response | TimeZoneConvertWindowsTimezoneToIanaDefaultResponse)

function isUnexpected(response: TimeZoneConvertWindowsTimezoneToIana200Response | TimeZoneConvertWindowsTimezoneToIanaDefaultResponse): response

Parameter

Gibt zurück

response