IRuleOperations.CreateOrUpdateAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
public System.Threading.Tasks.Task<Microsoft.Azure.AzureOperationResponse> CreateOrUpdateAsync (Microsoft.WindowsAzure.Management.Monitoring.Alerts.Models.RuleCreateOrUpdateParameters parameters, System.Threading.CancellationToken cancellationToken);
abstract member CreateOrUpdateAsync : Microsoft.WindowsAzure.Management.Monitoring.Alerts.Models.RuleCreateOrUpdateParameters * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.AzureOperationResponse>
Public Function CreateOrUpdateAsync (parameters As RuleCreateOrUpdateParameters, cancellationToken As CancellationToken) As Task(Of AzureOperationResponse)
Parameters
- parameters
- RuleCreateOrUpdateParameters
The rule to create or update.
- cancellationToken
- CancellationToken
Cancellation token.
Returns
Task<Microsoft.Azure.AzureOperationResponse>
A standard service response including an HTTP status code and request ID.