forked from Azure/azure-powershell
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Migrate ConnectedMachine from generation to main (Azure#26288)
* Move ConnectedMachine to main * Update ChangeLog.md --------- Co-authored-by: azure-powershell-bot <[email protected]> Co-authored-by: NanxiangLiu <[email protected]>
- Loading branch information
1 parent
0b89984
commit 66deca2
Showing
303 changed files
with
10,397 additions
and
54,077 deletions.
There are no files selected for viewing
1,058 changes: 55 additions & 1,003 deletions
1,058
src/ConnectedMachine/ConnectedMachine.Autorest/Az.ConnectedMachine.format.ps1xml
Large diffs are not rendered by default.
Oops, something went wrong.
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
2 changes: 1 addition & 1 deletion
2
src/ConnectedMachine/ConnectedMachine.Autorest/UX/Microsoft.HybridCompute/licenses.json
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
2 changes: 1 addition & 1 deletion
2
...ine.Autorest/UX/Microsoft.HybridCompute/locations-publishers-extensionTypes-versions.json
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
2 changes: 1 addition & 1 deletion
2
...ctedMachine/ConnectedMachine.Autorest/UX/Microsoft.HybridCompute/machines-extensions.json
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
95 changes: 0 additions & 95 deletions
95
...tedMachine/ConnectedMachine.Autorest/UX/Microsoft.HybridCompute/machines-runCommands.json
This file was deleted.
Oops, something went wrong.
2 changes: 1 addition & 1 deletion
2
src/ConnectedMachine/ConnectedMachine.Autorest/UX/Microsoft.HybridCompute/machines.json
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
2 changes: 1 addition & 1 deletion
2
...nectedMachine/ConnectedMachine.Autorest/UX/Microsoft.HybridCompute/privateLinkScopes.json
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
30 changes: 16 additions & 14 deletions
30
src/ConnectedMachine/ConnectedMachine.Autorest/custom/MachineRunCommand.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 |
---|---|---|
@@ -1,16 +1,18 @@ | ||
namespace Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models | ||
{ | ||
using static Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Extensions; | ||
// comment out for stable release | ||
|
||
public partial class MachineRunCommand | ||
{ | ||
public string MachineName | ||
{ | ||
get => (new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?<subscriptionId>[^/]+)/resourceGroups/(?<resourceGroupName>[^/]+)/providers/Microsoft.HybridCompute/machines/(?<machineName>[^/]+)", | ||
global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(this.Id).Success ? | ||
new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?<subscriptionId>[^/]+)/resourceGroups/(?<resourceGroupName>[^/]+)/providers/Microsoft.HybridCompute/machines/(?<machineName>[^/]+)", | ||
global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(this.Id).Groups["machineName"].Value : null); | ||
} | ||
} | ||
// namespace Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models | ||
// { | ||
// using static Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Runtime.Extensions; | ||
|
||
} | ||
// public partial class MachineRunCommand | ||
// { | ||
// public string MachineName | ||
// { | ||
// get => (new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?<subscriptionId>[^/]+)/resourceGroups/(?<resourceGroupName>[^/]+)/providers/Microsoft.HybridCompute/machines/(?<machineName>[^/]+)", | ||
// global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(this.Id).Success ? | ||
// new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?<subscriptionId>[^/]+)/resourceGroups/(?<resourceGroupName>[^/]+)/providers/Microsoft.HybridCompute/machines/(?<machineName>[^/]+)", | ||
// global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(this.Id).Groups["machineName"].Value : null); | ||
// } | ||
// } | ||
|
||
// } |
Oops, something went wrong.