text stringlengths 9 39.2M | dir stringlengths 26 295 | lang stringclasses 185
values | created_date timestamp[us] | updated_date timestamp[us] | repo_name stringlengths 1 97 | repo_full_name stringlengths 7 106 | star int64 1k 183k | len_tokens int64 1 13.8M |
|---|---|---|---|---|---|---|---|---|
```powershell
Describe "[$($Lab.Name)] Tfs2015" -Tag Tfs2015 {
Context "Role deployment successful" {
It "[Tfs2015] Should return the correct amount of machines" {
(Get-LabVm -Role Tfs2015).Count | Should -Be $(Get-Lab).Machines.Where({$_.Roles.Name -contains 'Tfs2015'}).Count
}
for... | /content/code_sandbox/AutomatedLabTest/tests/Tfs2015.tests.ps1 | powershell | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 223 |
```powershell
Describe "[$($Lab.Name)] DSCPullServer" -Tag DSCPullServer {
Context "Role deployment successful" {
It "[DSCPullServer] Should return the correct amount of machines" {
(Get-LabVM -Role DSCPullServer).Count | Should -Be $(Get-Lab).Machines.Where( { $_.Roles.Name -contains 'DSCPullSe... | /content/code_sandbox/AutomatedLabTest/tests/DSCPullServer.tests.ps1 | powershell | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 497 |
```powershell
Describe "[$((Get-Lab).Name)] ScomGateway" -Tag ScomGateway {
Context "Role deployment successful" {
It "[ScomGateway] Should return the correct amount of machines" {
(Get-LabVm -Role ScomGateway).Count | Should -Be $(Get-Lab).Machines.Where({$_.Roles.Name -contains 'ScomGateway'})... | /content/code_sandbox/AutomatedLabTest/tests/ScomGateway.tests.ps1 | powershell | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 89 |
```powershell
BeforeDiscovery {
[hashtable[]] $frontendCases = foreach ($vm in (Get-LabVm -Role DynamicsFrontend))
{
@{vm = $vm }
}
}
Describe "[$((Get-Lab).Name)] DynamicsFrontend" -Tag DynamicsFrontend {
Context "Role deployment successful" {
It "[DynamicsFrontend] Should return the c... | /content/code_sandbox/AutomatedLabTest/tests/DynamicsFrontend.tests.ps1 | powershell | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 213 |
```powershell
Describe "[$($Lab.Name)] SQLServer2016" -Tag SQLServer2016 {
Context "Role deployment successful" {
It "[SQLServer2016] Should return the correct amount of machines" {
(Get-LabVm -Role SQLServer2016).Count | Should -Be $(Get-Lab).Machines.Where({$_.Roles.Name -contains 'SQLServer2016'}... | /content/code_sandbox/AutomatedLabTest/tests/SQLServer2016.tests.ps1 | powershell | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 288 |
```powershell
Describe "[$((Get-Lab).Name)] NuGetServer" -Tag NuGetServer {
Context "Role deployment successful" {
It "[NuGetServer] Should return the correct amount of machines" {
(Get-LabVM).Where({$_.PreInstallationActivity.Where({$_.IsCustomRole}).RoleName -contains 'NuGetServer' -or $_.Post... | /content/code_sandbox/AutomatedLabTest/tests/NuGetServer.tests.ps1 | powershell | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 105 |
```powershell
Describe "[$($Lab.Name)] CaSubordinate" -Tag CaSubordinate {
Context "Role deployment successful" {
It "[CaSubordinate] Should return the correct amount of machines" {
(Get-LabVm -Role CaSubordinate).Count | Should -Be $(Get-Lab).Machines.Where({$_.Roles.Name -contains 'CaSubordinate'}... | /content/code_sandbox/AutomatedLabTest/tests/CaSubordinate.tests.ps1 | powershell | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 268 |
```powershell
Describe "[$($Lab.Name)] SharePoint2019" -Tag SharePoint2019 {
Context "Role deployment successful" {
It "[SharePoint2019] Should return the correct amount of machines" {
(Get-LabVm -Role SharePoint2019).Count | Should -Be $(Get-Lab).Machines.Where({$_.Roles.Name -contains 'SharePoint2... | /content/code_sandbox/AutomatedLabTest/tests/SharePoint2019.tests.ps1 | powershell | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 247 |
```powershell
Describe "[$($Lab.Name)] FirstChildDC" -Tag FirstChildDC {
Context "Role deployment successful" {
It "[FirstChildDC] Should return the correct amount of machines" {
(Get-LabVm -Role FirstChildDC).Count | Should -Be $(Get-Lab).Machines.Where({$_.Roles.Name -contains 'FirstChildDC'}).Cou... | /content/code_sandbox/AutomatedLabTest/tests/FirstChildDC.tests.ps1 | powershell | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 83 |
```powershell
Describe "[$($Lab.Name)] SQLServer2014" -Tag SQLServer2014 {
Context "Role deployment successful" {
It "[SQLServer2014] Should return the correct amount of machines" {
(Get-LabVm -Role SQLServer2014).Count | Should -Be $(Get-Lab).Machines.Where({$_.Roles.Name -contains 'SQLServer2014'}... | /content/code_sandbox/AutomatedLabTest/tests/SQLServer2014.tests.ps1 | powershell | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 288 |
```powershell
Describe "[$((Get-Lab).Name)] RemoteDesktopGateway" -Tag RemoteDesktopGateway {
Context "Role deployment successful" {
It "[RemoteDesktopGateway] Should return the correct amount of machines" {
(Get-LabVm -Role RemoteDesktopGateway).Count | Should -Be $(Get-Lab).Machines.Where({$_.... | /content/code_sandbox/AutomatedLabTest/tests/RemoteDesktopGateway.tests.ps1 | powershell | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 199 |
```powershell
Describe "[$($Lab.Name)] DHCP" -Tag DHCP {
Context "Role deployment successful" {
It "[DHCP] Should return the correct amount of machines" {
(Get-LabVm -Role DHCP).Count | Should -Be $(Get-Lab).Machines.Where({$_.Roles.Name -contains 'DHCP'}).Count
}
}
}
``` | /content/code_sandbox/AutomatedLabTest/tests/DHCP.tests.ps1 | powershell | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 77 |
```powershell
Describe "[$((Get-Lab).Name)] RemoteDesktopWebAccess" -Tag RemoteDesktopWebAccess {
Context "Role deployment successful" {
It "[RemoteDesktopWebAccess] Should return the correct amount of machines" {
(Get-LabVm -Role RemoteDesktopWebAccess).Count | Should -Be $(Get-Lab).Machines.Wh... | /content/code_sandbox/AutomatedLabTest/tests/RemoteDesktopWebAccess.tests.ps1 | powershell | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 220 |
```powershell
Describe "[$($Lab.Name)] SQLServer2022" -Tag SQLServer2022 {
Context "Role deployment successful" {
It "[SQLServer2022] Should return the correct amount of machines" {
(Get-LabVm -Role SQLServer2022).Count | Should -Be $(Get-Lab).Machines.Where({$_.Roles.Name -contains 'SQLServer2022'}... | /content/code_sandbox/AutomatedLabTest/tests/SQLServer2022.tests.ps1 | powershell | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 368 |
```powershell
Describe "[$($Lab.Name)] SQLServer2017" -Tag SQLServer2017 {
Context "Role deployment successful" {
It "[SQLServer2017] Should return the correct amount of machines" {
(Get-LabVm -Role SQLServer2017).Count | Should -Be $(Get-Lab).Machines.Where({$_.Roles.Name -contains 'SQLServer2017'}... | /content/code_sandbox/AutomatedLabTest/tests/SQLServer2017.tests.ps1 | powershell | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 288 |
```powershell
$unattendedXmlDefaultContent2012 = @'
<?xml version="1.0" encoding="utf-8"?>
<unattend xmlns="urn:schemas-microsoft-com:unattend">
<settings pass="generalize">
<component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionSc... | /content/code_sandbox/AutomatedLabDefinition/internal/scripts/Initialization.ps1 | powershell | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 8,937 |
```powershell
Describe "[$($Lab.Name)] HyperV" -Tag HyperV {
Context "Role deployment successful" {
It "[HyperV] Should return the correct amount of machines" {
(Get-LabVM -Role HyperV).Count | Should -Be $(Get-Lab).Machines.Where( { $_.Roles.Name -contains 'HyperV' }).Count
}
... | /content/code_sandbox/AutomatedLabTest/tests/HyperV.tests.ps1 | powershell | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 331 |
```powershell
Describe "[$($Lab.Name)] ScomReporting" -Tag ScomReporting {
Context "Role deployment successful" {
It "[ScomReporting] Should return the correct amount of machines" {
(Get-LabVm -Role ScomReporting).Count | Should -Be $(Get-Lab).Machines.Where({$_.Roles.Name -contains 'Sco... | /content/code_sandbox/AutomatedLabTest/tests/ScomReporting.tests.ps1 | powershell | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 201 |
```powershell
Describe "[$((Get-Lab).Name)] RemoteDesktopVirtualizationHost" -Tag RemoteDesktopVirtualizationHost {
Context "Role deployment successful" {
It "[RemoteDesktopVirtualizationHost] Should return the correct amount of machines" {
(Get-LabVm -Role RemoteDesktopVirtualizationHost).Count... | /content/code_sandbox/AutomatedLabTest/tests/RemoteDesktopVirtualizationHost.tests.ps1 | powershell | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 99 |
```powershell
Describe "[$($Lab.Name)] FailoverStorage" -Tag FailoverStorage {
Context "Role deployment successful" {
It "[FailoverStorage] Should return the correct amount of machines" {
(Get-LabVM -Role FailoverStorage).Count | Should -Be $(Get-Lab).Machines.Where( { $_.Roles.Name -contains 'F... | /content/code_sandbox/AutomatedLabTest/tests/FailoverStorage.tests.ps1 | powershell | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 180 |
```powershell
Describe "[$($Lab.Name)] DC Generic" -Tag RootDC, DC, FirstChildDC {
Context "Role deployment successful" {
It "[RootDC] Should return the correct amount of machines" {
(Get-LabVM -Role ADDS).Count | Should -Be $(Get-Lab).Machines.Where( { $_.Roles.Name -contains 'RootDC' -or $_.R... | /content/code_sandbox/AutomatedLabTest/tests/RootDC.tests.ps1 | powershell | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 406 |
```powershell
Describe "[$($Lab.Name)] Tfs2018" -Tag Tfs2018 {
Context "Role deployment successful" {
It "[Tfs2018] Should return the correct amount of machines" {
(Get-LabVm -Role Tfs2018).Count | Should -Be $(Get-Lab).Machines.Where({$_.Roles.Name -contains 'Tfs2018'}).Count
}
for... | /content/code_sandbox/AutomatedLabTest/tests/Tfs2018.tests.ps1 | powershell | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 223 |
```powershell
Describe "[$($Lab.Name)] FailoverNode" -Tag FailoverNode {
Context "Role deployment successful" {
It "[FailoverNode] Should return the correct amount of machines" {
(Get-LabVM -Role FailoverNode).Count | Should -Be $(Get-Lab).Machines.Where( { $_.Roles.Name -contains 'FailoverNode'... | /content/code_sandbox/AutomatedLabTest/tests/FailoverNode.tests.ps1 | powershell | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 172 |
```powershell
Describe "[$($Lab.Name)] VisualStudio2015" -Tag VisualStudio2015 {
Context "Role deployment successful" {
It "[VisualStudio2015] Should return the correct amount of machines" {
(Get-LabVm -Role VisualStudio2015).Count | Should -Be $(Get-Lab).Machines.Where({$_.Roles.Name -contains 'Vis... | /content/code_sandbox/AutomatedLabTest/tests/VisualStudio2015.tests.ps1 | powershell | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 90 |
```powershell
Describe "[$($Lab.Name)] Tfs2017" -Tag Tfs2017 {
Context "Role deployment successful" {
It "[Tfs2017] Should return the correct amount of machines" {
(Get-LabVm -Role Tfs2017).Count | Should -Be $(Get-Lab).Machines.Where({$_.Roles.Name -contains 'Tfs2017'}).Count
}
for... | /content/code_sandbox/AutomatedLabTest/tests/Tfs2017.tests.ps1 | powershell | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 223 |
```powershell
Describe "[$($Lab.Name)] Office2016" -Tag Office2016 {
Context "Role deployment successful" {
It "[Office2016] Should return the correct amount of machines" {
(Get-LabVm -Role Office2016).Count | Should -Be $(Get-Lab).Machines.Where({$_.Roles.Name -contains 'Office2016'}).Count
... | /content/code_sandbox/AutomatedLabTest/tests/Office2016.tests.ps1 | powershell | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 85 |
```powershell
BeforeDiscovery {
[hashtable[]] $fullCases = foreach ($vm in (Get-LabVm -Role DynamicsFull))
{
@{vm = $vm }
}
}
Describe "[$((Get-Lab).Name)] DynamicsFull" -Tag DynamicsFull {
Context "Role deployment successful" {
It "[DynamicsFull] Should return the correct amount of mac... | /content/code_sandbox/AutomatedLabTest/tests/DynamicsFull.tests.ps1 | powershell | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 209 |
```powershell
Describe "[$($Lab.Name)] General" -Tag General {
Context "Lab deployment successful" {
It "[<LabName>] Should return the correct amount of machines" -TestCases @(@{Lab = $Lab; LabName = $Lab.Name}) {
$machines = if ($Lab.DefaultVirtualizationEngine -eq 'Azure')
... | /content/code_sandbox/AutomatedLabTest/tests/00General.tests.ps1 | powershell | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 191 |
```powershell
Describe "[$((Get-Lab).Name)] LabBuilder" -Tag LabBuilder {
Context "Role deployment successful" {
It "[LabBuilder] Should return the correct amount of machines" {
(Get-LabVM).Where({$_.PreInstallationActivity.Where({$_.IsCustomRole}).RoleName -contains 'LabBuilder' -or $_.PostInst... | /content/code_sandbox/AutomatedLabTest/tests/LabBuilder.tests.ps1 | powershell | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 171 |
```powershell
BeforeDiscovery {
[hashtable[]] $adminCases = foreach ($vm in (Get-LabVm -Role DynamicsAdmin))
{
@{vm = $vm }
}
}
Describe "[$((Get-Lab).Name)] DynamicsAdmin" -Tag DynamicsAdmin {
Context "Role deployment successful" {
It "[DynamicsAdmin] Should return the correct amount o... | /content/code_sandbox/AutomatedLabTest/tests/DynamicsAdmin.tests.ps1 | powershell | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 207 |
```powershell
Describe "[$($Lab.Name)] SCVMM2022" -Tag SCVMM2022 {
Context "Role deployment successful" {
It "[SCVMM2022] Should return the correct amount of machines" {
(Get-LabVm -Role SCVMM2022).Count | Should -Be $(Get-Lab).Machines.Where({$_.Roles.Name -contains 'SCVMM2022'}).Count
}
... | /content/code_sandbox/AutomatedLabTest/tests/SCVMM2022.tests.ps1 | powershell | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 274 |
```powershell
Describe "[$($Lab.Name)] DC" -Tag DC {
Context "Role deployment successful" {
It "[DC] Should return the correct amount of machines" {
(Get-LabVm -Role DC).Count | Should -Be $(Get-Lab).Machines.Where({$_.Roles.Name -contains 'DC'}).Count
}
}
}
``` | /content/code_sandbox/AutomatedLabTest/tests/DC.tests.ps1 | powershell | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 75 |
```powershell
Describe "[$($Lab.Name)] ScomConsole" -Tag ScomConsole {
Context "Role deployment successful" {
It "[ScomConsole] Should return the correct amount of machines" {
(Get-LabVm -Role ScomConsole).Count | Should -Be $(Get-Lab).Machines.Where({$_.Roles.Name -contains 'ScomConsole... | /content/code_sandbox/AutomatedLabTest/tests/ScomConsole.tests.ps1 | powershell | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 199 |
```powershell
Describe "[$($Lab.Name)] SharePoint2016" -Tag SharePoint2016 {
Context "Role deployment successful" {
It "[SharePoint2016] Should return the correct amount of machines" {
(Get-LabVm -Role SharePoint2016).Count | Should -Be $(Get-Lab).Machines.Where({$_.Roles.Name -contains 'SharePoint2... | /content/code_sandbox/AutomatedLabTest/tests/SharePoint2016.tests.ps1 | powershell | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 238 |
```powershell
Describe "[$($Lab.Name)] SQLServer2008R2" -Tag SQLServer2008R2 {
Context "Role deployment successful" {
It "[SQLServer2008R2] Should return the correct amount of machines" {
(Get-LabVm -Role SQLServer2008R2).Count | Should -Be $(Get-Lab).Machines.Where({$_.Roles.Name -contains 'SQLServ... | /content/code_sandbox/AutomatedLabTest/tests/SQLServer2008R2.tests.ps1 | powershell | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 302 |
```powershell
Describe "[$($Lab.Name)] ADFSWAP" -Tag ADFSWAP {
Context "Role deployment successful" {
It "[ADFSWAP] Should return the correct amount of machines" {
(Get-LabVm -Role ADFSWAP).Count | Should -Be $(Get-Lab).Machines.Where({$_.Roles.Name -contains 'ADFSWAP'}).Count
}
}
}
``... | /content/code_sandbox/AutomatedLabTest/tests/ADFSWAP.tests.ps1 | powershell | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 90 |
```powershell
Describe "[$($Lab.Name)] SCVMM2019" -Tag SCVMM2019 {
Context "Role deployment successful" {
It "[SCVMM2019] Should return the correct amount of machines" {
(Get-LabVm -Role SCVMM2019).Count | Should -Be $(Get-Lab).Machines.Where({$_.Roles.Name -contains 'SCVMM2019'}).Count
}
... | /content/code_sandbox/AutomatedLabTest/tests/SCVMM2019.tests.ps1 | powershell | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 274 |
```powershell
Describe "[$($Lab.Name)] ADFS" -Tag ADFS {
Context "Role deployment successful" {
It "[ADFS] Should return the correct amount of machines" {
(Get-LabVm -Role ADFS).Count | Should -Be $(Get-Lab).Machines.Where({$_.Roles.Name -contains 'ADFS'}).Count
}
}
}
``` | /content/code_sandbox/AutomatedLabTest/tests/ADFS.tests.ps1 | powershell | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 80 |
```powershell
Describe "[$($Lab.Name)] Orchestrator2012" -Tag Orchestrator2012 {
Context "Role deployment successful" {
It "[Orchestrator2012] Should return the correct amount of machines" {
(Get-LabVm -Role Orchestrator2012).Count | Should -Be $(Get-Lab).Machines.Where({$_.Roles.Name -contains 'Orc... | /content/code_sandbox/AutomatedLabTest/tests/Orchestrator2012.tests.ps1 | powershell | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 97 |
```powershell
Describe "[$($Lab.Name)] WebServer" -Tag WebServer {
Context "Role deployment successful" {
It "[WebServer] Should return the correct amount of machines" {
(Get-LabVM -Role WebServer).Count | Should -Be $(Get-Lab).Machines.Where( { $_.Roles.Name -contains 'WebServer' }).Count
... | /content/code_sandbox/AutomatedLabTest/tests/WebServer.tests.ps1 | powershell | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 291 |
```powershell
Describe "[$((Get-Lab).Name)] RemoteDesktopConnectionBroker" -Tag RemoteDesktopConnectionBroker {
Context "Role deployment successful" {
It "[RemoteDesktopConnectionBroker] Should return the correct amount of machines" {
(Get-LabVm -Role RemoteDesktopConnectionBroker).Count | Shoul... | /content/code_sandbox/AutomatedLabTest/tests/RemoteDesktopConnectionBroker.tests.ps1 | powershell | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 191 |
```powershell
Describe "[$($Lab.Name)] ADFSProxy" -Tag ADFSProxy {
Context "Role deployment successful" {
It "[ADFSProxy] Should return the correct amount of machines" {
(Get-LabVm -Role ADFSProxy).Count | Should -Be $(Get-Lab).Machines.Where({$_.Roles.Name -contains 'ADFSProxy'}).Count
}
... | /content/code_sandbox/AutomatedLabTest/tests/ADFSProxy.tests.ps1 | powershell | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 85 |
```powershell
Describe "[$($Lab.Name)] VisualStudio2013" -Tag VisualStudio2013 {
Context "Role deployment successful" {
It "[VisualStudio2013] Should return the correct amount of machines" {
(Get-LabVm -Role VisualStudio2013).Count | Should -Be $(Get-Lab).Machines.Where({$_.Roles.Name -contains 'Vis... | /content/code_sandbox/AutomatedLabTest/tests/VisualStudio2013.tests.ps1 | powershell | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 90 |
```powershell
BeforeDiscovery {
[hashtable[]] $backendCases = foreach ($vm in (Get-LabVm -Role DynamicsBackend))
{
@{vm = $vm }
}
}
Describe "[$((Get-Lab).Name)] DynamicsBackend" -Tag DynamicsBackend {
Context "Role deployment successful" {
It "[DynamicsBackend] Should return the correc... | /content/code_sandbox/AutomatedLabTest/tests/DynamicsBackend.tests.ps1 | powershell | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 207 |
```powershell
Describe "[$($Lab.Name)] ConfigurationManager" -Tag ConfigurationManager {
Context "Role deployment successful" {
It "[ConfigurationManager] Should return the correct amount of machines" {
(Get-LabVM -Role ConfigurationManager).Count | Should -Be $(Get-Lab).Machines.Where( { $_.Rol... | /content/code_sandbox/AutomatedLabTest/tests/ConfigurationManager.tests.ps1 | powershell | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 264 |
```powershell
Describe "[$($Lab.Name)] WindowsAdminCenter" -Tag WindowsAdminCenter {
Context "Role deployment successful" {
foreach ($vm in $((Get-LabVM).Where({$_.PostInstallationActivity.Where({$_.IsCustomRole}).RoleName -contains 'WindowsAdminCenter'})))
{
It "[$vm] URL access... | /content/code_sandbox/AutomatedLabTest/tests/WindowsAdminCenter.tests.ps1 | powershell | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 294 |
```powershell
Describe "[$((Get-Lab).Name)] RemoteDesktopLicensing" -Tag RemoteDesktopLicensing {
Context "Role deployment successful" {
It "[RemoteDesktopLicensing] Should return the correct amount of machines" {
(Get-LabVm -Role RemoteDesktopLicensing).Count | Should -Be $(Get-Lab).Machines.Wh... | /content/code_sandbox/AutomatedLabTest/tests/RemoteDesktopLicensing.tests.ps1 | powershell | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 158 |
```powershell
Describe "[$($Lab.Name)] SharePoint2013" -Tag SharePoint2013 {
Context "Role deployment successful" {
It "[SharePoint2013] Should return the correct amount of machines" {
(Get-LabVm -Role SharePoint2013).Count | Should -Be $(Get-Lab).Machines.Where({$_.Roles.Name -contains 'SharePoint2... | /content/code_sandbox/AutomatedLabTest/tests/SharePoint2013.tests.ps1 | powershell | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 238 |
```powershell
Describe "[$($Lab.Name)] Routing" -Tag Routing {
Context "Role deployment successful" {
It "[Routing] Should return the correct amount of machines" {
(Get-LabVm -Role Routing).Count | Should -Be $(Get-Lab).Machines.Where({$_.Roles.Name -contains 'Routing'}).Count
}
for... | /content/code_sandbox/AutomatedLabTest/tests/Routing.tests.ps1 | powershell | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 192 |
```powershell
Describe "[$($Lab.Name)] ScomManagement" -Tag ScomManagement {
Context "Role deployment successful" {
It "[ScomManagement] Should return the correct amount of machines" {
(Get-LabVm -Role ScomManagement).Count | Should -Be $(Get-Lab).Machines.Where({$_.Roles.Name -contains 'ScomManagem... | /content/code_sandbox/AutomatedLabTest/tests/ScomManagement.tests.ps1 | powershell | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 195 |
```powershell
Describe "[$($Lab.Name)] FileServer" -Tag FileServer {
Context "Role deployment successful" {
It "[FileServer] Should return the correct amount of machines" {
(Get-LabVM -Role FileServer).Count | Should -Be $(Get-Lab).Machines.Where( { $_.Roles.Name -contains 'FileServer' }).Count
... | /content/code_sandbox/AutomatedLabTest/tests/FileServer.tests.ps1 | powershell | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 222 |
```powershell
Describe "[$($Lab.Name)] SQLServer2008" -Tag SQLServer2008 {
Context "Role deployment successful" {
It "[SQLServer2008] Should return the correct amount of machines" {
(Get-LabVm -Role SQLServer2008).Count | Should -Be $(Get-Lab).Machines.Where({$_.Roles.Name -contains 'SQLServer2008'}... | /content/code_sandbox/AutomatedLabTest/tests/SQLServer2008.tests.ps1 | powershell | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 288 |
```powershell
Describe "[$($Lab.Name)] Office2013" -Tag Office2013 {
Context "Role deployment successful" {
It "[Office2013] Should return the correct amount of machines" {
(Get-LabVm -Role Office2013).Count | Should -Be $(Get-Lab).Machines.Where({$_.Roles.Name -contains 'Office2013'}).Count
... | /content/code_sandbox/AutomatedLabTest/tests/Office2013.tests.ps1 | powershell | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 85 |
```powershell
Describe "[$((Get-Lab).Name)] RemoteDesktopSessionHost" -Tag RemoteDesktopSessionHost {
Context "Role deployment successful" {
It "[RemoteDesktopSessionHost] Should return the correct amount of machines" {
(Get-LabVm -Role RemoteDesktopSessionHost).Count | Should -Be $(Get-Lab).Mac... | /content/code_sandbox/AutomatedLabTest/tests/RemoteDesktopSessionHost.tests.ps1 | powershell | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 222 |
```powershell
Describe "[$($Lab.Name)] TfsBuildWorker" -Tag TfsBuildWorker {
Context "Role deployment successful" {
It "[TfsBuildWorker] Should return the correct amount of machines" {
(Get-LabVM -Role TfsBuildWorker).Count | Should -Be $(Get-Lab).Machines.Where( { $_.Roles.Name -contains 'TfsBu... | /content/code_sandbox/AutomatedLabTest/tests/TfsBuildWorker.tests.ps1 | powershell | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 346 |
```powershell
Describe "[$($Lab.Name)] AzDevOps" -Tag AzDevOps {
Context "Role deployment successful" {
It "[AzDevOps] Should return the correct amount of machines" {
(Get-LabVm -Role AzDevOps).Count | Should -Be $(Get-Lab).Machines.Where({$_.Roles.Name -contains 'AzDevOps'}).Count
}
... | /content/code_sandbox/AutomatedLabTest/tests/AzDevOps.tests.ps1 | powershell | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 215 |
```powershell
Describe "[$($Lab.Name)] ScomWebConsole" -Tag ScomWebConsole {
Context "Role deployment successful" {
It "[ScomWebConsole] Should return the correct amount of machines" {
(Get-LabVm -Role ScomWebConsole).Count | Should -Be $(Get-Lab).Machines.Where({$_.Roles.Name -contains ... | /content/code_sandbox/AutomatedLabTest/tests/ScomWebConsole.tests.ps1 | powershell | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 208 |
```powershell
Describe "[$($Lab.Name)] CaRoot" -Tag CaRoot {
Context "Role deployment successful" {
It "[CaRoot] Should return the correct amount of machines" {
(Get-LabVm -Role CaRoot).Count | Should -Be $(Get-Lab).Machines.Where({ $_.Roles.Name -contains 'CaRoot' }).Count
}
fo... | /content/code_sandbox/AutomatedLabTest/tests/CaRoot.tests.ps1 | powershell | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 273 |
```powershell
Describe "[$($Lab.Name)] SQLServer2012" -Tag SQLServer2012 {
Context "Role deployment successful" {
It "[SQLServer2012] Should return the correct amount of machines" {
(Get-LabVm -Role SQLServer2012).Count | Should -Be $(Get-Lab).Machines.Where({$_.Roles.Name -contains 'SQLServer2012'}... | /content/code_sandbox/AutomatedLabTest/tests/SQLServer2012.tests.ps1 | powershell | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 288 |
```powershell
Describe "[$($Lab.Name)] SQLServer2019" -Tag SQLServer2019 {
Context "Role deployment successful" {
It "[SQLServer2019] Should return the correct amount of machines" {
(Get-LabVm -Role SQLServer2019).Count | Should -Be $(Get-Lab).Machines.Where({$_.Roles.Name -contains 'SQLServer2019'}... | /content/code_sandbox/AutomatedLabTest/tests/SQLServer2019.tests.ps1 | powershell | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 288 |
```powershell
function New-LabPesterTest
{
[CmdletBinding()]
param
(
[Parameter(Mandatory)]
[string[]]
$Role,
[Parameter(Mandatory)]
[string]
$Path,
[Parameter()]
[switch]
$IsCustomRole
)
foreach ($r in $Role)
{
$... | /content/code_sandbox/AutomatedLabTest/functions/New-LabPesterTest.ps1 | powershell | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 315 |
```powershell
function Import-LabTestResult
{
[CmdletBinding(DefaultParameterSetName = 'Path')]
param(
[Parameter(ParameterSetName = 'Single')]
[string[]]$Path,
[Parameter(ParameterSetName = 'Path')]
[string]$LogDirectory = [System.Environment]::GetFolderPath('MyDocuments')
... | /content/code_sandbox/AutomatedLabTest/functions/Import-LabTestResult.ps1 | powershell | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 262 |
```powershell
function Invoke-LabPester
{
[CmdletBinding(DefaultParameterSetName = 'ByLab')]
param
(
[Parameter(Mandatory, ParameterSetName = 'ByLab', ValueFromPipeline)]
[AutomatedLab.Lab]
$Lab,
[Parameter(Mandatory, ParameterSetName = 'ByName', ValueFromPipeline)]
... | /content/code_sandbox/AutomatedLabTest/functions/Invoke-LabPester.ps1 | powershell | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 453 |
```powershell
function Test-LabDeployment
{
[CmdletBinding()]
param(
[Parameter(ParameterSetName = 'Path')]
[string[]]$Path,
[Parameter(ParameterSetName = 'All')]
[string]$SampleScriptsPath,
[Parameter(ParameterSetName = 'All')]
[string]$Filter,
[Param... | /content/code_sandbox/AutomatedLabTest/functions/Test-LabDeployment.ps1 | powershell | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 498 |
```powershell
function Invoke-LabScript
{
[CmdletBinding()]
param (
[Parameter(Mandatory)]
[string]$Path,
[hashtable]$Replace
)
$result = New-Object PSObject -Property ([ordered]@{
ScriptName = Split-Path -Path $Path -Leaf
Completed = $false
... | /content/code_sandbox/AutomatedLabTest/internal/functions/Invoke-LabScript.ps1 | powershell | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 424 |
```smalltalk
using System.Collections.Generic;
using System.Linq;
using System.Management.Automation;
using System.Management.Automation.Runspaces;
namespace LabXml
{
public static class PowerShellHelper
{
static Runspace runspace = null;
static PowerShell ps = null;
static PowerShellHe... | /content/code_sandbox/LabXml/PowerShellHelper.cs | smalltalk | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 306 |
```smalltalk
using System;
namespace AutomatedLab
{
[Obsolete("No longer used in V2. Member still defined due to compatibility.")]
public enum MachineTypes
{
Unknown = 0,
Server = 1,
Client = 2
}
public enum PartitionStyle
{
MBR,
GPT
}
public en... | /content/code_sandbox/LabXml/Enums.cs | smalltalk | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 1,154 |
```smalltalk
using System;
using System.Collections.ObjectModel;
using System.Management.Automation;
namespace AutomatedLab
{
public class DynamicVariable : PSVariable
{
public DynamicVariable(
string name,
ScriptBlock scriptGetter,
ScriptBlock scriptSetter)
... | /content/code_sandbox/LabXml/DynamicVariable.cs | smalltalk | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 225 |
```smalltalk
using System;
namespace AutomatedLab
{
[Serializable]
public class LocalDisk
{
private char driveLetter;
private string serial;
private UInt32 signature;
private double readSpeed;
private double writeSpeed;
public char DriveLetter
{
... | /content/code_sandbox/LabXml/Disks/LocalDisk.cs | smalltalk | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 441 |
```smalltalk
namespace AutomatedLab
{
public class Disk
{
public bool SkipInitialization { get; set; }
public string Path { get; set; }
public string Name { get; set; }
public int DiskSize { get; set; }
public long AllocationUnitSize { get; set; }
pub... | /content/code_sandbox/LabXml/Disks/Disk.cs | smalltalk | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 179 |
```smalltalk
using System;
using System.Runtime.InteropServices;
namespace AutomatedLab
{
public class DiskSpaceWin32
{
[DllImport("kernel32.dll", SetLastError=true, CharSet=CharSet.Auto)]
[return: MarshalAs(UnmanagedType.Bool)]
public static extern bool GetDiskFreeSpaceEx(string lpDire... | /content/code_sandbox/LabXml/Disks/DiskSpaceWin32.cs | smalltalk | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 92 |
```smalltalk
using System;
using System.Collections.Generic;
namespace AutomatedLab
{
[Serializable]
public class IsoImage
{
private string name;
private string path;
private long size;
private MachineTypes? imageType;
private string referenceDisk;
private Li... | /content/code_sandbox/LabXml/Disks/ISO.cs | smalltalk | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 362 |
```smalltalk
using System;
using Microsoft.ApplicationInsights;
using Microsoft.ApplicationInsights.Extensibility;
using System.Collections.Generic;
using Microsoft.ApplicationInsights.Channel;
using Microsoft.ApplicationInsights.DataContracts;
using System.Linq;
using System.Diagnostics;
using Microsoft.ApplicationIns... | /content/code_sandbox/LabXml/Telemetry/LabTelemetry.cs | smalltalk | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 1,917 |
```smalltalk
/// <summary>
/// Serializable version of the System.Version class.
/// </summary>
using System;
using System.Globalization;
namespace AutomatedLab
{
[Serializable]
public class Version : ICloneable, IComparable
{
private int major;
private int minor;
private int build;... | /content/code_sandbox/LabXml/Machines/Version.cs | smalltalk | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 3,086 |
```smalltalk
using System;
using System.Linq;
using System.Xml.Serialization;
namespace AutomatedLab
{
[Serializable]
public class Role
{
private Roles name;
private SerializableDictionary<string, string> properties;
[XmlAttribute]
public Roles Name
{
ge... | /content/code_sandbox/LabXml/Machines/Role.cs | smalltalk | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 232 |
```smalltalk
using System;
namespace AutomatedLab
{
/// <summary>
/// Lowest common denominator of Azure and HyperV snapshots
/// </summary>
[Serializable]
public class Snapshot
{
/// <summary>
/// The name of the snapshot.
/// </summary>
public string SnapshotNa... | /content/code_sandbox/LabXml/Machines/Snapshot.cs | smalltalk | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 299 |
```smalltalk
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
namespace AutomatedLab.Machines
{
[Serializable]
[XmlRoot(ElementName = "configuration")]
public class MachineVmConnectConfig : XmlStore<MachineVmConnectConfig>
{
[XmlArray("Microsoft.Virtualization.Cli... | /content/code_sandbox/LabXml/Machines/MachineVmConnectConfig.cs | smalltalk | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 190 |
```smalltalk
using System;
using System.Collections.Generic;
using System.Management.Automation;
using System.Xml.Serialization;
namespace AutomatedLab
{
[Serializable]
public class InstallationActivity
{
private Path dependencyFolder;
private string scriptFileName;
private string s... | /content/code_sandbox/LabXml/Machines/InstallationActivity.cs | smalltalk | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 478 |
```smalltalk
using System;
using System.Xml.Serialization;
using System.Collections.Generic;
using System.Linq;
using LabXml;
namespace AutomatedLab
{
[Serializable]
public class OperatingSystem
{
private string operatingSystemName;
private string operatingSystemImageName;
private s... | /content/code_sandbox/LabXml/Machines/OperatingSystem.cs | smalltalk | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 3,879 |
```smalltalk
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Xml.Serialization;
namespace AutomatedLab
{
[Serializable]
public class ProductKey
{
[XmlAttribute]
public string OperatingSystemName { get; set; }
... | /content/code_sandbox/LabXml/Machines/ProductKey.cs | smalltalk | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 105 |
```smalltalk
namespace AutomatedLab
{
public enum FeatureState
{
Installed,
Available,
Removed
}
public class WindowsFeature
{
public string Name { get; set; }
public string ComputerName { get; set; }
public string FeatureName
{
... | /content/code_sandbox/LabXml/Machines/WindowsFeature.cs | smalltalk | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 94 |
```smalltalk
using System;
using System.Management.Automation;
namespace AutomatedLab
{
[Serializable]
public class SoftwarePackage
{
private string path;
private string commandLine;
private string processName;
private int timeout;
private ScriptBlock customProgressC... | /content/code_sandbox/LabXml/Machines/SoftwarePackage.cs | smalltalk | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 242 |
```smalltalk
using System;
using System.Management.Automation;
using System.Security;
namespace AutomatedLab
{
[Serializable]
public class User
{
private string userName;
private string password;
public string UserName
{
get { return userName; }
set ... | /content/code_sandbox/LabXml/Machines/User.cs | smalltalk | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 161 |
```smalltalk
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Management.Automation;
using System.Security;
using System.Xml.Serialization;
namespace AutomatedLab
{
[Serializable]
public class Machine
{
private string name;
private lo... | /content/code_sandbox/LabXml/Machines/Machine.cs | smalltalk | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 2,598 |
```smalltalk
using System.Collections.Generic;
namespace AutomatedLab.Azure
{
//public class AzureAccount : CopiedObject<AzureAccount>
//{
// public string Id { get; set; }
// public SerializableDictionary<int, string> Properties { get; set; }
// public int Type { get; set; }
// pu... | /content/code_sandbox/LabXml/Azure/AzureAccount.cs | smalltalk | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 106 |
```smalltalk
using System;
namespace AutomatedLab.Azure
{
[Serializable]
public class AzureSubscription : CopiedObject<AzureSubscription>
{
public string Id { get; set; }
public string Name { get; set; }
public string State { get; set; }
public string TenantId { get; set; }
... | /content/code_sandbox/LabXml/Azure/AzureSubscription.cs | smalltalk | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 149 |
```smalltalk
using System;
namespace AutomatedLab.Azure
{
[Serializable]
public class AzureAvailabilitySet : CopiedObject<AzureAvailabilitySet>
{
public string Id { get; set; }
public string Location { get; set; }
public string Name { get; set; }
public int? PlatformFaultDo... | /content/code_sandbox/LabXml/Azure/AzureAvailabilitySet.cs | smalltalk | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 126 |
```smalltalk
using System;
namespace AutomatedLab.Azure
{
public enum StatusOptions
{
Ready,
Pending
}
[Serializable]
public class AzureRmServerFarmWithRichSku : CopiedObject<AzureRmServerFarmWithRichSku>
{
public string AdminSiteName { get; set; }
public string... | /content/code_sandbox/LabXml/Azure/AzureRmServerFarmWithRichSku.cs | smalltalk | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 370 |
```smalltalk
using System;
using System.Collections.Generic;
namespace AutomatedLab
{
[Serializable]
public class NetworkAdapter
{
private VirtualNetwork virtualSwitch;
private string interfaceName;
private string macAddress;
private List<IPNetwork> ipv4Address;
priv... | /content/code_sandbox/LabXml/Machines/NetworkAdapter.cs | smalltalk | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 898 |
```smalltalk
using System;
namespace AutomatedLab.Azure
{
[Serializable]
public class AzureConnectionInfo
{
public string ComputerName { get; set; }
public string DnsName { get; set; }
public string HttpsName { get; set; }
public string VIP { get; set; }
public int P... | /content/code_sandbox/LabXml/Azure/AzureConnectionInfo.cs | smalltalk | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 128 |
```smalltalk
using System;
using System.Collections.Generic;
namespace AutomatedLab.Azure
{
[Serializable]
public class AzureRmVmSize : CopiedObject<AzureRmVmSize>
{
public int NumberOfCores { get; set; }
public int MemoryInMB { get; set; }
public string Name { get; set; }
p... | /content/code_sandbox/LabXml/Azure/AzureRmVmSize.cs | smalltalk | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 168 |
```smalltalk
using System;
namespace AutomatedLab.Azure
{
[Serializable]
public class AzureRmResourceGroup : CopiedObject<AzureRmResourceGroup>
{
public string Location { get; set; }
public string ResourceGroupName { get; set; }
public string ProvisioningState { get; set; }
... | /content/code_sandbox/LabXml/Azure/AzureRmResourceGroup.cs | smalltalk | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 134 |
```smalltalk
using System;
using System.Collections.Generic;
namespace AutomatedLab.Azure
{
[Serializable]
public class AzureRm
{
public List<AzureRmService> Services { get; set; }
public List<AzureRmServerFarmWithRichSku> ServicePlans { get; set; }
public AzureRm()
{
... | /content/code_sandbox/LabXml/Azure/AzureRm.cs | smalltalk | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 109 |
```smalltalk
using System;
using System.Collections.Generic;
namespace AutomatedLab.Azure
{
public enum UsageState
{
Normal,
Exceeded
}
public enum SiteAvailabilityState
{
Normal,
Limited,
DisasterRecoveryMode
}
[Serializable]
public class Publi... | /content/code_sandbox/LabXml/Azure/AzureRmService.cs | smalltalk | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 863 |
```smalltalk
using System.Collections.Generic;
namespace AutomatedLab.Azure
{
public class AzureVirtualMachine : CopiedObject<AzureVirtualMachine>
{
public string AvailabilitySetName { get; set; }
public string DeploymentName { get; set; }
public string DNSName { get; set; }
//M... | /content/code_sandbox/LabXml/Azure/AzureVirtualMachine.cs | smalltalk | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 427 |
```smalltalk
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Xml;
namespace AutomatedLab.Azure
{
[AttributeUsage(AttributeTargets.Property)]
public class CustomProperty : Attribute
{
//
// Summary:
// Indicates that a pro... | /content/code_sandbox/LabXml/Azure/CopiedObject.cs | smalltalk | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 3,112 |
```smalltalk
using System;
namespace AutomatedLab.Azure
{
[Serializable]
public class AzureRmSkuDescription : CopiedObject<AzureRmSkuDescription>
{
public int? Capacity { get; set; }
public string Family { get; set; }
public string Name { get; set; }
public string Size { get... | /content/code_sandbox/LabXml/Azure/AzureRmSkuDescription.cs | smalltalk | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 117 |
```smalltalk
using System;
using System.Collections.Generic;
namespace AutomatedLab.Azure
{
[Serializable]
public class AzureLocation : CopiedObject<AzureLocation>
{
public string Location { get; set; }
public string DisplayName { get; set; }
public List<string> Providers { get; set... | /content/code_sandbox/LabXml/Azure/AzureLocation.cs | smalltalk | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 91 |
```smalltalk
using System;
namespace AutomatedLab.Azure
{
public enum SslState
{
Disabled = 0,
SniEnabled = 1,
IpBasedEnabled = 2
}
[Serializable]
public class AzureRmHostNameSslState : CopiedObject<AzureRmHostNameSslState>
{
public string Name { get; set; }
... | /content/code_sandbox/LabXml/Azure/AzureRmHostNameSslState.cs | smalltalk | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 162 |
```smalltalk
using System;
namespace AutomatedLab.Azure
{
public enum ProvisioningState
{
Creating,
ResolvingDNS,
Succeeded
}
public enum AccountStatus
{
Available,
Unavailable
}
public enum AccessTier
{
Hot,
Cool
}
publ... | /content/code_sandbox/LabXml/Azure/AzureRmStorageAccount.cs | smalltalk | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 302 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.