Condividi tramite


ApiIssue interface

Interfaccia che rappresenta un oggetto ApiIssue.

Metodi

createOrUpdate(string, string, string, string, IssueContract, ApiIssueCreateOrUpdateOptionalParams)

Crea un nuovo problema per un'API o ne aggiorna uno esistente.

delete(string, string, string, string, string, ApiIssueDeleteOptionalParams)

Elimina il problema specificato da un'API.

get(string, string, string, string, ApiIssueGetOptionalParams)

Ottiene i dettagli del problema per un'API specificata dal relativo identificatore.

getEntityTag(string, string, string, string, ApiIssueGetEntityTagOptionalParams)

Ottiene la versione dello stato dell'entità (Etag) del problema per un'API specificata dal relativo identificatore.

listByService(string, string, string, ApiIssueListByServiceOptionalParams)

Elenca tutti i problemi associati all'API specificata.

update(string, string, string, string, string, IssueUpdateContract, ApiIssueUpdateOptionalParams)

Aggiornamenti un problema esistente per un'API.

Dettagli metodo

createOrUpdate(string, string, string, string, IssueContract, ApiIssueCreateOrUpdateOptionalParams)

Crea un nuovo problema per un'API o ne aggiorna uno esistente.

function createOrUpdate(resourceGroupName: string, serviceName: string, apiId: string, issueId: string, parameters: IssueContract, options?: ApiIssueCreateOrUpdateOptionalParams): Promise<ApiIssueCreateOrUpdateResponse>

Parametri

resourceGroupName

string

Nome del gruppo di risorse. Per il nome non viene fatta distinzione tra maiuscole e minuscole.

serviceName

string

Nome del servizio di Gestione API.

apiId

string

Identificatore API. Deve essere univoco nell'istanza corrente del servizio di Gestione API.

issueId

string

Identificatore del problema. Deve essere univoco nell'istanza corrente del servizio di Gestione API.

parameters
IssueContract

Creare parametri.

options
ApiIssueCreateOrUpdateOptionalParams

Parametri delle opzioni.

Restituisce

delete(string, string, string, string, string, ApiIssueDeleteOptionalParams)

Elimina il problema specificato da un'API.

function delete(resourceGroupName: string, serviceName: string, apiId: string, issueId: string, ifMatch: string, options?: ApiIssueDeleteOptionalParams): Promise<void>

Parametri

resourceGroupName

string

Nome del gruppo di risorse. Per il nome non viene fatta distinzione tra maiuscole e minuscole.

serviceName

string

Nome del servizio di Gestione API.

apiId

string

Identificatore API. Deve essere univoco nell'istanza corrente del servizio di Gestione API.

issueId

string

Identificatore del problema. Deve essere univoco nell'istanza corrente del servizio di Gestione API.

ifMatch

string

ETag dell'entità. ETag deve corrispondere allo stato corrente dell'entità dalla risposta di intestazione della richiesta GET oppure deve essere * per l'aggiornamento incondizionato.

options
ApiIssueDeleteOptionalParams

Parametri delle opzioni.

Restituisce

Promise<void>

get(string, string, string, string, ApiIssueGetOptionalParams)

Ottiene i dettagli del problema per un'API specificata dal relativo identificatore.

function get(resourceGroupName: string, serviceName: string, apiId: string, issueId: string, options?: ApiIssueGetOptionalParams): Promise<ApiIssueGetResponse>

Parametri

resourceGroupName

string

Nome del gruppo di risorse. Per il nome non viene fatta distinzione tra maiuscole e minuscole.

serviceName

string

Nome del servizio di Gestione API.

apiId

string

Identificatore API. Deve essere univoco nell'istanza corrente del servizio di Gestione API.

issueId

string

Identificatore del problema. Deve essere univoco nell'istanza corrente del servizio di Gestione API.

options
ApiIssueGetOptionalParams

Parametri delle opzioni.

Restituisce

getEntityTag(string, string, string, string, ApiIssueGetEntityTagOptionalParams)

Ottiene la versione dello stato dell'entità (Etag) del problema per un'API specificata dal relativo identificatore.

function getEntityTag(resourceGroupName: string, serviceName: string, apiId: string, issueId: string, options?: ApiIssueGetEntityTagOptionalParams): Promise<ApiIssueGetEntityTagHeaders>

Parametri

resourceGroupName

string

Nome del gruppo di risorse. Per il nome non viene fatta distinzione tra maiuscole e minuscole.

serviceName

string

Nome del servizio di Gestione API.

apiId

string

Identificatore API. Deve essere univoco nell'istanza corrente del servizio di Gestione API.

issueId

string

Identificatore del problema. Deve essere univoco nell'istanza corrente del servizio di Gestione API.

options
ApiIssueGetEntityTagOptionalParams

Parametri delle opzioni.

Restituisce

listByService(string, string, string, ApiIssueListByServiceOptionalParams)

Elenca tutti i problemi associati all'API specificata.

function listByService(resourceGroupName: string, serviceName: string, apiId: string, options?: ApiIssueListByServiceOptionalParams): PagedAsyncIterableIterator<IssueContract, IssueContract[], PageSettings>

Parametri

resourceGroupName

string

Nome del gruppo di risorse. Per il nome non viene fatta distinzione tra maiuscole e minuscole.

serviceName

string

Nome del servizio di Gestione API.

apiId

string

Identificatore API. Deve essere univoco nell'istanza corrente del servizio di Gestione API.

options
ApiIssueListByServiceOptionalParams

Parametri delle opzioni.

Restituisce

update(string, string, string, string, string, IssueUpdateContract, ApiIssueUpdateOptionalParams)

Aggiornamenti un problema esistente per un'API.

function update(resourceGroupName: string, serviceName: string, apiId: string, issueId: string, ifMatch: string, parameters: IssueUpdateContract, options?: ApiIssueUpdateOptionalParams): Promise<ApiIssueUpdateResponse>

Parametri

resourceGroupName

string

Nome del gruppo di risorse. Per il nome non viene fatta distinzione tra maiuscole e minuscole.

serviceName

string

Nome del servizio di Gestione API.

apiId

string

Identificatore API. Deve essere univoco nell'istanza corrente del servizio di Gestione API.

issueId

string

Identificatore del problema. Deve essere univoco nell'istanza corrente del servizio di Gestione API.

ifMatch

string

ETag dell'entità. ETag deve corrispondere allo stato corrente dell'entità dalla risposta di intestazione della richiesta GET oppure deve essere * per l'aggiornamento incondizionato.

parameters
IssueUpdateContract

Aggiornare i parametri.

options
ApiIssueUpdateOptionalParams

Parametri delle opzioni.

Restituisce