MoveResourcesOperationsExtensions.CreateAsync 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.
Creates or updates a Move Resource in the move collection.
public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Migrate.ResourceMover.Models.MoveResource> CreateAsync (this Microsoft.Azure.Management.Migrate.ResourceMover.IMoveResourcesOperations operations, string resourceGroupName, string moveCollectionName, string moveResourceName, Microsoft.Azure.Management.Migrate.ResourceMover.Models.MoveResourceProperties properties = default, System.Threading.CancellationToken cancellationToken = default);
static member CreateAsync : Microsoft.Azure.Management.Migrate.ResourceMover.IMoveResourcesOperations * string * string * string * Microsoft.Azure.Management.Migrate.ResourceMover.Models.MoveResourceProperties * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Migrate.ResourceMover.Models.MoveResource>
<Extension()>
Public Function CreateAsync (operations As IMoveResourcesOperations, resourceGroupName As String, moveCollectionName As String, moveResourceName As String, Optional properties As MoveResourceProperties = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of MoveResource)
Parameters
- operations
- IMoveResourcesOperations
The operations group for this extension method.
- resourceGroupName
- String
The Resource Group Name.
- moveCollectionName
- String
The Move Collection Name.
- moveResourceName
- String
The Move Resource Name.
- properties
- MoveResourceProperties
- cancellationToken
- CancellationToken
The cancellation token.