MetricSettingOperationsExtensions.CreateOrUpdateAsync 方法 (IMetricSettingOperations, MetricSettingsPutParameters)
命名空间: Microsoft.WindowsAzure.Management.Monitoring.Metrics
程序集: Microsoft.WindowsAzure.Management.Monitoring(Microsoft.WindowsAzure.Management.Monitoring.dll 中)
语法
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)
参数
operations
Type: Microsoft.WindowsAzure.Management.Monitoring.Metrics.IMetricSettingOperations对 Microsoft.WindowsAzure.Management.Monitoring.Metrics.IMetricSettingOperations 引用。
parameters
Type: Microsoft.WindowsAzure.Management.Monitoring.Metrics.Models.MetricSettingsPutParameters必需。 要创建或更新的度量值设置。
返回值
Type: System.Threading.Tasks.Task<AzureOperationResponse>
标准服务响应,包括 HTTP 状态代码和请求 ID。
请参阅
MetricSettingOperationsExtensions 类
Microsoft.WindowsAzure.Management.Monitoring.Metrics 命名空间
返回页首