MetricSettingOperationsExtensions.CreateOrUpdateAsync Method (IMetricSettingOperations, MetricSettingsPutParameters)
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)
<ExtensionAttribute> Public Shared Function CreateOrUpdateAsync ( operations As IMetricSettingOperations, parameters As MetricSettingsPutParameters ) As Task(Of AzureOperationResponse)
Parameters
- operations
-
Type:
Microsoft.WindowsAzure.Management.Monitoring.Metrics.IMetricSettingOperations
Reference to the Microsoft.WindowsAzure.Management.Monitoring.Metrics.IMetricSettingOperations.
- parameters
-
Type:
Microsoft.WindowsAzure.Management.Monitoring.Metrics.Models.MetricSettingsPutParameters
Required. Metric settings to be created or updated.
Return Value
Type: System.Threading.Tasks.Task(Of AzureOperationResponse)A standard service response including an HTTP status code and request ID.
Show: