Condividi tramite


ApiIssueComment interface

Interfaccia che rappresenta un'apiIssueComment.

Metodi

createOrUpdate(string, string, string, string, string, IssueCommentContract, ApiIssueCommentCreateOrUpdateOptionalParams)

Crea un nuovo commento per il problema in un'API o aggiorna uno esistente.

delete(string, string, string, string, string, string, ApiIssueCommentDeleteOptionalParams)

Elimina il commento specificato da un problema.

get(string, string, string, string, string, ApiIssueCommentGetOptionalParams)

Ottiene i dettagli del commento del problema per un'API specificata dall'identificatore.

getEntityTag(string, string, string, string, string, ApiIssueCommentGetEntityTagOptionalParams)

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

listByService(string, string, string, string, ApiIssueCommentListByServiceOptionalParams)

Elenca tutti i commenti per il problema associato all'API specificata.

Dettagli metodo

createOrUpdate(string, string, string, string, string, IssueCommentContract, ApiIssueCommentCreateOrUpdateOptionalParams)

Crea un nuovo commento per il problema in un'API o aggiorna uno esistente.

function createOrUpdate(resourceGroupName: string, serviceName: string, apiId: string, issueId: string, commentId: string, parameters: IssueCommentContract, options?: ApiIssueCommentCreateOrUpdateOptionalParams): Promise<ApiIssueCommentCreateOrUpdateResponse>

Parametri

resourceGroupName

string

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

serviceName

string

Nome del servizio Gestione API.

apiId

string

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

issueId

string

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

commentId

string

Identificatore di commento all'interno di un problema. Deve essere univoco nel problema corrente.

parameters
IssueCommentContract

Creare parametri.

options
ApiIssueCommentCreateOrUpdateOptionalParams

Parametri delle opzioni.

Restituisce

delete(string, string, string, string, string, string, ApiIssueCommentDeleteOptionalParams)

Elimina il commento specificato da un problema.

function delete(resourceGroupName: string, serviceName: string, apiId: string, issueId: string, commentId: string, ifMatch: string, options?: ApiIssueCommentDeleteOptionalParams): 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 Gestione API.

apiId

string

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

issueId

string

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

commentId

string

Identificatore di commento all'interno di un problema. Deve essere univoco nel problema corrente.

ifMatch

string

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

options
ApiIssueCommentDeleteOptionalParams

Parametri delle opzioni.

Restituisce

Promise<void>

get(string, string, string, string, string, ApiIssueCommentGetOptionalParams)

Ottiene i dettagli del commento del problema per un'API specificata dall'identificatore.

function get(resourceGroupName: string, serviceName: string, apiId: string, issueId: string, commentId: string, options?: ApiIssueCommentGetOptionalParams): Promise<ApiIssueCommentGetResponse>

Parametri

resourceGroupName

string

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

serviceName

string

Nome del servizio Gestione API.

apiId

string

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

issueId

string

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

commentId

string

Identificatore di commento all'interno di un problema. Deve essere univoco nel problema corrente.

options
ApiIssueCommentGetOptionalParams

Parametri delle opzioni.

Restituisce

getEntityTag(string, string, string, string, string, ApiIssueCommentGetEntityTagOptionalParams)

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

function getEntityTag(resourceGroupName: string, serviceName: string, apiId: string, issueId: string, commentId: string, options?: ApiIssueCommentGetEntityTagOptionalParams): Promise<ApiIssueCommentGetEntityTagHeaders>

Parametri

resourceGroupName

string

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

serviceName

string

Nome del servizio Gestione API.

apiId

string

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

issueId

string

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

commentId

string

Identificatore di commento all'interno di un problema. Deve essere univoco nel problema corrente.

options
ApiIssueCommentGetEntityTagOptionalParams

Parametri delle opzioni.

Restituisce

listByService(string, string, string, string, ApiIssueCommentListByServiceOptionalParams)

Elenca tutti i commenti per il problema associato all'API specificata.

function listByService(resourceGroupName: string, serviceName: string, apiId: string, issueId: string, options?: ApiIssueCommentListByServiceOptionalParams): PagedAsyncIterableIterator<IssueCommentContract, IssueCommentContract[], 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 Gestione API.

apiId

string

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

issueId

string

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

options
ApiIssueCommentListByServiceOptionalParams

Parametri delle opzioni.

Restituisce