@azure-rest/maps-timezone package

Interfacce

ConvertWindowsTimezoneToIana
CountryRecordOutput

Record di paese/area geografica.

ErrorAdditionalInfoOutput

Informazioni aggiuntive sull'errore di gestione delle risorse.

ErrorDetailOutput

Dettagli dell'errore.

ErrorResponseOutput

Risposta di errore comune per tutte le API di Azure Resource Manager per restituire i dettagli dell'errore per le operazioni non riuscite. Questo segue anche il formato di risposta di errore OData.

GetIanaTimezoneIds
GetIanaVersion
GetTimeZoneByCoordinates
GetTimeZoneByID
GetWindowsTimezoneIds
IanaIdOutput
MapsTimeZoneClientOptions

Parametri facoltativi per il client

ReferenceTimeOutput

Dettagli in vigore all'ora locale.

RepresentativePointOutput

Proprietà punto rappresentativo

Routes
TimeTransitionOutput
TimeZoneConvertWindowsTimezoneToIana200Response

L'API Get Windows to IANA Time Zone è una richiesta http GET che restituisce un ID IANA (Internet Assigned Numbers Authority), dato un ID di fuso orario di Windows valido. È possibile che vengano restituiti più ID IANA per un singolo ID Windows. È possibile limitare questi risultati aggiungendo un parametro territory facoltativo.

TimeZoneConvertWindowsTimezoneToIanaDefaultResponse

L'API Get Windows to IANA Time Zone è una richiesta http GET che restituisce un ID IANA (Internet Assigned Numbers Authority), dato un ID di fuso orario di Windows valido. È possibile che vengano restituiti più ID IANA per un singolo ID Windows. È possibile limitare questi risultati aggiungendo un parametro territory facoltativo.

TimeZoneConvertWindowsTimezoneToIanaQueryParam
TimeZoneConvertWindowsTimezoneToIanaQueryParamProperties
TimeZoneGetIanaTimezoneIds200Response

L'API Get IANA Time Zones è una richiesta HTTP GET che restituisce un elenco completo di ID di fuso orario IANA (Internet Assigned Numbers Authority). Gli aggiornamenti al servizio IANA si riflettono nel sistema entro un giorno.

TimeZoneGetIanaTimezoneIdsDefaultResponse

L'API Get IANA Time Zones è una richiesta HTTP GET che restituisce un elenco completo di ID di fuso orario IANA (Internet Assigned Numbers Authority). Gli aggiornamenti al servizio IANA si riflettono nel sistema entro un giorno.

TimeZoneGetIanaVersion200Response

L'API Get Time Zone IANA Version è una richiesta http GET che restituisce il numero di versione IANA (Internet Assigned Numbers Authority) corrente come metadati.

TimeZoneGetIanaVersionDefaultResponse

L'API Get Time Zone IANA Version è una richiesta http GET che restituisce il numero di versione IANA (Internet Assigned Numbers Authority) corrente come metadati.

TimeZoneGetTimeZoneByCoordinates200Response

L'API Get Timezone By Coordinates è una richiesta HTTP GET che restituisce informazioni sul fuso orario correnti, cronologiche e future per una coppia di longitudine di latitudine specificata. Inoltre, l'API fornisce ore di tramonto e alba per una determinata posizione, ad eccezione delle regioni che osservano i giorni solari.

TimeZoneGetTimeZoneByCoordinatesDefaultResponse

L'API Get Timezone By Coordinates è una richiesta HTTP GET che restituisce informazioni sul fuso orario correnti, cronologiche e future per una coppia di longitudine di latitudine specificata. Inoltre, l'API fornisce ore di tramonto e alba per una determinata posizione, ad eccezione delle regioni che osservano i giorni solari.

TimeZoneGetTimeZoneByCoordinatesHeaderParam
TimeZoneGetTimeZoneByCoordinatesHeaders
TimeZoneGetTimeZoneByCoordinatesQueryParam
TimeZoneGetTimeZoneByCoordinatesQueryParamProperties
TimeZoneGetTimeZoneByID200Response

L'API Get Timezone By ID è una richiesta http GET che restituisce informazioni correnti, cronologiche e future sul fuso orario per l'ID del fuso orario IANA specificato.

TimeZoneGetTimeZoneByIDDefaultResponse

L'API Get Timezone By ID è una richiesta http GET che restituisce informazioni correnti, cronologiche e future sul fuso orario per l'ID del fuso orario IANA specificato.

TimeZoneGetTimeZoneByIDHeaderParam
TimeZoneGetTimeZoneByIDHeaders
TimeZoneGetTimeZoneByIDQueryParam
TimeZoneGetTimeZoneByIDQueryParamProperties
TimeZoneGetWindowsTimezoneIds200Response

L'API Get Windows Time Zones è una richiesta http GET che restituisce un elenco completo degli ID fuso orario di Windows.

TimeZoneGetWindowsTimezoneIdsDefaultResponse

L'API Get Windows Time Zones è una richiesta http GET che restituisce un elenco completo degli ID fuso orario di Windows.

TimeZoneIanaVersionResultOutput

Questo oggetto viene restituito da una chiamata IANA Version del fuso orario riuscita

TimeZoneIdOutput
TimeZoneNamesOutput

Oggetto Nomi fuso orario.

TimeZoneResultOutput

Questo oggetto viene restituito da una chiamata di timezone per ID riuscita o da coordinate

WindowsTimeZoneOutput

Alias tipo

MapsTimeZoneClient
TimeZoneConvertWindowsTimezoneToIanaParameters
TimeZoneGetIanaTimezoneIdsParameters
TimeZoneGetIanaVersionParameters
TimeZoneGetTimeZoneByCoordinatesParameters
TimeZoneGetTimeZoneByIDParameters
TimeZoneGetWindowsTimezoneIdsParameters

Funzioni

default(AzureKeyCredential, ClientOptions)

Crea un'istanza di MapsTimeZoneClient da una chiave di sottoscrizione.

esempio di

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

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

Crea un'istanza di MapsTimeZone da un'identità di Azure TokenCredential.

esempio di

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)

Crea un'istanza di MapsTimeZone da un'identità di Azure AzureSASCredential.

esempio di

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)

Dettagli funzione

default(AzureKeyCredential, ClientOptions)

Crea un'istanza di MapsTimeZoneClient da una chiave di sottoscrizione.

esempio di

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

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

Parametri

credential
AzureKeyCredential

Istanza di AzureKeyCredential usata per autenticare le richieste al servizio

options
ClientOptions

Opzioni usate per configurare il client TimeZone

Restituisce

default(TokenCredential, string, ClientOptions)

Crea un'istanza di MapsTimeZone da un'identità di Azure TokenCredential.

esempio di

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

Parametri

credential
TokenCredential

Istanza tokenCredential usata per autenticare le richieste al servizio

mapsAccountClientId

string

ID client di Mappe di Azure di una risorsa mappa specifica

options
ClientOptions

Opzioni usate per configurare il client TimeZone

Restituisce

default(AzureSASCredential, ClientOptions)

Crea un'istanza di MapsTimeZone da un'identità di Azure AzureSASCredential.

esempio di

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

Parametri

credential
AzureSASCredential

Istanza di AzureSASCredential usata per autenticare le richieste al servizio

options
ClientOptions

Opzioni usate per configurare il client TimeZone

Restituisce

isUnexpected(TimeZoneGetTimeZoneByID200Response | TimeZoneGetTimeZoneByIDDefaultResponse)

function isUnexpected(response: TimeZoneGetTimeZoneByID200Response | TimeZoneGetTimeZoneByIDDefaultResponse): response

Parametri

Restituisce

response

isUnexpected(TimeZoneGetTimeZoneByCoordinates200Response | TimeZoneGetTimeZoneByCoordinatesDefaultResponse)

function isUnexpected(response: TimeZoneGetTimeZoneByCoordinates200Response | TimeZoneGetTimeZoneByCoordinatesDefaultResponse): response

Parametri

Restituisce

response

isUnexpected(TimeZoneGetWindowsTimezoneIds200Response | TimeZoneGetWindowsTimezoneIdsDefaultResponse)

function isUnexpected(response: TimeZoneGetWindowsTimezoneIds200Response | TimeZoneGetWindowsTimezoneIdsDefaultResponse): response

Parametri

Restituisce

response

isUnexpected(TimeZoneGetIanaTimezoneIds200Response | TimeZoneGetIanaTimezoneIdsDefaultResponse)

function isUnexpected(response: TimeZoneGetIanaTimezoneIds200Response | TimeZoneGetIanaTimezoneIdsDefaultResponse): response

Parametri

Restituisce

response

isUnexpected(TimeZoneGetIanaVersion200Response | TimeZoneGetIanaVersionDefaultResponse)

function isUnexpected(response: TimeZoneGetIanaVersion200Response | TimeZoneGetIanaVersionDefaultResponse): response

Parametri

Restituisce

response

isUnexpected(TimeZoneConvertWindowsTimezoneToIana200Response | TimeZoneConvertWindowsTimezoneToIanaDefaultResponse)

function isUnexpected(response: TimeZoneConvertWindowsTimezoneToIana200Response | TimeZoneConvertWindowsTimezoneToIanaDefaultResponse): response

Parametri

Restituisce

response