ServicesOperationsExtensions.BeginCreateOrUpdate 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 services resource is the top-level resource that represents the Database Migration Service. The PUT method creates a new service or updates an existing one. When a service is updated, existing child resources (i.e. tasks) are unaffected. Services currently support a single kind, "vm", which refers to a VM-based service, although other kinds may be added in the future. 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"). The provider will reply when successful with 200 OK or 201 Created. Long-running operations use the provisioningState property.
public static Microsoft.Azure.Management.DataMigration.Models.DataMigrationService BeginCreateOrUpdate (this Microsoft.Azure.Management.DataMigration.IServicesOperations operations, string groupName, string serviceName, Microsoft.Azure.Management.DataMigration.Models.DataMigrationService parameters);
static member BeginCreateOrUpdate : Microsoft.Azure.Management.DataMigration.IServicesOperations * string * string * Microsoft.Azure.Management.DataMigration.Models.DataMigrationService -> Microsoft.Azure.Management.DataMigration.Models.DataMigrationService
<Extension()>
Public Function BeginCreateOrUpdate (operations As IServicesOperations, groupName As String, serviceName As String, parameters As DataMigrationService) As DataMigrationService
Parameters
- operations
- IServicesOperations
The operations group for this extension method.
- groupName
- String
Name of the resource group
- serviceName
- String
Name of the service
- parameters
- DataMigrationService