Skip to content

Commit 19633f5

Browse files
committed
Added more e2e scenarios
1 parent 6495d52 commit 19633f5

1 file changed

Lines changed: 36 additions & 4 deletions

File tree

Infrastructure/README.md

Lines changed: 36 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -407,11 +407,9 @@ Demonstrates using multiple commands together for an end to end scenario.
407407
### Recover an Infrastructure Role Instance that has an Alert assigned.
408408

409409
```powershell
410-
#Declare Credentials
411-
$credential = Get-Credential
412-
413410
#Retrieve all Alerts and apply a filter to only show active Alerts
414411
$Active=Get-AzSAlert -AzureStackCredentials $credential -TenantID $TenantID -EnvironmentName "AzureStackAdmin"|where {$_.state -eq "active"}
412+
$Active
415413
416414
#Stop Infra Role Instance
417415
Stop-AzSInfraRoleInstance -AzureStackCredentials $credential -TenantID $TenantID -EnvironmentName "AzureStackAdmin" -Name $Active.resourceName
@@ -421,4 +419,38 @@ Start-AzSInfraRoleInstance -AzureStackCredentials $credential -TenantID $TenantI
421419
422420
#Validate if error is resolved (Can take up to 3min)
423421
Get-AzSAlert -AzureStackCredentials $credential -TenantID $TenantID -EnvironmentName "AzureStackAdmin"|where {$_.state -eq "active"}
424-
```
422+
```
423+
424+
### Increase Public IP Pool Capacity
425+
```powershell
426+
#Retrieve all Alerts and apply a filter to only show active Alerts
427+
$Active=Get-AzSAlert -AzureStackCredentials $cred -TenantID $TenantID -EnvironmentName "AzureStackAdmin"|where {$_.state -eq "active"}
428+
$Active
429+
430+
#Review IP Pool Allocation
431+
Get-AzSIPPool -AzureStackCredentials $credential -TenantID $TenantID -EnvironmentName "AzureStackAdmin"
432+
433+
#Add New Public IP Pool
434+
Add-AzSIPPool -AzureStackCredentials $credential -TenantID $TenantID -EnvironmentName "AzureStackAdmin" -Name "NewPublicIPPool" -StartIPAddress "192.168.80.0" -EndIPAddress "192.168.80.255" -AddressPrefix "192.168.80.0/24"
435+
436+
#Validate new IP Pool
437+
Get-AzSIPPool -AzureStackCredentials $credential -TenantID $TenantID -EnvironmentName "AzureStackAdmin"
438+
```
439+
440+
### Apply Update to Azure Stack
441+
```powershell
442+
#Review Current Region Update Summary
443+
Get-AzSUpdateSummary -AzureStackCredentials $credential -TenantID $TenantID -EnvironmentName "AzureStackAdmin"
444+
445+
#Check for available and applicable updates
446+
Get-AzSUpdate -AzureStackCredentials $credential -TenantID $TenantID -EnvironmentName "AzureStackAdmin"
447+
448+
#Apply Update
449+
Install-AzSUpdate -AzureStackCredentials $credential -TenantID $TenantID -EnvironmentName "AzureStackAdmin" -vupdate "2.0.0.0"
450+
451+
#Check Update Run
452+
Get-AzSUpdateRun -AzureStackCredentials $credential -TenantID $TenantID -EnvironmentName "AzureStackAdmin" -vupdate "2.0.0.0"
453+
454+
#Review Region Update Summary after successful run
455+
Get-AzSUpdateSummary -AzureStackCredentials $credential -TenantID $TenantID -EnvironmentName "AzureStackAdmin"
456+
```

0 commit comments

Comments
 (0)