IRuleOperations.CreateOrUpdateAsync 方法 (RuleCreateOrUpdateParameters, CancellationToken)

 

命名空间:   Microsoft.WindowsAzure.Management.Monitoring.Alerts
程序集:  Microsoft.WindowsAzure.Management.Monitoring(Microsoft.WindowsAzure.Management.Monitoring.dll 中)

语法

Task<AzureOperationResponse> CreateOrUpdateAsync(
    RuleCreateOrUpdateParameters parameters,
    CancellationToken cancellationToken
)
Task<AzureOperationResponse^>^ CreateOrUpdateAsync(
    RuleCreateOrUpdateParameters^ parameters,
    CancellationToken cancellationToken
)
abstract CreateOrUpdateAsync : 
        parameters:RuleCreateOrUpdateParameters *
        cancellationToken:CancellationToken -> Task<AzureOperationResponse>
Function CreateOrUpdateAsync (
    parameters As RuleCreateOrUpdateParameters,
    cancellationToken As CancellationToken
) As Task(Of AzureOperationResponse)

参数

返回值

Type: System.Threading.Tasks.Task<AzureOperationResponse>

标准服务响应,包括 HTTP 状态代码和请求 ID。

请参阅

IRuleOperations 接口
Microsoft.WindowsAzure.Management.Monitoring.Alerts 命名空间

返回页首