-
Notifications
You must be signed in to change notification settings - Fork 4.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
9f2816c
commit 0e369a2
Showing
16 changed files
with
671 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
73 changes: 73 additions & 0 deletions
73
...ion/Microsoft.Azure.Management.DataMigration/src/Generated/Models/MigrateSsisTaskInput.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,73 @@ | ||
// <auto-generated> | ||
// Copyright (c) Microsoft Corporation. All rights reserved. | ||
// Licensed under the MIT License. See License.txt in the project root for | ||
// license information. | ||
// | ||
// Code generated by Microsoft (R) AutoRest Code Generator. | ||
// Changes may cause incorrect behavior and will be lost if the code is | ||
// regenerated. | ||
// </auto-generated> | ||
|
||
namespace Microsoft.Azure.Management.DataMigration.Models | ||
{ | ||
using Microsoft.Rest; | ||
using Newtonsoft.Json; | ||
using System.Linq; | ||
|
||
/// <summary> | ||
/// Input for task that migrates SSIS packages from SQL Server to Azure SQL | ||
/// Database Managed Instance. | ||
/// </summary> | ||
public partial class MigrateSsisTaskInput : SqlMigrationTaskInput | ||
{ | ||
/// <summary> | ||
/// Initializes a new instance of the MigrateSsisTaskInput class. | ||
/// </summary> | ||
public MigrateSsisTaskInput() | ||
{ | ||
CustomInit(); | ||
} | ||
|
||
/// <summary> | ||
/// Initializes a new instance of the MigrateSsisTaskInput class. | ||
/// </summary> | ||
/// <param name="sourceConnectionInfo">Information for connecting to | ||
/// source</param> | ||
/// <param name="targetConnectionInfo">Information for connecting to | ||
/// target</param> | ||
/// <param name="ssisMigrationInfo">SSIS package migration | ||
/// information.</param> | ||
public MigrateSsisTaskInput(SqlConnectionInfo sourceConnectionInfo, SqlConnectionInfo targetConnectionInfo, SsisMigrationInfo ssisMigrationInfo) | ||
: base(sourceConnectionInfo, targetConnectionInfo) | ||
{ | ||
SsisMigrationInfo = ssisMigrationInfo; | ||
CustomInit(); | ||
} | ||
|
||
/// <summary> | ||
/// An initialization method that performs custom operations like setting defaults | ||
/// </summary> | ||
partial void CustomInit(); | ||
|
||
/// <summary> | ||
/// Gets or sets SSIS package migration information. | ||
/// </summary> | ||
[JsonProperty(PropertyName = "ssisMigrationInfo")] | ||
public SsisMigrationInfo SsisMigrationInfo { get; set; } | ||
|
||
/// <summary> | ||
/// Validate the object. | ||
/// </summary> | ||
/// <exception cref="ValidationException"> | ||
/// Thrown if validation fails | ||
/// </exception> | ||
public override void Validate() | ||
{ | ||
base.Validate(); | ||
if (SsisMigrationInfo == null) | ||
{ | ||
throw new ValidationException(ValidationRules.CannotBeNull, "SsisMigrationInfo"); | ||
} | ||
} | ||
} | ||
} |
52 changes: 52 additions & 0 deletions
52
...on/Microsoft.Azure.Management.DataMigration/src/Generated/Models/MigrateSsisTaskOutput.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
// <auto-generated> | ||
// Copyright (c) Microsoft Corporation. All rights reserved. | ||
// Licensed under the MIT License. See License.txt in the project root for | ||
// license information. | ||
// | ||
// Code generated by Microsoft (R) AutoRest Code Generator. | ||
// Changes may cause incorrect behavior and will be lost if the code is | ||
// regenerated. | ||
// </auto-generated> | ||
|
||
namespace Microsoft.Azure.Management.DataMigration.Models | ||
{ | ||
using Newtonsoft.Json; | ||
using System.Linq; | ||
|
||
/// <summary> | ||
/// Output for task that migrates SSIS packages from SQL Server to Azure | ||
/// SQL Database Managed Instance. | ||
/// </summary> | ||
public partial class MigrateSsisTaskOutput | ||
{ | ||
/// <summary> | ||
/// Initializes a new instance of the MigrateSsisTaskOutput class. | ||
/// </summary> | ||
public MigrateSsisTaskOutput() | ||
{ | ||
CustomInit(); | ||
} | ||
|
||
/// <summary> | ||
/// Initializes a new instance of the MigrateSsisTaskOutput class. | ||
/// </summary> | ||
/// <param name="id">Result identifier</param> | ||
public MigrateSsisTaskOutput(string id = default(string)) | ||
{ | ||
Id = id; | ||
CustomInit(); | ||
} | ||
|
||
/// <summary> | ||
/// An initialization method that performs custom operations like setting defaults | ||
/// </summary> | ||
partial void CustomInit(); | ||
|
||
/// <summary> | ||
/// Gets result identifier | ||
/// </summary> | ||
[JsonProperty(PropertyName = "id")] | ||
public string Id { get; private set; } | ||
|
||
} | ||
} |
138 changes: 138 additions & 0 deletions
138
...zure.Management.DataMigration/src/Generated/Models/MigrateSsisTaskOutputMigrationLevel.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,138 @@ | ||
// <auto-generated> | ||
// Copyright (c) Microsoft Corporation. All rights reserved. | ||
// Licensed under the MIT License. See License.txt in the project root for | ||
// license information. | ||
// | ||
// Code generated by Microsoft (R) AutoRest Code Generator. | ||
// Changes may cause incorrect behavior and will be lost if the code is | ||
// regenerated. | ||
// </auto-generated> | ||
|
||
namespace Microsoft.Azure.Management.DataMigration.Models | ||
{ | ||
using Newtonsoft.Json; | ||
using System.Collections; | ||
using System.Collections.Generic; | ||
using System.Linq; | ||
|
||
[Newtonsoft.Json.JsonObject("MigrationLevelOutput")] | ||
public partial class MigrateSsisTaskOutputMigrationLevel : MigrateSsisTaskOutput | ||
{ | ||
/// <summary> | ||
/// Initializes a new instance of the | ||
/// MigrateSsisTaskOutputMigrationLevel class. | ||
/// </summary> | ||
public MigrateSsisTaskOutputMigrationLevel() | ||
{ | ||
CustomInit(); | ||
} | ||
|
||
/// <summary> | ||
/// Initializes a new instance of the | ||
/// MigrateSsisTaskOutputMigrationLevel class. | ||
/// </summary> | ||
/// <param name="id">Result identifier</param> | ||
/// <param name="startedOn">Migration start time</param> | ||
/// <param name="endedOn">Migration end time</param> | ||
/// <param name="status">Current status of migration. Possible values | ||
/// include: 'Default', 'Connecting', 'SourceAndTargetSelected', | ||
/// 'SelectLogins', 'Configured', 'Running', 'Error', 'Stopped', | ||
/// 'Completed', 'CompletedWithWarnings'</param> | ||
/// <param name="message">Migration progress message</param> | ||
/// <param name="sourceServerVersion">Source server version</param> | ||
/// <param name="sourceServerBrandVersion">Source server brand | ||
/// version</param> | ||
/// <param name="targetServerVersion">Target server version</param> | ||
/// <param name="targetServerBrandVersion">Target server brand | ||
/// version</param> | ||
/// <param name="exceptionsAndWarnings">Migration exceptions and | ||
/// warnings.</param> | ||
/// <param name="stage">Stage of SSIS migration. Possible values | ||
/// include: 'None', 'Initialize', 'InProgress', 'Completed'</param> | ||
public MigrateSsisTaskOutputMigrationLevel(string id = default(string), System.DateTimeOffset? startedOn = default(System.DateTimeOffset?), System.DateTimeOffset? endedOn = default(System.DateTimeOffset?), string status = default(string), string message = default(string), string sourceServerVersion = default(string), string sourceServerBrandVersion = default(string), string targetServerVersion = default(string), string targetServerBrandVersion = default(string), IList<ReportableException> exceptionsAndWarnings = default(IList<ReportableException>), string stage = default(string)) | ||
: base(id) | ||
{ | ||
StartedOn = startedOn; | ||
EndedOn = endedOn; | ||
Status = status; | ||
Message = message; | ||
SourceServerVersion = sourceServerVersion; | ||
SourceServerBrandVersion = sourceServerBrandVersion; | ||
TargetServerVersion = targetServerVersion; | ||
TargetServerBrandVersion = targetServerBrandVersion; | ||
ExceptionsAndWarnings = exceptionsAndWarnings; | ||
Stage = stage; | ||
CustomInit(); | ||
} | ||
|
||
/// <summary> | ||
/// An initialization method that performs custom operations like setting defaults | ||
/// </summary> | ||
partial void CustomInit(); | ||
|
||
/// <summary> | ||
/// Gets migration start time | ||
/// </summary> | ||
[JsonProperty(PropertyName = "startedOn")] | ||
public System.DateTimeOffset? StartedOn { get; private set; } | ||
|
||
/// <summary> | ||
/// Gets migration end time | ||
/// </summary> | ||
[JsonProperty(PropertyName = "endedOn")] | ||
public System.DateTimeOffset? EndedOn { get; private set; } | ||
|
||
/// <summary> | ||
/// Gets current status of migration. Possible values include: | ||
/// 'Default', 'Connecting', 'SourceAndTargetSelected', 'SelectLogins', | ||
/// 'Configured', 'Running', 'Error', 'Stopped', 'Completed', | ||
/// 'CompletedWithWarnings' | ||
/// </summary> | ||
[JsonProperty(PropertyName = "status")] | ||
public string Status { get; private set; } | ||
|
||
/// <summary> | ||
/// Gets migration progress message | ||
/// </summary> | ||
[JsonProperty(PropertyName = "message")] | ||
public string Message { get; private set; } | ||
|
||
/// <summary> | ||
/// Gets source server version | ||
/// </summary> | ||
[JsonProperty(PropertyName = "sourceServerVersion")] | ||
public string SourceServerVersion { get; private set; } | ||
|
||
/// <summary> | ||
/// Gets source server brand version | ||
/// </summary> | ||
[JsonProperty(PropertyName = "sourceServerBrandVersion")] | ||
public string SourceServerBrandVersion { get; private set; } | ||
|
||
/// <summary> | ||
/// Gets target server version | ||
/// </summary> | ||
[JsonProperty(PropertyName = "targetServerVersion")] | ||
public string TargetServerVersion { get; private set; } | ||
|
||
/// <summary> | ||
/// Gets target server brand version | ||
/// </summary> | ||
[JsonProperty(PropertyName = "targetServerBrandVersion")] | ||
public string TargetServerBrandVersion { get; private set; } | ||
|
||
/// <summary> | ||
/// Gets migration exceptions and warnings. | ||
/// </summary> | ||
[JsonProperty(PropertyName = "exceptionsAndWarnings")] | ||
public IList<ReportableException> ExceptionsAndWarnings { get; private set; } | ||
|
||
/// <summary> | ||
/// Gets stage of SSIS migration. Possible values include: 'None', | ||
/// 'Initialize', 'InProgress', 'Completed' | ||
/// </summary> | ||
[JsonProperty(PropertyName = "stage")] | ||
public string Stage { get; private set; } | ||
|
||
} | ||
} |
Oops, something went wrong.