Skip to content

Commit c4c8d70

Browse files
committed
Renamed some Cmdlets to use approved verbs and set alias for old Cmdlet names
1 parent f606611 commit c4c8d70

1 file changed

Lines changed: 8 additions & 4 deletions

File tree

src/StorageGRID-Webscale.psm1

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3462,6 +3462,7 @@ function Global:Update-SgwAccount {
34623462
}
34633463
}
34643464

3465+
New-Alias -Name Replace-SgwAccount -Value Set-SgwAccount
34653466
<#
34663467
.SYNOPSIS
34673468
Replace a StorageGRID Account
@@ -3484,7 +3485,7 @@ function Global:Update-SgwAccount {
34843485
.PARAMETER Quota
34853486
Quota for tenant in bytes.
34863487
#>
3487-
function Global:Replace-SgwAccount {
3488+
function Global:Set-SgwAccount {
34883489
[CmdletBinding()]
34893490

34903491
PARAM (
@@ -4012,6 +4013,7 @@ function Global:Get-SgwAudit {
40124013
}
40134014
}
40144015

4016+
New-Alias -Name Replace-SgwAudit -Value Set-SgwAudit
40154017
<#
40164018
.SYNOPSIS
40174019
Replace the audit configuration
@@ -4032,7 +4034,7 @@ function Global:Get-SgwAudit {
40324034
.PARAMETER LoggedHeaders
40334035
Logged headers.
40344036
#>
4035-
function Global:Replace-SgwAudit {
4037+
function Global:Set-SgwAudit {
40364038
[CmdletBinding()]
40374039

40384040
PARAM (
@@ -7786,6 +7788,7 @@ function Global:Get-SgwDnsServers {
77867788
}
77877789
}
77887790

7791+
New-Alias -Name Replace-SgwDnsServers -Value Set-SgwDnsServers
77897792
<#
77907793
.SYNOPSIS
77917794
Retrieve StorageGRID DNS Servers
@@ -7798,7 +7801,7 @@ function Global:Get-SgwDnsServers {
77987801
.PARAMETER DnsServers
77997802
List of IP addresses of the external DNS servers.
78007803
#>
7801-
function Global:Replace-SgwDnsServers {
7804+
function Global:Set-SgwDnsServers {
78027805
[CmdletBinding()]
78037806

78047807
PARAM (
@@ -11395,6 +11398,7 @@ function Global:Update-SgwGroup {
1139511398
}
1139611399
}
1139711400

11401+
New-Alias -Name Replace-SgwGroup -Value Set-SgwGroup
1139811402
<#
1139911403
.SYNOPSIS
1140011404
Replace a single Grid Administrator Group
@@ -11447,7 +11451,7 @@ function Global:Update-SgwGroup {
1144711451
.PARAMETER SwiftRoles
1144811452
Swift roles to grant.
1144911453
#>
11450-
function Global:Replace-SgwGroup {
11454+
function Global:Set-SgwGroup {
1145111455
[CmdletBinding()]
1145211456

1145311457
PARAM (

0 commit comments

Comments
 (0)