Skip to content

Commit 474e681

Browse files
authored
Merge pull request #221 from troettinger/vnext
Rename StorageCapacity to StorageSubsystem, Update Readme
2 parents b7e70be + 53f38a5 commit 474e681

2 files changed

Lines changed: 16 additions & 16 deletions

File tree

Infrastructure/AzureStack.Infra.psm1

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -103,24 +103,24 @@ export-modulemember -function Get-AzSScaleUnitNode
103103
.SYNOPSIS
104104
List total storage capacity
105105
#>
106-
Function Get-AzSStorageCapacity{
106+
Function Get-AzSStorageSubsystem{
107107
[CmdletBinding(DefaultParameterSetName='GetStorageCapacity')]
108108
Param(
109109

110-
[Parameter(Mandatory=$true, ParameterSetName='GetStorageCapacity')]
110+
[Parameter(Mandatory=$true, ParameterSetName='GetStorageSubsystem')]
111111
[ValidateNotNullorEmpty()]
112112
[String] $TenantId,
113113

114-
[Parameter(Mandatory=$true, ParameterSetName='GetStorageCapacity')]
114+
[Parameter(Mandatory=$true, ParameterSetName='GetStorageSubsystem')]
115115
[ValidateNotNullorEmpty()]
116116
[System.Management.Automation.PSCredential] $azureStackCredentials,
117117

118-
[Parameter(Mandatory=$true, HelpMessage="The Azure Stack Administrator Environment Name", ParameterSetName='GetStorageCapacity')]
118+
[Parameter(Mandatory=$true, HelpMessage="The Azure Stack Administrator Environment Name", ParameterSetName='GetStorageSubsystem')]
119119

120120
[string] $EnvironmentName,
121121

122122

123-
[Parameter(ParameterSetName='GetStorageCapacity')]
123+
[Parameter(ParameterSetName='GetStorageSubsystem')]
124124
[string] $region = 'local'
125125
)
126126
$ARMEndpoint = GetARMEndpoint -EnvironmentName $EnvironmentName -ErrorAction Stop
@@ -133,7 +133,7 @@ Function Get-AzSStorageCapacity{
133133
$storageprop|select name,location,properties
134134

135135
}
136-
export-modulemember -function Get-AzSStorageCapacity
136+
export-modulemember -function Get-AzSStorageSubsystem
137137

138138
<#
139139
.SYNOPSIS

Infrastructure/README.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -81,20 +81,20 @@ The command does the following:
8181
- Close active Alert
8282

8383

84-
### Get Region Update Summary
84+
### Get Update Location
8585

86-
Review the Update Summary for a specified region.
86+
Review details about the Region related to updates.
8787

8888
```powershell
8989
$credential = Get-Credential
90-
Get-AzSUpdateSummary -AzureStackCredentials $credential -TenantID $TenantID -EnvironmentName "AzureStackAdmin"
90+
Get-AzSUpdateLocation -AzureStackCredentials $credential -TenantID $TenantID -EnvironmentName "AzureStackAdmin"
9191
```
9292

93-
Note: The cmdlet requires credentials to retrieve Region Update Summary. Provide the administrator Azure Active Directory credentials, such as *&lt;Admin Account&gt;*@*&lt;mydirectory&gt;*.onmicrosoft.com or the ADFS credentials, to the prompt.
93+
Note: The cmdlet requires credentials to retrieve Update Location. Provide the administrator Azure Active Directory credentials, such as *&lt;Admin Account&gt;*@*&lt;mydirectory&gt;*.onmicrosoft.com or the ADFS credentials, to the prompt.
9494

9595
The command does the following:
9696
- Authenticates to the Azure Stack environment
97-
- Retrieves Region Update Summary
97+
- Retrieves details about the update location
9898

9999

100100
### Get Azure Stack Update
@@ -225,20 +225,20 @@ The command does the following:
225225
- Lists logical Networks
226226

227227

228-
### List Storage Capacity
228+
### List Storage Subsystem
229229

230-
Does return the total capacity of the storage subsystem
230+
Does return details about the Storage Subsystem
231231

232232
```powershell
233233
$credential = Get-Credential
234-
Get-AzSStorageCapacity -AzureStackCredentials $credential -TenantID $TenantID -EnvironmentName "AzureStackAdmin"
234+
Get-AzSStorageSubsystem -AzureStackCredentials $credential -TenantID $TenantID -EnvironmentName "AzureStackAdmin"
235235
```
236236

237-
Note: The cmdlet requires credentials to retrieve total storage capacity. Provide the administrator Azure Active Directory credentials, such as *&lt;Admin Account&gt;*@*&lt;mydirectory&gt;*.onmicrosoft.com or the ADFS credentials, to the prompt.
237+
Note: The cmdlet requires credentials to retrieve storage subsystem details. Provide the administrator Azure Active Directory credentials, such as *&lt;Admin Account&gt;*@*&lt;mydirectory&gt;*.onmicrosoft.com or the ADFS credentials, to the prompt.
238238

239239
The command does the following:
240240
- Authenticates to the Azure Stack environment
241-
- Lists total storage capacity for the storage subsystem
241+
- Lists detail about the storage subsystem
242242

243243

244244
### List Storage Shares

0 commit comments

Comments
 (0)