MetricSettingOperationsExtensions.CreateOrUpdateAsync Method (IMetricSettingOperations, MetricSettingsPutParameters)
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
public static Task<AzureOperationResponse> CreateOrUpdateAsync(
this IMetricSettingOperations operations,
MetricSettingsPutParameters parameters
)
public:
[ExtensionAttribute]
static Task<AzureOperationResponse^>^ CreateOrUpdateAsync(
IMetricSettingOperations^ operations,
MetricSettingsPutParameters^ parameters
)
static member CreateOrUpdateAsync :
operations:IMetricSettingOperations *
parameters:MetricSettingsPutParameters -> Task<AzureOperationResponse>
<ExtensionAttribute>
Public Shared Function CreateOrUpdateAsync (
operations As IMetricSettingOperations,
parameters As MetricSettingsPutParameters
) As Task(Of AzureOperationResponse)
Parameters
operations
Type: Microsoft.WindowsAzure.Management.Monitoring.Metrics.IMetricSettingOperationsReference to the Microsoft.WindowsAzure.Management.Monitoring.Metrics.IMetricSettingOperations.
parameters
Type: Microsoft.WindowsAzure.Management.Monitoring.Metrics.Models.MetricSettingsPutParametersRequired. Metric settings to be created or updated.
Return Value
Type: System.Threading.Tasks.Task<AzureOperationResponse>
A standard service response including an HTTP status code and request ID.
See Also
MetricSettingOperationsExtensions Class
Microsoft.WindowsAzure.Management.Monitoring.Metrics Namespace
Return to top