Condividi tramite


TagProductLink interface

Interfaccia che rappresenta un TagProductLink.

Metodi

createOrUpdate(string, string, string, string, TagProductLinkContract, TagProductLinkCreateOrUpdateOptionalParams)

Aggiunge un prodotto al tag specificato tramite collegamento.

delete(string, string, string, string, TagProductLinkDeleteOptionalParams)

Elimina il prodotto specificato dal tag specificato.

get(string, string, string, string, TagProductLinkGetOptionalParams)

Ottiene il collegamento al prodotto per il tag.

listByProduct(string, string, string, TagProductLinkListByProductOptionalParams)

Elenca una raccolta dei collegamenti di prodotto associati a un tag.

Dettagli metodo

Aggiunge un prodotto al tag specificato tramite collegamento.

function createOrUpdate(resourceGroupName: string, serviceName: string, tagId: string, productLinkId: string, parameters: TagProductLinkContract, options?: TagProductLinkCreateOrUpdateOptionalParams): Promise<TagProductLinkContract>

Parametri

resourceGroupName

string

Nome del gruppo di risorse. Il nome è insensibile alle maiuscole e minuscole.

serviceName

string

Nome del servizio Gestione API.

tagId

string

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

productLinkId

string

Identificatore del collegamento tag-prodotto. Deve essere univoco nell'istanza corrente del servizio Gestione API.

parameters
TagProductLinkContract

Creare o aggiornare i parametri.

options
TagProductLinkCreateOrUpdateOptionalParams

Parametri delle opzioni.

Restituisce

Elimina il prodotto specificato dal tag specificato.

function delete(resourceGroupName: string, serviceName: string, tagId: string, productLinkId: string, options?: TagProductLinkDeleteOptionalParams): Promise<void>

Parametri

resourceGroupName

string

Nome del gruppo di risorse. Il nome è insensibile alle maiuscole e minuscole.

serviceName

string

Nome del servizio Gestione API.

tagId

string

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

productLinkId

string

Identificatore del collegamento tag-prodotto. Deve essere univoco nell'istanza corrente del servizio Gestione API.

options
TagProductLinkDeleteOptionalParams

Parametri delle opzioni.

Restituisce

Promise<void>

Ottiene il collegamento al prodotto per il tag.

function get(resourceGroupName: string, serviceName: string, tagId: string, productLinkId: string, options?: TagProductLinkGetOptionalParams): Promise<TagProductLinkGetResponse>

Parametri

resourceGroupName

string

Nome del gruppo di risorse. Il nome è insensibile alle maiuscole e minuscole.

serviceName

string

Nome del servizio Gestione API.

tagId

string

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

productLinkId

string

Identificatore del collegamento tag-prodotto. Deve essere univoco nell'istanza corrente del servizio Gestione API.

options
TagProductLinkGetOptionalParams

Parametri delle opzioni.

Restituisce

Elenca una raccolta dei collegamenti di prodotto associati a un tag.

function listByProduct(resourceGroupName: string, serviceName: string, tagId: string, options?: TagProductLinkListByProductOptionalParams): PagedAsyncIterableIterator<TagProductLinkContract, TagProductLinkContract[], PageSettings>

Parametri

resourceGroupName

string

Nome del gruppo di risorse. Il nome è insensibile alle maiuscole e minuscole.

serviceName

string

Nome del servizio Gestione API.

tagId

string

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

options
TagProductLinkListByProductOptionalParams

Parametri delle opzioni.

Restituisce