ProjectsOperationsExtensions.CreateOrUpdateAsync 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.
The project resource is a nested resource representing a stored migration project. The PUT method creates a new project or updates an existing one.
public static System.Threading.Tasks.Task<Microsoft.Azure.Management.DataMigration.Models.Project> CreateOrUpdateAsync (this Microsoft.Azure.Management.DataMigration.IProjectsOperations operations, string groupName, string serviceName, string projectName, Microsoft.Azure.Management.DataMigration.Models.Project parameters, System.Threading.CancellationToken cancellationToken = default);
static member CreateOrUpdateAsync : Microsoft.Azure.Management.DataMigration.IProjectsOperations * string * string * string * Microsoft.Azure.Management.DataMigration.Models.Project * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.DataMigration.Models.Project>
<Extension()>
Public Function CreateOrUpdateAsync (operations As IProjectsOperations, groupName As String, serviceName As String, projectName As String, parameters As Project, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Project)
Parameters
- operations
- IProjectsOperations
The operations group for this extension method.
- groupName
- String
Name of the resource group
- serviceName
- String
Name of the service
- projectName
- String
Name of the project
- parameters
- Project
- cancellationToken
- CancellationToken
The cancellation token.