MetricSettingOperationsExtensions.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.
The Put Metric Settings operation creates or updates the metric settings for the resource.
public static System.Threading.Tasks.Task<Microsoft.Azure.AzureOperationResponse> CreateOrUpdateAsync (this Microsoft.WindowsAzure.Management.Monitoring.Metrics.IMetricSettingOperations operations, Microsoft.WindowsAzure.Management.Monitoring.Metrics.Models.MetricSettingsPutParameters parameters);
static member CreateOrUpdateAsync : Microsoft.WindowsAzure.Management.Monitoring.Metrics.IMetricSettingOperations * Microsoft.WindowsAzure.Management.Monitoring.Metrics.Models.MetricSettingsPutParameters -> System.Threading.Tasks.Task<Microsoft.Azure.AzureOperationResponse>
<Extension()>
Public Function CreateOrUpdateAsync (operations As IMetricSettingOperations, parameters As MetricSettingsPutParameters) As Task(Of AzureOperationResponse)
Parameters
- operations
- IMetricSettingOperations
Reference to the Microsoft.WindowsAzure.Management.Monitoring.Metrics.IMetricSettingOperations.
- parameters
- MetricSettingsPutParameters
Required. Metric settings to be created or updated.
Returns
Task<Microsoft.Azure.AzureOperationResponse>
A standard service response including an HTTP status code and request ID.