Condividi tramite


ApiIssueAttachment interface

Interfaccia che rappresenta un'apiIssueAttachment.

Metodi

createOrUpdate(string, string, string, string, string, IssueAttachmentContract, ApiIssueAttachmentCreateOrUpdateOptionalParams)

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

delete(string, string, string, string, string, string, ApiIssueAttachmentDeleteOptionalParams)

Elimina il commento specificato da un problema.

get(string, string, string, string, string, ApiIssueAttachmentGetOptionalParams)

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

getEntityTag(string, string, string, string, string, ApiIssueAttachmentGetEntityTagOptionalParams)

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

listByService(string, string, string, string, ApiIssueAttachmentListByServiceOptionalParams)

Elenca tutti gli allegati per il problema associato all'API specificata.

Dettagli metodo

createOrUpdate(string, string, string, string, string, IssueAttachmentContract, ApiIssueAttachmentCreateOrUpdateOptionalParams)

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

function createOrUpdate(resourceGroupName: string, serviceName: string, apiId: string, issueId: string, attachmentId: string, parameters: IssueAttachmentContract, options?: ApiIssueAttachmentCreateOrUpdateOptionalParams): Promise<ApiIssueAttachmentCreateOrUpdateResponse>

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.

attachmentId

string

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

parameters
IssueAttachmentContract

Creare parametri.

options
ApiIssueAttachmentCreateOrUpdateOptionalParams

Parametri delle opzioni.

Restituisce

delete(string, string, string, string, string, string, ApiIssueAttachmentDeleteOptionalParams)

Elimina il commento specificato da un problema.

function delete(resourceGroupName: string, serviceName: string, apiId: string, issueId: string, attachmentId: string, ifMatch: string, options?: ApiIssueAttachmentDeleteOptionalParams): 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.

attachmentId

string

Identificatore di allegato 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
ApiIssueAttachmentDeleteOptionalParams

Parametri delle opzioni.

Restituisce

Promise<void>

get(string, string, string, string, string, ApiIssueAttachmentGetOptionalParams)

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

function get(resourceGroupName: string, serviceName: string, apiId: string, issueId: string, attachmentId: string, options?: ApiIssueAttachmentGetOptionalParams): Promise<ApiIssueAttachmentGetResponse>

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.

attachmentId

string

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

options
ApiIssueAttachmentGetOptionalParams

Parametri delle opzioni.

Restituisce

getEntityTag(string, string, string, string, string, ApiIssueAttachmentGetEntityTagOptionalParams)

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

function getEntityTag(resourceGroupName: string, serviceName: string, apiId: string, issueId: string, attachmentId: string, options?: ApiIssueAttachmentGetEntityTagOptionalParams): Promise<ApiIssueAttachmentGetEntityTagHeaders>

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.

attachmentId

string

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

options
ApiIssueAttachmentGetEntityTagOptionalParams

Parametri delle opzioni.

Restituisce

listByService(string, string, string, string, ApiIssueAttachmentListByServiceOptionalParams)

Elenca tutti gli allegati per il problema associato all'API specificata.

function listByService(resourceGroupName: string, serviceName: string, apiId: string, issueId: string, options?: ApiIssueAttachmentListByServiceOptionalParams): PagedAsyncIterableIterator<IssueAttachmentContract, IssueAttachmentContract[], 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
ApiIssueAttachmentListByServiceOptionalParams

Parametri delle opzioni.

Restituisce