42
42
using Runbook = Microsoft . Azure . Commands . Automation . Model . Runbook ;
43
43
using Schedule = Microsoft . Azure . Commands . Automation . Model . Schedule ;
44
44
using Variable = Microsoft . Azure . Commands . Automation . Model . Variable ;
45
- using JobStream = Microsoft . Azure . Commands . Automation . Model . JobStream ;
46
- using Credential = Microsoft . Azure . Commands . Automation . Model . CredentialInfo ;
47
- using JobSchedule = Microsoft . Azure . Commands . Automation . Model . JobSchedule ;
48
- using Certificate = Microsoft . Azure . Commands . Automation . Model . CertificateInfo ;
49
- using Connection = Microsoft . Azure . Commands . Automation . Model . Connection ;
50
45
using HybridRunbookWorkerGroup = Microsoft . Azure . Commands . Automation . Model . HybridRunbookWorkerGroup ;
51
46
52
47
@@ -1644,20 +1639,20 @@ private Azure.Management.Automation.Models.Runbook TryGetRunbookModel(string res
1644
1639
}
1645
1640
return runbook ;
1646
1641
}
1647
- < << << << 5 a3f20949198c648832d7ae2bed4ba88898a4a3d
1648
1642
1649
- private Azure . Management . Automation . Models . Certificate TryGetCertificateModel ( string resourceGroupName , string automationAccountName ,
1650
- = == == ==
1643
+
1644
+
1645
+
1651
1646
private Azure . Management . Automation . Models . HybridRunbookWorkerGroup TryGetHybridRunbookWorkerModel ( string resourceGroupName , string automationAccountName , string HybridRunbookWorkerGroupName )
1652
1647
{
1653
1648
Azure . Management . Automation . Models . HybridRunbookWorkerGroup hybridRunbookWorkerGroup = null ;
1654
1649
try
1655
1650
{
1656
1651
hybridRunbookWorkerGroup = this . automationManagementClient . HybridRunbookWorkerGroups . Get ( resourceGroupName , automationAccountName , HybridRunbookWorkerGroupName ) . HybridRunbookWorkerGroup ;
1657
1652
}
1658
- catch ( CloudException e )
1653
+ catch ( CloudException e )
1659
1654
{
1660
- if ( e . Response . StatusCode == HttpStatusCode . NotFound )
1655
+ if ( e . Response . StatusCode == HttpStatusCode . NotFound )
1661
1656
{
1662
1657
hybridRunbookWorkerGroup = null ;
1663
1658
}
@@ -1669,7 +1664,6 @@ private Azure.Management.Automation.Models.HybridRunbookWorkerGroup TryGetHybrid
1669
1664
return hybridRunbookWorkerGroup ;
1670
1665
}
1671
1666
private Azure . Management . Automation . Models . Certificate TryGetCertificateModel ( string resourceGroupName , string automationAccountName ,
1672
- > >>> >>> New cmdlet Get- AzureRMAutomationHybridRunbookWorkerGroup
1673
1667
string certificateName )
1674
1668
{
1675
1669
Azure . Management . Automation . Models . Certificate certificate = null ;
0 commit comments