IRuleOperations.CreateOrUpdateAsync Method (RuleCreateOrUpdateParameters, CancellationToken)
Namespace: Microsoft.WindowsAzure.Management.Monitoring.Alerts
Assembly: Microsoft.WindowsAzure.Management.Monitoring (in Microsoft.WindowsAzure.Management.Monitoring.dll)
Syntax
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)
Parameters
parameters
Type: Microsoft.WindowsAzure.Management.Monitoring.Alerts.Models.RuleCreateOrUpdateParametersThe rule to create or update.
cancellationToken
Type: System.Threading.CancellationTokenCancellation token.
Return Value
Type: System.Threading.Tasks.Task<AzureOperationResponse>
A standard service response including an HTTP status code and request ID.
See Also
IRuleOperations Interface
Microsoft.WindowsAzure.Management.Monitoring.Alerts Namespace
Return to top