共用方式為


NetAppVolumeQuotaRuleResource.RemoveTagAsync 方法

定義

依索引鍵從資源中移除標記。

  • 要求路徑/訂用帳戶/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volume/{volumeName}/volumeQuotaRules/{volumeQuotaRuleName}
  • 作業IdVolumeQuotaRules_Get
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.NetApp.NetAppVolumeQuotaRuleResource>> RemoveTagAsync (string key, System.Threading.CancellationToken cancellationToken = default);
abstract member RemoveTagAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.NetApp.NetAppVolumeQuotaRuleResource>>
override this.RemoveTagAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.NetApp.NetAppVolumeQuotaRuleResource>>
Public Overridable Function RemoveTagAsync (key As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of NetAppVolumeQuotaRuleResource))

參數

key
String

標記的索引鍵。

cancellationToken
CancellationToken

要使用的取消權杖。

傳回

例外狀況

key 為 null。

適用於