Udostępnij za pośrednictwem


DataMigrationService Constructors

Definition

Overloads

DataMigrationService()

Initializes a new instance of the DataMigrationService class.

DataMigrationService(String, String, String, String, IDictionary<String,String>, String, String, ServiceSku, String, String, String)

Initializes a new instance of the DataMigrationService class.

DataMigrationService()

Initializes a new instance of the DataMigrationService class.

public DataMigrationService ();
Public Sub New ()

Applies to

DataMigrationService(String, String, String, String, IDictionary<String,String>, String, String, ServiceSku, String, String, String)

Initializes a new instance of the DataMigrationService class.

public DataMigrationService (string location, string id = default, string name = default, string type = default, System.Collections.Generic.IDictionary<string,string> tags = default, string etag = default, string kind = default, Microsoft.Azure.Management.DataMigration.Models.ServiceSku sku = default, string provisioningState = default, string publicKey = default, string virtualSubnetId = default);
new Microsoft.Azure.Management.DataMigration.Models.DataMigrationService : string * string * string * string * System.Collections.Generic.IDictionary<string, string> * string * string * Microsoft.Azure.Management.DataMigration.Models.ServiceSku * string * string * string -> Microsoft.Azure.Management.DataMigration.Models.DataMigrationService
Public Sub New (location As String, Optional id As String = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional etag As String = Nothing, Optional kind As String = Nothing, Optional sku As ServiceSku = Nothing, Optional provisioningState As String = Nothing, Optional publicKey As String = Nothing, Optional virtualSubnetId As String = Nothing)

Parameters

location
String

Resource location.

id
String

Resource ID.

name
String

Resource name.

type
String

Resource type.

tags
IDictionary<String,String>

Resource tags.

etag
String

HTTP strong entity tag value. Ignored if submitted

kind
String

The resource kind. Only 'vm' (the default) is supported.

sku
ServiceSku

Service SKU

provisioningState
String

The resource's provisioning state Possible values include: 'Accepted', 'Deleting', 'Deploying', 'Stopped', 'Stopping', 'Starting', 'FailedToStart', 'FailedToStop', 'Succeeded', 'Failed'

publicKey
String

The public key of the service, used to encrypt secrets sent to the service

virtualSubnetId
String

The ID of the Microsoft.Network/virtualNetworks/subnets resource to which the service should be joined

Applies to