IMetricSettingOperations.CreateOrUpdateAsync Method (MetricSettingsPutParameters, CancellationToken)
The Put Metric Settings operation creates or updates the metric settings for the resource.
Namespace: Microsoft.WindowsAzure.Management.Monitoring.Metrics
Assembly: Microsoft.WindowsAzure.Management.Monitoring (in Microsoft.WindowsAzure.Management.Monitoring.dll)
Syntax
Task<AzureOperationResponse> CreateOrUpdateAsync(
MetricSettingsPutParameters parameters,
CancellationToken cancellationToken
)
Task<AzureOperationResponse^>^ CreateOrUpdateAsync(
MetricSettingsPutParameters^ parameters,
CancellationToken cancellationToken
)
abstract CreateOrUpdateAsync :
parameters:MetricSettingsPutParameters *
cancellationToken:CancellationToken -> Task<AzureOperationResponse>
Function CreateOrUpdateAsync (
parameters As MetricSettingsPutParameters,
cancellationToken As CancellationToken
) As Task(Of AzureOperationResponse)
Parameters
parameters
Type: Microsoft.WindowsAzure.Management.Monitoring.Metrics.Models.MetricSettingsPutParametersMetric settings to be created or updated.
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
IMetricSettingOperations Interface
Microsoft.WindowsAzure.Management.Monitoring.Metrics Namespace
Return to top