Megosztás a következőn keresztül:


NetAppVolumeQuotaRuleResource.SetTags Metódus

Definíció

Cserélje le az erőforrás címkéinek értékét a megadott készletre.

  • Elérési út/előfizetések/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/volumeQuotaRules/{volumeQuotaRuleName}
  • Művelet IdVolumeQuotaRules_Get
public virtual Azure.Response<Azure.ResourceManager.NetApp.NetAppVolumeQuotaRuleResource> SetTags (System.Collections.Generic.IDictionary<string,string> tags, System.Threading.CancellationToken cancellationToken = default);
abstract member SetTags : System.Collections.Generic.IDictionary<string, string> * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.NetApp.NetAppVolumeQuotaRuleResource>
override this.SetTags : System.Collections.Generic.IDictionary<string, string> * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.NetApp.NetAppVolumeQuotaRuleResource>
Public Overridable Function SetTags (tags As IDictionary(Of String, String), Optional cancellationToken As CancellationToken = Nothing) As Response(Of NetAppVolumeQuotaRuleResource)

Paraméterek

tags
IDictionary<String,String>

A csereként használandó címkék halmaza.

cancellationToken
CancellationToken

A használni kívánt lemondási jogkivonat.

Válaszok

Kivételek

tags értéke null.

A következőre érvényes: