共用方式為


ApiManagementServiceResource.MigrateToStv2 Method

Definition

Upgrades an API Management service to the Stv2 platform. For details refer to https://aka.ms/apim-migrate-stv2. This change is not reversible. This is long running operation and could take several minutes to complete.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/migrateToStv2
  • Operation Id: ApiManagementService_MigrateToStv2
  • Default Api Version: 2023-03-01-preview
  • Resource: ApiManagementServiceResource
public virtual Azure.ResourceManager.ArmOperation<Azure.ResourceManager.ApiManagement.ApiManagementServiceResource> MigrateToStv2 (Azure.WaitUntil waitUntil, Azure.ResourceManager.ApiManagement.Models.MigrateToStv2Contract migrateToStv2Contract = default, System.Threading.CancellationToken cancellationToken = default);
abstract member MigrateToStv2 : Azure.WaitUntil * Azure.ResourceManager.ApiManagement.Models.MigrateToStv2Contract * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.ApiManagement.ApiManagementServiceResource>
override this.MigrateToStv2 : Azure.WaitUntil * Azure.ResourceManager.ApiManagement.Models.MigrateToStv2Contract * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.ApiManagement.ApiManagementServiceResource>
Public Overridable Function MigrateToStv2 (waitUntil As WaitUntil, Optional migrateToStv2Contract As MigrateToStv2Contract = Nothing, Optional cancellationToken As CancellationToken = Nothing) As ArmOperation(Of ApiManagementServiceResource)

Parameters

waitUntil
WaitUntil

Completed if the method should wait to return until the long-running operation has completed on the service; Started if it should return after starting the operation. For more information on long-running operations, please see Azure.Core Long-Running Operation samples.

migrateToStv2Contract
MigrateToStv2Contract

Optional parameters supplied to migrate service.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to