Udostępnij za pośrednictwem


MonitoringSettingsOperationsExtensions.UpdatePutAsync Method

Definition

Update the Monitoring Setting.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.AppPlatform.Models.MonitoringSettingResource> UpdatePutAsync (this Microsoft.Azure.Management.AppPlatform.IMonitoringSettingsOperations operations, string resourceGroupName, string serviceName, Microsoft.Azure.Management.AppPlatform.Models.MonitoringSettingResource monitoringSettingResource, System.Threading.CancellationToken cancellationToken = default);
static member UpdatePutAsync : Microsoft.Azure.Management.AppPlatform.IMonitoringSettingsOperations * string * string * Microsoft.Azure.Management.AppPlatform.Models.MonitoringSettingResource * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.AppPlatform.Models.MonitoringSettingResource>
<Extension()>
Public Function UpdatePutAsync (operations As IMonitoringSettingsOperations, resourceGroupName As String, serviceName As String, monitoringSettingResource As MonitoringSettingResource, Optional cancellationToken As CancellationToken = Nothing) As Task(Of MonitoringSettingResource)

Parameters

operations
IMonitoringSettingsOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.

serviceName
String

The name of the Service resource.

monitoringSettingResource
MonitoringSettingResource

Parameters for the update operation

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to