MetricSettingOperationsExtensions.CreateOrUpdate 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 AzureOperationResponse CreateOrUpdate(
this IMetricSettingOperations operations,
MetricSettingsPutParameters parameters
)
public:
[ExtensionAttribute]
static AzureOperationResponse^ CreateOrUpdate(
IMetricSettingOperations^ operations,
MetricSettingsPutParameters^ parameters
)
static member CreateOrUpdate :
operations:IMetricSettingOperations *
parameters:MetricSettingsPutParameters -> AzureOperationResponse
<ExtensionAttribute>
Public Shared Function CreateOrUpdate (
operations As IMetricSettingOperations,
parameters As MetricSettingsPutParameters
) As 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: Microsoft.Azure.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