external help file | Module Name | online version | schema |
---|---|---|---|
Microsoft.Azure.PowerShell.Cmdlets.DataMigration.dll-Help.xml |
Az.DataMigration |
2.0.0 |
Creates database setting for migration for the mongoDb migration
New-AzDataMigrationMongoDbDatabaseSetting -Name <String> [-TargetRequestUnit <Int32>]
[-CollectionSetting <MongoDbCollectionSetting[]>] [-DefaultProfile <IAzureContextContainer>]
[-WhatIf] [-Confirm] [<CommonParameters>]
The New-AzDataMigrationMongoDbDatabaseSetting cmdlet creates the migration setting object that specifies the throughput and delete behavior. The output is a key value pair with name of collection and value of the setting, which can be used in invoking the migration task.
New-AzDataMigrationMongoDbDatabaseSetting -Name mycollection -RU 1000 -CollectionSetting @($coll1, $coll2)
Name Setting
---- -------
test Microsoft.Azure.Management.DataMigration.Models.MongoDbDatabaseSettings
The collection settings for the databases, refer to: New-AzureRmDmsMongoCollectionSetting
Type: Microsoft.Azure.Commands.DataMigration.Models.MongoDb.MongoDbCollectionSetting[]
Parameter Sets: (All)
Aliases: Coll
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
The credentials, account, tenant, and subscription used for communication with Azure.
Type: Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer
Parameter Sets: (All)
Aliases: AzContext, AzureRmContext, AzureCredential
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Name of the database
Type: System.String
Parameter Sets: (All)
Aliases: DatabaseName
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
The dedicated database level request unit value. If not set, that collection uses shared database RU.
Type: System.Nullable`1[System.Int32]
Parameter Sets: (All)
Aliases: RU
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Prompts you for confirmation before running the cmdlet.
Type: System.Management.Automation.SwitchParameter
Parameter Sets: (All)
Aliases: cf
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Shows what would happen if the cmdlet runs. The cmdlet is not run.
Type: System.Management.Automation.SwitchParameter
Parameter Sets: (All)
Aliases: wi
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.