Skip to content

Commit 4fcdb7a

Browse files
committed
Minor changes to other cmdlets
1 parent aa3b90f commit 4fcdb7a

27 files changed

+1608
-64
lines changed

src/SignalR/SignalR/Cmdlets/GetAzureRmSignalRKey.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ namespace Microsoft.Azure.Commands.SignalR.Cmdlets
2323
{
2424
[Cmdlet("Get", ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "SignalRKey", DefaultParameterSetName = ResourceGroupParameterSet)]
2525
[OutputType(typeof(PSSignalRKeys))]
26-
public class GetAzureRmSignalRKey : SignalRCmdletBase, IWithInputObject, IWithResourceId
26+
public class GetAzureRmSignalRKey : SignalRCmdletBase, IWithSignalRInputObject, IWithResourceId
2727
{
2828
[Parameter(
2929
Mandatory = false,
@@ -70,7 +70,7 @@ public override void ExecuteCmdlet()
7070
this.LoadFromResourceId();
7171
break;
7272
case InputObjectParameterSet:
73-
this.LoadFromInputObject();
73+
this.LoadFromSignalRInputObject();
7474
break;
7575
default:
7676
throw new ArgumentException(Resources.ParameterSetError);

src/SignalR/SignalR/Cmdlets/NewAzureRmSignalRKey.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ namespace Microsoft.Azure.Commands.SignalR.Cmdlets
2424
{
2525
[Cmdlet("New", ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "SignalRKey", SupportsShouldProcess = true, DefaultParameterSetName = ResourceGroupParameterSet)]
2626
[OutputType(typeof(bool))]
27-
public class NewAzureRmSignalRKey : SignalRCmdletBase, IWithInputObject, IWithResourceId
27+
public class NewAzureRmSignalRKey : SignalRCmdletBase, IWithSignalRInputObject, IWithResourceId
2828
{
2929
[Parameter(
3030
Mandatory = false,
@@ -79,7 +79,7 @@ public override void ExecuteCmdlet()
7979
this.LoadFromResourceId();
8080
break;
8181
case InputObjectParameterSet:
82-
this.LoadFromInputObject();
82+
this.LoadFromSignalRInputObject();
8383
break;
8484
default:
8585
throw new ArgumentException(Resources.ParameterSetError);

src/SignalR/SignalR/Cmdlets/RestartAzureRmSignalR.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ namespace Microsoft.Azure.Commands.SignalR.Cmdlets
2323
{
2424
[Cmdlet("Restart", ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "SignalR", SupportsShouldProcess = true, DefaultParameterSetName = ResourceGroupParameterSet)]
2525
[OutputType(typeof(bool))]
26-
public class RestartAzureRmSignalR : SignalRCmdletBase, IWithInputObject, IWithResourceId
26+
public class RestartAzureRmSignalR : SignalRCmdletBase, IWithSignalRInputObject, IWithResourceId
2727
{
2828
[Parameter(
2929
Mandatory = false,
@@ -81,7 +81,7 @@ public override void ExecuteCmdlet()
8181
this.LoadFromResourceId();
8282
break;
8383
case InputObjectParameterSet:
84-
this.LoadFromInputObject();
84+
this.LoadFromSignalRInputObject();
8585
break;
8686
default:
8787
throw new ArgumentException(Resources.ParameterSetError);

src/SignalR/SignalR/Cmdlets/SetAzureRmSignalRUpstream.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ namespace Microsoft.Azure.Commands.SignalR.Cmdlets
2525
{
2626
[Cmdlet("Set", ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "SignalR" + "Upstream", SupportsShouldProcess = true, DefaultParameterSetName = ResourceGroupParameterSet)]
2727
[OutputType(typeof(PSServerlessUpstreamSettings))]
28-
public class SetAzureRmSignalRUpstream : SignalRCmdletBase, IWithResourceId, IWithInputObject
28+
public class SetAzureRmSignalRUpstream : SignalRCmdletBase, IWithResourceId, IWithSignalRInputObject
2929
{
3030
[Parameter(
3131
Mandatory = false,
@@ -94,7 +94,7 @@ public override void ExecuteCmdlet()
9494
this.LoadFromResourceId();
9595
break;
9696
case InputObjectParameterSet:
97-
this.LoadFromInputObject();
97+
this.LoadFromSignalRInputObject();
9898
break;
9999
default:
100100
throw new ArgumentException(Resources.ParameterSetError);

src/SignalR/SignalR/Cmdlets/UpdateAzureRmSignalRNetworkAcl.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ namespace Microsoft.Azure.Commands.SignalR.Cmdlets
2727
[Cmdlet("Update", ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "SignalR" + "NetworkAcl", SupportsShouldProcess = true, DefaultParameterSetName = ResourceGroupParameterSet)]
2828
[OutputType(typeof(PSSignalRNetworkAcls))]
2929
public class UpdateAzureRmSignalRNetworkAcl : SignalRCmdletBase,
30-
IWithResourceId, IWithInputObject
30+
IWithResourceId, IWithSignalRInputObject
3131
{
3232
private const string ClientConnection = "ClientConnection";
3333
private const string ServerConnection = "ServerConnection";
@@ -116,7 +116,7 @@ public override void ExecuteCmdlet()
116116
this.LoadFromResourceId();
117117
break;
118118
case InputObjectParameterSet:
119-
this.LoadFromInputObject();
119+
this.LoadFromSignalRInputObject();
120120
break;
121121
default:
122122
throw new ArgumentException(Resources.ParameterSetError);

src/SignalR/SignalR/help/Get-AzSignalRKey.md

Lines changed: 18 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,19 +15,19 @@ Get the access keys of a SignalR service.
1515
### ResourceGroupParameterSet (Default)
1616
```
1717
Get-AzSignalRKey [-ResourceGroupName <String>] [-Name] <String> [-DefaultProfile <IAzureContextContainer>]
18-
[<CommonParameters>]
18+
[-ProgressAction <ActionPreference>] [<CommonParameters>]
1919
```
2020

2121
### ResourceIdParameterSet
2222
```
2323
Get-AzSignalRKey -ResourceId <String> [-DefaultProfile <IAzureContextContainer>]
24-
[<CommonParameters>]
24+
[-ProgressAction <ActionPreference>] [<CommonParameters>]
2525
```
2626

2727
### InputObjectParameterSet
2828
```
2929
Get-AzSignalRKey -InputObject <PSSignalRResource> [-DefaultProfile <IAzureContextContainer>]
30-
[<CommonParameters>]
30+
[-ProgressAction <ActionPreference>] [<CommonParameters>]
3131
```
3232

3333
## DESCRIPTION
@@ -113,6 +113,21 @@ Accept pipeline input: False
113113
Accept wildcard characters: False
114114
```
115115
116+
### -ProgressAction
117+
{{ Fill ProgressAction Description }}
118+
119+
```yaml
120+
Type: System.Management.Automation.ActionPreference
121+
Parameter Sets: (All)
122+
Aliases: proga
123+
124+
Required: False
125+
Position: Named
126+
Default value: None
127+
Accept pipeline input: False
128+
Accept wildcard characters: False
129+
```
130+
116131
### -ResourceGroupName
117132
Resource group name.
118133

src/SignalR/SignalR/help/Get-AzSignalRUsage.md

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Get the usage quota of a subscription.
1414

1515
```
1616
Get-AzSignalRUsage [-Location] <String> [-DefaultProfile <IAzureContextContainer>]
17-
[<CommonParameters>]
17+
[-ProgressAction <ActionPreference>] [<CommonParameters>]
1818
```
1919

2020
## DESCRIPTION
@@ -66,6 +66,21 @@ Accept pipeline input: False
6666
Accept wildcard characters: False
6767
```
6868
69+
### -ProgressAction
70+
{{ Fill ProgressAction Description }}
71+
72+
```yaml
73+
Type: System.Management.Automation.ActionPreference
74+
Parameter Sets: (All)
75+
Aliases: proga
76+
77+
Required: False
78+
Position: Named
79+
Default value: None
80+
Accept pipeline input: False
81+
Accept wildcard characters: False
82+
```
83+
6984
### CommonParameters
7085
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216).
7186

src/SignalR/SignalR/help/Get-AzWebPubSub.md

Lines changed: 117 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,25 +14,33 @@ Get the resource and its properties.
1414

1515
### List (Default)
1616
```
17-
Get-AzWebPubSub [-SubscriptionId <String[]>] [-DefaultProfile <PSObject>]
17+
Get-AzWebPubSub [-SubscriptionId <String[]>] [-DefaultProfile <PSObject>] [-Break]
18+
[-HttpPipelineAppend <SendAsyncStep[]>] [-HttpPipelinePrepend <SendAsyncStep[]>] [-Proxy <Uri>]
19+
[-ProxyCredential <PSCredential>] [-ProxyUseDefaultCredentials] [-ProgressAction <ActionPreference>]
1820
[<CommonParameters>]
1921
```
2022

2123
### Get
2224
```
2325
Get-AzWebPubSub -Name <String> -ResourceGroupName <String> [-SubscriptionId <String[]>]
24-
[-DefaultProfile <PSObject>] [<CommonParameters>]
26+
[-DefaultProfile <PSObject>] [-Break] [-HttpPipelineAppend <SendAsyncStep[]>]
27+
[-HttpPipelinePrepend <SendAsyncStep[]>] [-Proxy <Uri>] [-ProxyCredential <PSCredential>]
28+
[-ProxyUseDefaultCredentials] [-ProgressAction <ActionPreference>] [<CommonParameters>]
2529
```
2630

2731
### List1
2832
```
29-
Get-AzWebPubSub -ResourceGroupName <String> [-SubscriptionId <String[]>] [-DefaultProfile <PSObject>]
33+
Get-AzWebPubSub -ResourceGroupName <String> [-SubscriptionId <String[]>] [-DefaultProfile <PSObject>] [-Break]
34+
[-HttpPipelineAppend <SendAsyncStep[]>] [-HttpPipelinePrepend <SendAsyncStep[]>] [-Proxy <Uri>]
35+
[-ProxyCredential <PSCredential>] [-ProxyUseDefaultCredentials] [-ProgressAction <ActionPreference>]
3036
[<CommonParameters>]
3137
```
3238

3339
### GetViaIdentity
3440
```
35-
Get-AzWebPubSub -InputObject <IWebPubSubIdentity> [-DefaultProfile <PSObject>]
41+
Get-AzWebPubSub -InputObject <IWebPubSubIdentity> [-DefaultProfile <PSObject>] [-Break]
42+
[-HttpPipelineAppend <SendAsyncStep[]>] [-HttpPipelinePrepend <SendAsyncStep[]>] [-Proxy <Uri>]
43+
[-ProxyCredential <PSCredential>] [-ProxyUseDefaultCredentials] [-ProgressAction <ActionPreference>]
3644
[<CommonParameters>]
3745
```
3846

@@ -92,6 +100,21 @@ psdemo-wps eastus Standard_S1
92100

93101
## PARAMETERS
94102

103+
### -Break
104+
Wait for .NET debugger to attach
105+
106+
```yaml
107+
Type: System.Management.Automation.SwitchParameter
108+
Parameter Sets: (All)
109+
Aliases:
110+
111+
Required: False
112+
Position: Named
113+
Default value: False
114+
Accept pipeline input: False
115+
Accept wildcard characters: False
116+
```
117+
95118
### -DefaultProfile
96119
The DefaultProfile parameter is not functional.
97120
Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription.
@@ -108,6 +131,36 @@ Accept pipeline input: False
108131
Accept wildcard characters: False
109132
```
110133
134+
### -HttpPipelineAppend
135+
SendAsync Pipeline Steps to be appended to the front of the pipeline
136+
137+
```yaml
138+
Type: Microsoft.Azure.PowerShell.Cmdlets.WebPubSub.Runtime.SendAsyncStep[]
139+
Parameter Sets: (All)
140+
Aliases:
141+
142+
Required: False
143+
Position: Named
144+
Default value: None
145+
Accept pipeline input: False
146+
Accept wildcard characters: False
147+
```
148+
149+
### -HttpPipelinePrepend
150+
SendAsync Pipeline Steps to be prepended to the front of the pipeline
151+
152+
```yaml
153+
Type: Microsoft.Azure.PowerShell.Cmdlets.WebPubSub.Runtime.SendAsyncStep[]
154+
Parameter Sets: (All)
155+
Aliases:
156+
157+
Required: False
158+
Position: Named
159+
Default value: None
160+
Accept pipeline input: False
161+
Accept wildcard characters: False
162+
```
163+
111164
### -InputObject
112165
Identity Parameter
113166
To construct, see NOTES section for INPUTOBJECT properties and create a hash table.
@@ -139,6 +192,66 @@ Accept pipeline input: False
139192
Accept wildcard characters: False
140193
```
141194
195+
### -ProgressAction
196+
{{ Fill ProgressAction Description }}
197+
198+
```yaml
199+
Type: System.Management.Automation.ActionPreference
200+
Parameter Sets: (All)
201+
Aliases: proga
202+
203+
Required: False
204+
Position: Named
205+
Default value: None
206+
Accept pipeline input: False
207+
Accept wildcard characters: False
208+
```
209+
210+
### -Proxy
211+
The URI for the proxy server to use
212+
213+
```yaml
214+
Type: System.Uri
215+
Parameter Sets: (All)
216+
Aliases:
217+
218+
Required: False
219+
Position: Named
220+
Default value: None
221+
Accept pipeline input: False
222+
Accept wildcard characters: False
223+
```
224+
225+
### -ProxyCredential
226+
Credentials for a proxy server to use for the remote call
227+
228+
```yaml
229+
Type: System.Management.Automation.PSCredential
230+
Parameter Sets: (All)
231+
Aliases:
232+
233+
Required: False
234+
Position: Named
235+
Default value: None
236+
Accept pipeline input: False
237+
Accept wildcard characters: False
238+
```
239+
240+
### -ProxyUseDefaultCredentials
241+
Use the default credentials for the proxy
242+
243+
```yaml
244+
Type: System.Management.Automation.SwitchParameter
245+
Parameter Sets: (All)
246+
Aliases:
247+
248+
Required: False
249+
Position: Named
250+
Default value: False
251+
Accept pipeline input: False
252+
Accept wildcard characters: False
253+
```
254+
142255
### -ResourceGroupName
143256
The name of the resource group that contains the resource.
144257
You can obtain this value from the Azure Resource Manager API or the portal.

0 commit comments

Comments
 (0)