你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

ApiManagementUserResource.Delete 方法

定义

删除特定的用户。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/users/{userId}
  • 操作IdUser_Delete
public virtual Azure.ResourceManager.ArmOperation Delete (Azure.WaitUntil waitUntil, Azure.ETag ifMatch, bool? deleteSubscriptions = default, bool? notify = default, Azure.ResourceManager.ApiManagement.Models.AppType? appType = default, System.Threading.CancellationToken cancellationToken = default);
abstract member Delete : Azure.WaitUntil * Azure.ETag * Nullable<bool> * Nullable<bool> * Nullable<Azure.ResourceManager.ApiManagement.Models.AppType> * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation
override this.Delete : Azure.WaitUntil * Azure.ETag * Nullable<bool> * Nullable<bool> * Nullable<Azure.ResourceManager.ApiManagement.Models.AppType> * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation
Public Overridable Function Delete (waitUntil As WaitUntil, ifMatch As ETag, Optional deleteSubscriptions As Nullable(Of Boolean) = Nothing, Optional notify As Nullable(Of Boolean) = Nothing, Optional appType As Nullable(Of AppType) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As ArmOperation

参数

waitUntil
WaitUntil

Completed 如果方法应等待返回,直到服务上长时间运行的操作完成; Started 如果它应在启动操作后返回,则为 。 有关长时间运行的操作的详细信息,请参阅 Azure.Core Long-Running 操作示例

ifMatch
ETag

实体的 ETag。 ETag 应与 GET 请求标头响应中的当前实体状态匹配,或者对于无条件更新,ETag 应为 *。

deleteSubscriptions
Nullable<Boolean>

是否删除用户的订阅。

notify
Nullable<Boolean>

向用户发送帐户关闭Email通知。

appType
Nullable<AppType>

确定发送创建用户请求的应用程序的类型。 默认值为旧版发布者门户。

cancellationToken
CancellationToken

要使用的取消标记。

返回

适用于