Compartilhar via


ConnectToMongoDbTaskProperties Class

Definition

Properties for the task that validates the connection to and provides information about a MongoDB server

[Newtonsoft.Json.JsonObject("Connect.MongoDb")]
public class ConnectToMongoDbTaskProperties : Microsoft.Azure.Management.DataMigration.Models.ProjectTaskProperties
[<Newtonsoft.Json.JsonObject("Connect.MongoDb")>]
type ConnectToMongoDbTaskProperties = class
    inherit ProjectTaskProperties
Public Class ConnectToMongoDbTaskProperties
Inherits ProjectTaskProperties
Inheritance
ConnectToMongoDbTaskProperties
Attributes
Newtonsoft.Json.JsonObjectAttribute

Constructors

ConnectToMongoDbTaskProperties()

Initializes a new instance of the ConnectToMongoDbTaskProperties class.

ConnectToMongoDbTaskProperties(IList<ODataError>, String, IList<CommandProperties>, IDictionary<String,String>, MongoDbConnectionInfo, IList<MongoDbClusterInfo>)

Initializes a new instance of the ConnectToMongoDbTaskProperties class.

Properties

ClientData

Gets or sets key value pairs of client data to attach meta data information to task

(Inherited from ProjectTaskProperties)
Commands

Gets array of command properties.

(Inherited from ProjectTaskProperties)
Errors

Gets array of errors. This is ignored if submitted.

(Inherited from ProjectTaskProperties)
Input

Gets or sets describes a connection to a MongoDB data source

Output

Gets an array containing a single MongoDbClusterInfo object

State

Gets the state of the task. This is ignored if submitted. Possible values include: 'Unknown', 'Queued', 'Running', 'Canceled', 'Succeeded', 'Failed', 'FailedInputValidation', 'Faulted'

(Inherited from ProjectTaskProperties)

Methods

Validate()

Validate the object.

Applies to