TagProductLink interface
Interfaccia che rappresenta un TagProductLink.
Metodi
| create |
Aggiunge un prodotto al tag specificato tramite collegamento. |
| delete(string, string, string, string, Tag |
Elimina il prodotto specificato dal tag specificato. |
| get(string, string, string, string, Tag |
Ottiene il collegamento al prodotto per il tag. |
| list |
Elenca una raccolta dei collegamenti di prodotto associati a un tag. |
Dettagli metodo
createOrUpdate(string, string, string, string, TagProductLinkContract, TagProductLinkCreateOrUpdateOptionalParams)
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.
Parametri delle opzioni.
Restituisce
Promise<TagProductLinkContract>
delete(string, string, string, string, TagProductLinkDeleteOptionalParams)
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.
Parametri delle opzioni.
Restituisce
Promise<void>
get(string, string, string, string, TagProductLinkGetOptionalParams)
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
Promise<TagProductLinkGetResponse>
listByProduct(string, string, string, TagProductLinkListByProductOptionalParams)
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.
Parametri delle opzioni.