Share via


MigrationOperationsExtensions.ImportLegacyApplianceConfigAsync Method

Definition

Hydra spec for import legacy appliance config rest api.The rest api imports the legacy config to the service

public static System.Threading.Tasks.Task<Microsoft.Azure.AzureOperationResponse> ImportLegacyApplianceConfigAsync (this Microsoft.WindowsAzure.Management.StorSimple.IMigrationOperations operations, string configId, Microsoft.WindowsAzure.Management.StorSimple.Models.LegacyApplianceConfig request, Microsoft.WindowsAzure.Management.StorSimple.Models.CustomRequestHeaders customRequestHeaders);
static member ImportLegacyApplianceConfigAsync : Microsoft.WindowsAzure.Management.StorSimple.IMigrationOperations * string * Microsoft.WindowsAzure.Management.StorSimple.Models.LegacyApplianceConfig * Microsoft.WindowsAzure.Management.StorSimple.Models.CustomRequestHeaders -> System.Threading.Tasks.Task<Microsoft.Azure.AzureOperationResponse>
<Extension()>
Public Function ImportLegacyApplianceConfigAsync (operations As IMigrationOperations, configId As String, request As LegacyApplianceConfig, customRequestHeaders As CustomRequestHeaders) As Task(Of AzureOperationResponse)

Parameters

operations
IMigrationOperations

Reference to the Microsoft.WindowsAzure.Management.StorSimple.IMigrationOperations.

configId
String

Required. Unique id for config being imported

request
LegacyApplianceConfig

Required. Legacy appliance config to be imported

customRequestHeaders
CustomRequestHeaders

Required. The Custom Request Headers which client must use.

Returns

Task<Microsoft.Azure.AzureOperationResponse>

A standard service response including an HTTP status code and request ID.

Applies to