IMetricSettingOperations.CreateOrUpdateAsync Method (MetricSettingsPutParameters, CancellationToken)
The Put Metric Settings operation creates or updates the metric settings for the resource.
Assembly: Microsoft.WindowsAzure.Management.Monitoring (in Microsoft.WindowsAzure.Management.Monitoring.dll)
Task<AzureOperationResponse> CreateOrUpdateAsync( MetricSettingsPutParameters parameters, CancellationToken cancellationToken )
Parameters
- parameters
-
Type:
Microsoft.WindowsAzure.Management.Monitoring.Metrics.Models.MetricSettingsPutParameters
Metric settings to be created or updated.
- cancellationToken
-
Type:
System.Threading.CancellationToken
Cancellation token.
Return Value
Type: System.Threading.Tasks.Task<AzureOperationResponse>A standard service response including an HTTP status code and request ID.
Show: