-
Notifications
You must be signed in to change notification settings - Fork 3.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Az.Migrate support new Data.Replication (#23615)
* Support new scenario in Az.Migrate * Added retry on get machine site. * Add READMEs * Revert changes --------- Co-authored-by: Sam Lee <samlee3@microsoft.com> Co-authored-by: Helen Afework <helenafework@microsoft.com>
- Loading branch information
1 parent
0faaaad
commit 1c76c97
Showing
94 changed files
with
9,892 additions
and
489 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
40 changes: 40 additions & 0 deletions
40
src/Migrate/Migrate.Autorest/custom/AzStackHCIDiskInput.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,40 @@ | ||
// Copyright (c) Microsoft Corporation. All rights reserved. | ||
// Licensed under the MIT License. See License.txt in the project root for license information. | ||
|
||
namespace Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api20210216Preview | ||
{ | ||
public class AzStackHCIDiskInput | ||
{ | ||
public AzStackHCIDiskInput( | ||
string diskId, | ||
bool isDynamic, | ||
long diskSizeGB, | ||
string diskFileFormat, | ||
bool isOsDisk) | ||
{ | ||
DiskId = diskId; | ||
IsDynamic = isDynamic; | ||
DiskSizeGb = diskSizeGB; | ||
DiskFileFormat = diskFileFormat; | ||
IsOSDisk = isOsDisk; | ||
} | ||
|
||
/// <summary>Gets or sets the type of the virtual hard disk, vhd or vhdx.</summary> | ||
public string DiskFileFormat { get; set; } | ||
|
||
/// <summary>Gets or sets the disk Id.</summary> | ||
public string DiskId { get; set; } | ||
|
||
/// <summary>Gets or sets the disk size in GB.</summary> | ||
public long DiskSizeGb { get; set; } | ||
|
||
/// <summary> | ||
/// Gets or sets a value indicating whether dynamic sizing is enabled on the virtual hard | ||
/// disk. | ||
/// </summary> | ||
public bool? IsDynamic { get; set; } | ||
|
||
/// <summary>Gets or sets a value indicating whether disk is os disk.</summary> | ||
public bool IsOSDisk { get; set; } | ||
} | ||
} |
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,32 @@ | ||
// Copyright (c) Microsoft Corporation. All rights reserved. | ||
// Licensed under the MIT License. See License.txt in the project root for license information. | ||
|
||
namespace Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api20210216Preview | ||
{ | ||
public class AzStackHCINicInput | ||
{ | ||
public AzStackHCINicInput( | ||
string nicId, | ||
string targetNetworkId, | ||
string testNetworkId, | ||
string selectionTypeForFailover) | ||
{ | ||
NicId = nicId; | ||
TargetNetworkId = targetNetworkId; | ||
TestNetworkId = testNetworkId; | ||
SelectionTypeForFailover = selectionTypeForFailover; | ||
} | ||
|
||
/// <summary>Gets or sets the NIC Id.</summary> | ||
public string NicId { get; set; } | ||
|
||
/// <summary>Gets or sets the target network Id within AzStackHCI Cluster.</summary> | ||
public string TargetNetworkId { get; set; } | ||
|
||
/// <summary>Gets or sets the target test network Id within AzStackHCI Cluster.</summary> | ||
public string TestNetworkId { get; set; } | ||
|
||
/// <summary>Gets or sets the selection type of the NIC.</summary> | ||
public string SelectionTypeForFailover { get; set; } | ||
} | ||
} |
Oops, something went wrong.