Skip to content

Commit 08a4dcd

Browse files
authored
Merge pull request Azure#41 from josya/dev
Add remaining examples for Azs.Network.Admin
2 parents 22620e3 + 203ac48 commit 08a4dcd

File tree

2 files changed

+37
-10
lines changed

2 files changed

+37
-10
lines changed

src/Azs.Network.Admin/examples/Get-AzsPublicIPAddress.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
### Example 1: Default Get
22
```powershell
3-
PS C:\> Get-AzsNetworkQuota -Location northwest
3+
PS C:\> Get-AzsPublicIPAddress
44
55
AllocationMethod : Dynamic
66
IPAddress : 100.81.128.46
Lines changed: 36 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,45 @@
1-
### Example 1: {{ Add title here }}
1+
### Example 1: Default Set
22
```powershell
3-
PS C:\> {{ Add code here }}
3+
PS C:\> Set-AzsNetworkQuota -Name MyQuota
44
5-
{{ Add output here }}
5+
Id : /subscriptions/3ff3b1de-e7f5-43ad-b057-ace4767e7d01/providers/Microsoft.Network.Admin/location
6+
s/northwest/quotas/MyQuota
7+
Location : northwest
8+
MaxLoadBalancersPerSubscription : 0
9+
MaxNicsPerSubscription : 0
10+
MaxPublicIpsPerSubscription : 0
11+
MaxSecurityGroupsPerSubscription : 0
12+
MaxVirtualNetworkGatewayConnectionsPerSubscription : 0
13+
MaxVirtualNetworkGatewaysPerSubscription : 0
14+
MaxVnetsPerSubscription : 0
15+
MigrationPhase : None
16+
Name : northwest/MyQuota
17+
ProvisioningState : Succeeded
18+
Tag : Microsoft.Azure.PowerShell.Cmdlets.NetworkAdmin.Models.Api20150615.ResourceTags
19+
Type : Microsoft.Network.Admin/quotas
620
```
721

8-
{{ Add description here }}
22+
Returns MyQuota with default values of 0.
923

10-
### Example 2: {{ Add title here }}
24+
### Example 2: Set default value for MaxLoadBalancersPerSubscription
1125
```powershell
12-
PS C:\> {{ Add code here }}
26+
PS C:\> Set-AzsNetworkQuota -Name MyQuota -MaxLoadBalancersPerSubscription 20
1327
14-
{{ Add output here }}
28+
Id : /subscriptions/3ff3b1de-e7f5-43ad-b057-ace4767e7d01/providers/Microsoft.Network.Admin/location
29+
s/northwest/quotas/MyQuota
30+
Location : northwest
31+
MaxLoadBalancersPerSubscription : 20
32+
MaxNicsPerSubscription : 0
33+
MaxPublicIpsPerSubscription : 0
34+
MaxSecurityGroupsPerSubscription : 0
35+
MaxVirtualNetworkGatewayConnectionsPerSubscription : 0
36+
MaxVirtualNetworkGatewaysPerSubscription : 0
37+
MaxVnetsPerSubscription : 0
38+
MigrationPhase : None
39+
Name : northwest/MyQuota
40+
ProvisioningState : Succeeded
41+
Tag : Microsoft.Azure.PowerShell.Cmdlets.NetworkAdmin.Models.Api20150615.ResourceTags
42+
Type : Microsoft.Network.Admin/quotas
1543
```
1644

17-
{{ Add description here }}
18-
45+
Returns MyQuota with the values specified in the parameters.

0 commit comments

Comments
 (0)