DatabaseMigrationCosmosDbMongo Class
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.
Database Migration Resource for Mongo to CosmosDb.
[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.DataMigration.Models.Api20250630.DatabaseMigrationCosmosDbMongoTypeConverter))]
public class DatabaseMigrationCosmosDbMongo : Microsoft.Azure.PowerShell.Cmdlets.DataMigration.Models.Api20250630.IDatabaseMigrationCosmosDbMongo, Microsoft.Azure.PowerShell.Cmdlets.DataMigration.Runtime.IValidates
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.DataMigration.Models.Api20250630.DatabaseMigrationCosmosDbMongoTypeConverter))>]
type DatabaseMigrationCosmosDbMongo = class
interface IDatabaseMigrationCosmosDbMongo
interface IJsonSerializable
interface IResource
interface IValidates
Public Class DatabaseMigrationCosmosDbMongo
Implements IDatabaseMigrationCosmosDbMongo, IValidates
- Inheritance
-
DatabaseMigrationCosmosDbMongo
- Attributes
- Implements
Constructors
| Name | Description |
|---|---|
| DatabaseMigrationCosmosDbMongo() |
Creates an new DatabaseMigrationCosmosDbMongo instance. |
Properties
| Name | Description |
|---|---|
| CollectionList |
List of Mongo Collections to be migrated. |
| EndedOn |
Database migration end time. |
| Id |
Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}" |
| Kind | |
| MigrationFailureErrorCode |
Error code. |
| MigrationFailureErrorMessage |
Error message. |
| MigrationOperationId |
ID for current migration operation. |
| MigrationService |
Resource Id of the Migration Service. |
| MigrationStatus |
Migration status. |
| Name |
The name of the resource |
| ProvisioningError |
Error message for migration provisioning failure, if any. |
| ProvisioningState |
Provisioning State of migration. ProvisioningState as Succeeded implies that validations have been performed and migration has started. |
| Scope |
Resource Id of the target resource. |
| SourceMongoConnectionHost |
Host of mongo connection. |
| SourceMongoConnectionPassword |
Password to connect to Mongo. |
| SourceMongoConnectionPort |
Port of mongo connection. |
| SourceMongoConnectionString |
ConnectionString to connect to Mongo. |
| SourceMongoConnectionUserName |
User name to connect to Mongo. |
| SourceMongoConnectionUseSsl |
Whether to UseSsl or UseTls to connect to Mongo. Default is true. |
| StartedOn |
Database migration start time. |
| SystemData |
Azure Resource Manager metadata containing createdBy and modifiedBy information. |
| SystemDataCreatedAt |
The timestamp of resource creation (UTC). |
| SystemDataCreatedBy |
The identity that created the resource. |
| SystemDataCreatedByType |
The type of identity that created the resource. |
| SystemDataLastModifiedAt |
The timestamp of resource last modification (UTC) |
| SystemDataLastModifiedBy |
The identity that last modified the resource. |
| SystemDataLastModifiedByType |
The type of identity that last modified the resource. |
| TargetMongoConnectionHost |
Host of mongo connection. |
| TargetMongoConnectionPassword |
Password to connect to Mongo. |
| TargetMongoConnectionPort |
Port of mongo connection. |
| TargetMongoConnectionString |
ConnectionString to connect to Mongo. |
| TargetMongoConnectionUserName |
User name to connect to Mongo. |
| TargetMongoConnectionUseSsl |
Whether to UseSsl or UseTls to connect to Mongo. Default is true. |
| Type |
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" |
Methods
| Name | Description |
|---|---|
| DeserializeFromDictionary(IDictionary) |
Deserializes a IDictionary into an instance of DatabaseMigrationCosmosDbMongo. |
| DeserializeFromPSObject(PSObject) |
Deserializes a PSObject into an instance of DatabaseMigrationCosmosDbMongo. |
| FromJson(JsonNode) |
Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataMigration.Models.Api20250630.IDatabaseMigrationCosmosDbMongo. |
| FromJsonString(String) |
Creates a new instance of DatabaseMigrationCosmosDbMongo, deserializing the content from a json string. |
| ToJson(JsonObject, SerializationMode) |
Serializes this instance of DatabaseMigrationCosmosDbMongo into a JsonNode. |
| ToJsonString() |
Serializes this instance to a json string. |
| Validate(IEventListener) |
Validates that this object meets the validation criteria. |