|
403 | 403 | <maml:description/>
|
404 | 404 | </dev:type>
|
405 | 405 | <maml:description>
|
406 |
| - <maml:para> |
407 |
| -System.String</maml:para> |
| 406 | + <maml:para>System.String</maml:para> |
408 | 407 | </maml:description>
|
409 | 408 | </command:inputType>
|
410 | 409 | </command:inputTypes>
|
@@ -5171,10 +5170,9 @@ PS C:\> Get-AzureRmLoadBalancer -Name "myLB" -ResourceGroupName &qu
|
5171 | 5170 | <maml:introduction>
|
5172 | 5171 | <maml:paragraph>PS C:\></maml:paragraph>
|
5173 | 5172 | </maml:introduction>
|
5174 |
| - <dev:code>PS C:\>$Lb = Get-AzureRmLoadBalancer -Name "myLb" -ResourceGroupName "myRg" |
5175 |
| -PS C:\> $Lb | Add-AzureRmLoadBalancerInboundNatRuleConfig -Name "natRule" -FrontendIPConfiguration$lb.Properties.FrontendIPConfigurations[0] -BackendIpConfiguration $Nic.Properties.IpConfigurations[0] -Protocol "Tcp" -FrontendPort 3350 -BackendPort 3350 -IdleTimeoutInSeconds 17 -EnableFloatingIP | Set-AzureRmLoadBalancer</dev:code> |
| 5173 | + <dev:code></dev:code> |
5176 | 5174 | <dev:remarks>
|
5177 |
| - <maml:para>The first command gets the load balancer named myLb, and then stores it in the $Lb variable.</maml:para> |
| 5175 | + <maml:para /> |
5178 | 5176 | <maml:para />
|
5179 | 5177 | <maml:para />
|
5180 | 5178 | <maml:para></maml:para>
|
@@ -5954,10 +5952,9 @@ PS C:\> $Lb | Add-AzureRmLoadBalancerInboundNatRuleConfig -Name "natRule
|
5954 | 5952 | <maml:introduction>
|
5955 | 5953 | <maml:paragraph>PS C:\></maml:paragraph>
|
5956 | 5954 | </maml:introduction>
|
5957 |
| - <dev:code>PS C:\>$LoadBalancer = Get-AzureRmLoadBalancer -Name "MyLoadBalancer" -ResourceGroupName "MyResourceGroup" |
5958 |
| -PS C:\> $LoadBalancer | Add-AzureRmLoadBalancerRuleConfig -Name "LbRuleConfig" -FrontendIPConfiguration $LoadBalancer.Properties.FrontendIPConfigurations[0] -BackendAddressPool $LoadBalancer.Properties.BackendAddressPools[0] -Probe $LoadBalancer.Properties.Probes[0] -Protocol "Tcp" -FrontendPort 80 -BackendPort 80 -IdleTimeoutInSeconds 15 -EnableFloatingIP | Set-AzureRmLoadBalancer</dev:code> |
| 5955 | + <dev:code></dev:code> |
5959 | 5956 | <dev:remarks>
|
5960 |
| - <maml:para>The first command gets an existing load balancer named MyLoadBalancer, and then stores it in the $LoadBalancer variable. The second command adds a newly created rule configuration to this load balancer called "LbRuleConfig" with</maml:para> |
| 5957 | + <maml:para /> |
5961 | 5958 | <maml:para />
|
5962 | 5959 | <maml:para />
|
5963 | 5960 | <maml:para></maml:para>
|
@@ -13234,16 +13231,44 @@ PS C:\> Get-AzureRmLoadBalancerBackendAddressPoolConfig -Name "BackendAd
|
13234 | 13231 | </maml:alertSet>
|
13235 | 13232 | <command:examples>
|
13236 | 13233 | <command:example>
|
13237 |
| - <maml:title>-------------------------- 1: --------------------------</maml:title> |
| 13234 | + <maml:title>-------------------------- Example 1 Getting the frontend IP Configuration of an existing load balancer --------------------------</maml:title> |
13238 | 13235 | <maml:introduction>
|
13239 | 13236 | <maml:paragraph>PS C:\></maml:paragraph>
|
13240 | 13237 | </maml:introduction>
|
13241 |
| - <dev:code></dev:code> |
| 13238 | + <dev:code>PS C:\> $slb = Get-AzureRmLoadBalancer -Name MyLoadBalancer -ResourceGroupName MyResourceGroup |
| 13239 | + |
| 13240 | +PS C:\> Get-AzureRmLoadBalancerFrontendIpConfig -Name "MyFrontEnd" -LoadBalancer $slb</dev:code> |
13242 | 13241 | <dev:remarks>
|
| 13242 | + <maml:para>The first command gets the existing load balancer and stores it within the variable $slb. The second command then gets the front end IP configuration associated with that load balancer.</maml:para> |
13243 | 13243 | <maml:para />
|
13244 | 13244 | <maml:para />
|
13245 |
| - <maml:para /> |
13246 |
| - <maml:para></maml:para> |
| 13245 | + <maml:para>Name : MyFrontEnd |
| 13246 | +Id : /subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/MyResourceGroup/providers/Microsoft. |
| 13247 | + Network/loadBalancers/MyLoadBalancer/frontendIPConfigurations/MyFrontEnd |
| 13248 | +Etag : W/"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" |
| 13249 | +ProvisioningState : Succeeded |
| 13250 | +PrivateIpAddress : |
| 13251 | +PrivateIpAllocationMethod : Dynamic |
| 13252 | +Subnet : null |
| 13253 | +PublicIpAddress : { |
| 13254 | + "Id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/MyResourceGroup/providers/M |
| 13255 | + icrosoft.Network/publicIPAddresses/MyPublicIP" |
| 13256 | + } |
| 13257 | +InboundNatRules : [ |
| 13258 | + { |
| 13259 | + "Id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/MyResourceGroup/providers |
| 13260 | + /Microsoft.Network/loadBalancers/MyLoadBalancer/inboundNatRules/MyinboundNatRule1" |
| 13261 | + }, |
| 13262 | + |
| 13263 | + } |
| 13264 | + ] |
| 13265 | +LoadBalancingRules : [ |
| 13266 | + { |
| 13267 | + "Id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/MyResourceGroup/providers |
| 13268 | + /Microsoft.Network/loadBalancers/MyLoadBalancer/loadBalancingRules/MyLBruleName" |
| 13269 | + } |
| 13270 | + ] |
| 13271 | +InboundNatPools : []</maml:para> |
13247 | 13272 | </dev:remarks>
|
13248 | 13273 | <command:commandLines>
|
13249 | 13274 | <command:commandLine>
|
@@ -13564,12 +13589,38 @@ PS C:\> Get-AzureRmLoadBalancerBackendAddressPoolConfig -Name "BackendAd
|
13564 | 13589 | <maml:introduction>
|
13565 | 13590 | <maml:paragraph>PS C:\></maml:paragraph>
|
13566 | 13591 | </maml:introduction>
|
13567 |
| - <dev:code></dev:code> |
| 13592 | + <dev:code>PS C:\> $slb = Get-AzureRmLoadBalancer -Name MyLoadBalancer -ResourceGroupName MyResourceGroup |
| 13593 | + |
| 13594 | +PS C:\> Get-AzureRmLoadBalancerInboundNatRuleConfig -Name "MyinboundNatRule1" -LoadBalancer $slb |
| 13595 | +</dev:code> |
13568 | 13596 | <dev:remarks>
|
| 13597 | + <maml:para>The first command gets the existing load balancer for which the inbound NAT rule is wanted and stores it in the variable slb. The second command then gets the accodiated NAT rule called MyinboundNatRule1.</maml:para> |
| 13598 | + <maml:para>Below is the sample output:</maml:para> |
13569 | 13599 | <maml:para />
|
13570 | 13600 | <maml:para />
|
13571 |
| - <maml:para /> |
13572 |
| - <maml:para></maml:para> |
| 13601 | + <maml:para>Name : MyinboundNatRule1 |
| 13602 | +Id : /subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/MyResourceGroup/ |
| 13603 | + providers/Microsoft.Network/loadBalancers/MyLoadBalancer/inboundNatRules/Myinbound |
| 13604 | + NatRule1 |
| 13605 | +Etag : W/"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" |
| 13606 | +ProvisioningState : Succeeded |
| 13607 | +Protocol : Tcp |
| 13608 | +FrontendPort : 3389 |
| 13609 | +BackendPort : 3389 |
| 13610 | +IdleTimeoutInMinutes : 15 |
| 13611 | +EnableFloatingIP : True |
| 13612 | +FrontendIPConfiguration : { |
| 13613 | + "Id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/ |
| 13614 | + MyResourceGroup/providers/Microsoft.Network/loadBalancers/MyLoadBalancer/frontendIPConfig |
| 13615 | + urations/MyFrontEnd" |
| 13616 | + } |
| 13617 | +BackendIPConfiguration : { |
| 13618 | + "Id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/ |
| 13619 | + MyResourceGroup/providers/Microsoft.Network/networkInterfaces/lb-nic1-be/ipConfigur |
| 13620 | + ations/ipconfig1", |
| 13621 | + "Primary": false |
| 13622 | + } |
| 13623 | +</maml:para> |
13573 | 13624 | </dev:remarks>
|
13574 | 13625 | <command:commandLines>
|
13575 | 13626 | <command:commandLine>
|
@@ -13747,16 +13798,38 @@ PS C:\> Get-AzureRmLoadBalancerBackendAddressPoolConfig -Name "BackendAd
|
13747 | 13798 | </maml:alertSet>
|
13748 | 13799 | <command:examples>
|
13749 | 13800 | <command:example>
|
13750 |
| - <maml:title>-------------------------- 1: --------------------------</maml:title> |
| 13801 | + <maml:title>-------------------------- Example 1 Getting probe configuration of an existing load balancer --------------------------</maml:title> |
13751 | 13802 | <maml:introduction>
|
13752 | 13803 | <maml:paragraph>PS C:\></maml:paragraph>
|
13753 | 13804 | </maml:introduction>
|
13754 |
| - <dev:code></dev:code> |
| 13805 | + <dev:code>PS C:\> $slb = Get-AzureRmLoadBalancer -Name "MyLoadBalancer" -ResourceGroupName "MyResourceGroup" |
| 13806 | + |
| 13807 | +PS C:\> Get-AzureRmLoadBalancerProbeConfig -Name "MyProbe" -LoadBalancer $slb |
| 13808 | +</dev:code> |
13755 | 13809 | <dev:remarks>
|
| 13810 | + <maml:para>The first command gets the load balancer called "MyLoadBalancer" and stores it in the variable $slb. The second command then gets the associated probe configuration called MyProbe.</maml:para> |
| 13811 | + <maml:para> |
| 13812 | +Below is sample output:</maml:para> |
13756 | 13813 | <maml:para />
|
13757 | 13814 | <maml:para />
|
13758 |
| - <maml:para /> |
13759 |
| - <maml:para></maml:para> |
| 13815 | + <maml:para> |
| 13816 | +Name : MyProbe |
| 13817 | +Id : /subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/MyResourceGroup/provi |
| 13818 | + ders/Microsoft.Network/loadBalancers/MyLoadBalancer/probes/MyProbe |
| 13819 | +Etag : W/"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" |
| 13820 | +ProvisioningState : Succeeded |
| 13821 | +Protocol : Http |
| 13822 | +Port : 80 |
| 13823 | +IntervalInSeconds : 15 |
| 13824 | +NumberOfProbes : 2 |
| 13825 | +RequestPath : healthcheck.aspx |
| 13826 | +LoadBalancingRules : [ |
| 13827 | + { |
| 13828 | + "Id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/MyResourceGroup |
| 13829 | + /providers/Microsoft.Network/loadBalancers/MyLoadBalancer/loadBalancingRules/MyLBr |
| 13830 | + uleName" |
| 13831 | + } |
| 13832 | + ]</maml:para> |
13760 | 13833 | </dev:remarks>
|
13761 | 13834 | <command:commandLines>
|
13762 | 13835 | <command:commandLine>
|
@@ -13934,16 +14007,41 @@ PS C:\> Get-AzureRmLoadBalancerBackendAddressPoolConfig -Name "BackendAd
|
13934 | 14007 | </maml:alertSet>
|
13935 | 14008 | <command:examples>
|
13936 | 14009 | <command:example>
|
13937 |
| - <maml:title>-------------------------- 1: --------------------------</maml:title> |
| 14010 | + <maml:title>-------------------------- Example 1 Gets the rule configuration of an existing load balancer --------------------------</maml:title> |
13938 | 14011 | <maml:introduction>
|
13939 | 14012 | <maml:paragraph>PS C:\></maml:paragraph>
|
13940 | 14013 | </maml:introduction>
|
13941 |
| - <dev:code></dev:code> |
| 14014 | + <dev:code>PS C:\> $slb = Get-AzureRmLoadBalancer -Name MyLoadBalancer -ResourceGroupName MyResourceGroup |
| 14015 | + |
| 14016 | +PS C:\> Get-AzureRmLoadBalancerRuleConfig -Name "MyLBrulename" -LoadBalancer $slb |
| 14017 | +</dev:code> |
13942 | 14018 | <dev:remarks>
|
| 14019 | + <maml:para>The first command gets the load balancer and stores it in the variable $slb. The second command gets the associated rule configuration called MyLBrulename.</maml:para> |
| 14020 | + <maml:para>Below is sample output:</maml:para> |
13943 | 14021 | <maml:para />
|
13944 | 14022 | <maml:para />
|
13945 |
| - <maml:para /> |
13946 |
| - <maml:para></maml:para> |
| 14023 | + <maml:para>Name : MyLBruleName |
| 14024 | +Id : /subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/MyResourceGroup/provi |
| 14025 | + ders/Microsoft.Network/loadBalancers/MyLoadBalancer/probes/MyLBrulename |
| 14026 | +Etag : W/"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" |
| 14027 | +ProvisioningState : Succeeded |
| 14028 | +Protocol : Tcp |
| 14029 | +FrontendPort : 80 |
| 14030 | +BackendPort : 80 |
| 14031 | +IdleTimeoutInMinutes : 15 |
| 14032 | +v : SourceIP |
| 14033 | +EnableFloatingIP : True |
| 14034 | +FrontendIPConfiguration : { |
| 14035 | + "Id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/MyResourceGroup |
| 14036 | + /providers/Microsoft.Network/loadBalancers/MyLoadBalancer//frontendIPConfig |
| 14037 | + urations/MyFrontEnd" |
| 14038 | + } |
| 14039 | +BackendAddressPool : |
| 14040 | +Probe : { |
| 14041 | + "Id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/MyResourceGroup |
| 14042 | + /providers/Microsoft.Network/loadBalancers/MyLoadBalancer/probes/MyProbe" |
| 14043 | + |
| 14044 | + }</maml:para> |
13947 | 14045 | </dev:remarks>
|
13948 | 14046 | <command:commandLines>
|
13949 | 14047 | <command:commandLine>
|
|
0 commit comments