IGenericResources.MoveResourcesAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Move resources from one resource group to another asynchronously.
public System.Threading.Tasks.Task MoveResourcesAsync (string sourceResourceGroupName, Microsoft.Azure.Management.ResourceManager.Fluent.IResourceGroup targetResourceGroup, System.Collections.Generic.IList<string> resources, System.Threading.CancellationToken cancellationToken = default);
abstract member MoveResourcesAsync : string * Microsoft.Azure.Management.ResourceManager.Fluent.IResourceGroup * System.Collections.Generic.IList<string> * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Function MoveResourcesAsync (sourceResourceGroupName As String, targetResourceGroup As IResourceGroup, resources As IList(Of String), Optional cancellationToken As CancellationToken = Nothing) As Task
Parameters
- sourceResourceGroupName
- String
sourceResourceGroupName Source resource group name
- targetResourceGroup
- IResourceGroup
targetResourceGroup target resource group, can be in a different subscription
- cancellationToken
- CancellationToken