Dela via


ServicesOperationsExtensions.BeginUpdateAsync Method

Definition

The services resource is the top-level resource that represents the Database Migration Service. The PATCH method updates an existing service. This method can change the kind, SKU, and network of the service, but if tasks are currently running (i.e. the service is busy), this will fail with 400 Bad Request ("ServiceIsBusy").

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.DataMigration.Models.DataMigrationService> BeginUpdateAsync (this Microsoft.Azure.Management.DataMigration.IServicesOperations operations, string groupName, string serviceName, Microsoft.Azure.Management.DataMigration.Models.DataMigrationService parameters, System.Threading.CancellationToken cancellationToken = default);
static member BeginUpdateAsync : Microsoft.Azure.Management.DataMigration.IServicesOperations * string * string * Microsoft.Azure.Management.DataMigration.Models.DataMigrationService * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.DataMigration.Models.DataMigrationService>
<Extension()>
Public Function BeginUpdateAsync (operations As IServicesOperations, groupName As String, serviceName As String, parameters As DataMigrationService, Optional cancellationToken As CancellationToken = Nothing) As Task(Of DataMigrationService)

Parameters

operations
IServicesOperations

The operations group for this extension method.

groupName
String

Name of the resource group

serviceName
String

Name of the service

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to