Aracılığıyla paylaş


NetAppVolumeQuotaRuleResource.AddTag Yöntem

Tanım

Geçerli kaynağa etiket ekleyin.

  • İstek Yolu/abonelikler/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/volumeQuotaRules/{volumeQuotaRuleName}
  • İşlem IdVolumeQuotaRules_Get
public virtual Azure.Response<Azure.ResourceManager.NetApp.NetAppVolumeQuotaRuleResource> AddTag (string key, string value, System.Threading.CancellationToken cancellationToken = default);
abstract member AddTag : string * string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.NetApp.NetAppVolumeQuotaRuleResource>
override this.AddTag : string * string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.NetApp.NetAppVolumeQuotaRuleResource>
Public Overridable Function AddTag (key As String, value As String, Optional cancellationToken As CancellationToken = Nothing) As Response(Of NetAppVolumeQuotaRuleResource)

Parametreler

key
String

Etiketin anahtarı.

value
String

Etiketin değeri.

cancellationToken
CancellationToken

Kullanılacak iptal belirteci.

Döndürülenler

Özel durumlar

key veya value null.

Şunlara uygulanır