|
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>
|
@@ -3835,7 +3834,7 @@ PS C:\> $AppGW = Add-AzureRmApplicationGatewaySslCertificate -ApplicationGate
|
3835 | 3834 | <dev:version />
|
3836 | 3835 | </command:details>
|
3837 | 3836 | <maml:description>
|
3838 |
| - <maml:para>The Add-AzureRmLoadBalancerBackend cmdlet adds a backend address pool to an Azure load balancer.</maml:para> |
| 3837 | + <maml:para>The Add-AzureRmLoadBalancerBackend cmdlet adds a backend address pool to an Azure load balancer. This backend address pool contains network interfaces for the virtual machine to receive network traffic from the load balancer.</maml:para> |
3839 | 3838 | </maml:description>
|
3840 | 3839 | <command:syntax>
|
3841 | 3840 | <command:syntaxItem>
|
@@ -4026,7 +4025,7 @@ PS C:\> $AppGW = Add-AzureRmApplicationGatewaySslCertificate -ApplicationGate
|
4026 | 4025 | <dev:version />
|
4027 | 4026 | </command:details>
|
4028 | 4027 | <maml:description>
|
4029 |
| - <maml:para>The Add-AzureRmLoadBalancerFrontendIpConifg cmdlet adds a front-end IP configuration to an Azure load balancer.</maml:para> |
| 4028 | + <maml:para>The Add-AzureRmLoadBalancerFrontendIpConifg cmdlet adds a front-end IP configuration to an Azure load balancer. This frontend IP configuration contains public IP addresses for incoming network traffic.</maml:para> |
4030 | 4029 | </maml:description>
|
4031 | 4030 | <command:syntax>
|
4032 | 4031 | <command:syntaxItem>
|
@@ -4835,7 +4834,7 @@ PS C:\> Get-AzureRmLoadBalancer -Name "myLB" -ResourceGroupName &qu
|
4835 | 4834 | <dev:version />
|
4836 | 4835 | </command:details>
|
4837 | 4836 | <maml:description>
|
4838 |
| - <maml:para>The Add-AzureRmLoadBalancerInboundNatRuleConfig cmdlet adds an inbound network address translation (NAT) rule configuration to an Azure load balancer.</maml:para> |
| 4837 | + <maml:para>The Add-AzureRmLoadBalancerInboundNatRuleConfig cmdlet adds an inbound network address translation rule configuration to an Azure load balancer. This configuration contains rules mapping a public port on the load balancer to a port for a specific virtual machine in the backend address pool.</maml:para> |
4839 | 4838 | </maml:description>
|
4840 | 4839 | <command:syntax>
|
4841 | 4840 | <command:syntaxItem>
|
@@ -5171,13 +5170,45 @@ 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>PS C:\> $slb = Get-AzureRmLoadBalancer -Name "MyLoadBalancer" -ResourceGroupName "MyResourceGroup" |
| 5174 | + |
| 5175 | +PS C:\> $slb | Add-AzureRmLoadBalancerInboundNatRuleConfig -Name "NewNatRule" -FrontendIPConfiguration $slb.FrontendIpConfigurations[0] -Protocol "Tcp" -FrontendPort 3350 -BackendPort 3350 -EnableFloatingIP</dev:code> |
5176 | 5176 | <dev:remarks>
|
5177 |
| - <maml:para>The first command gets the load balancer named myLb, and then stores it in the $Lb variable.</maml:para> |
| 5177 | + <maml:para>The first command stores the existing load balancer called "MyloadBalancer" into a varibale called $slb. The second command then adds an Inbound NAT rule configuration with appropriate details. Note that these are chosen as an example and these may change based on one's loadbalancer.</maml:para> |
5178 | 5178 | <maml:para />
|
5179 | 5179 | <maml:para />
|
5180 |
| - <maml:para></maml:para> |
| 5180 | + <maml:para>Name : MyLoadBalancer |
| 5181 | +ResourceGroupName : MyResourceGroup |
| 5182 | +Location : westus |
| 5183 | +Id : /subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/MyResourceGroup/providers/Microsoft.Network/loadBalancers/MyLoadBalancer |
| 5184 | +Etag : W/"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" |
| 5185 | +ResourceGuid : xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx |
| 5186 | +ProvisioningState : Succeeded |
| 5187 | +Tags : |
| 5188 | +FrontendIpConfigurations : [] |
| 5189 | +BackendAddressPools : [] |
| 5190 | +LoadBalancingRules : [] |
| 5191 | +Probes : [] |
| 5192 | +InboundNatRules : [ |
| 5193 | + |
| 5194 | + { |
| 5195 | + "Name": "NewNatRule", |
| 5196 | + "Etag": "W/\"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"", |
| 5197 | + "Id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/MyResourceGroup/providers/Microsoft.Network/loadBalancers/MyLoadBalancer/inbo |
| 5198 | + undNatRules/NewRule", |
| 5199 | + "FrontendPort": 81, |
| 5200 | + "IdleTimeoutInMinutes": 4, |
| 5201 | + "EnableFloatingIP": true, |
| 5202 | + "FrontendIPConfiguration": { |
| 5203 | + "Id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/MyResourceGroup/providers/Microsoft.Network/loadBalancers/MyLoadBalancer/fr |
| 5204 | + ontendIPConfigurations/MyFrontEnd" |
| 5205 | + }, |
| 5206 | + "BackendPort": 8181, |
| 5207 | + "Protocol": "Tcp", |
| 5208 | + "ProvisioningState": "Succeeded" |
| 5209 | + } |
| 5210 | + ] |
| 5211 | +InboundNatPools : []</maml:para> |
5181 | 5212 | </dev:remarks>
|
5182 | 5213 | <command:commandLines>
|
5183 | 5214 | <command:commandLine>
|
@@ -5230,7 +5261,7 @@ PS C:\> $Lb | Add-AzureRmLoadBalancerInboundNatRuleConfig -Name "natRule
|
5230 | 5261 | <dev:version />
|
5231 | 5262 | </command:details>
|
5232 | 5263 | <maml:description>
|
5233 |
| - <maml:para>The Add-AzureRmLoadBalancerProbeConfig cmdlet adds a probe configuration to an Azure load balancer.</maml:para> |
| 5264 | + <maml:para>The Add-AzureRmLoadBalancerProbeConfig cmdlet adds a probe configuration to an Azure load balancer. This contains health probes used to check availability of virtual machines instances in the backend address pool.</maml:para> |
5234 | 5265 | </maml:description>
|
5235 | 5266 | <command:syntax>
|
5236 | 5267 | <command:syntaxItem>
|
@@ -5516,7 +5547,7 @@ PS C:\> $Lb | Add-AzureRmLoadBalancerInboundNatRuleConfig -Name "natRule
|
5516 | 5547 | <dev:version />
|
5517 | 5548 | </command:details>
|
5518 | 5549 | <maml:description>
|
5519 |
| - <maml:para>The Add-AzureRmLoadBalancerRuleConfig cmdlet adds a rule configuration to an Azure load balancer.</maml:para> |
| 5550 | + <maml:para>The Add-AzureRmLoadBalancerRuleConfig cmdlet adds a rule configuration to an Azure load balancer. This rule configuration contains rules mapping a public port on the load balancer to a port in the back end address pool.</maml:para> |
5520 | 5551 | </maml:description>
|
5521 | 5552 | <command:syntax>
|
5522 | 5553 | <command:syntaxItem>
|
@@ -5954,10 +5985,11 @@ PS C:\> $Lb | Add-AzureRmLoadBalancerInboundNatRuleConfig -Name "natRule
|
5954 | 5985 | <maml:introduction>
|
5955 | 5986 | <maml:paragraph>PS C:\></maml:paragraph>
|
5956 | 5987 | </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> |
| 5988 | + <dev:code>PS C:\> $slb = Get-AzureRmLoadBalancer -Name "MyLoadBalancer" -ResourceGroupName "MyResourceGroup" |
| 5989 | + |
| 5990 | +PS C:\> $slb | Add-AzureRmLoadBalancerRuleConfig -Name "NewRule" -FrontendIPConfiguration $slb.FrontendIpConfigurations[0] -Protocol "Tcp" -FrontendPort 3350 -BackendPort 3350 -EnableFloatingIP</dev:code> |
5959 | 5991 | <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> |
| 5992 | + <maml:para>The first command stores the existing load balancer called "MyLoadBalancer" in variable $slb. The second command then adds the rule called "NewRule" with certain specifications.</maml:para> |
5961 | 5993 | <maml:para />
|
5962 | 5994 | <maml:para />
|
5963 | 5995 | <maml:para></maml:para>
|
@@ -13234,16 +13266,44 @@ PS C:\> Get-AzureRmLoadBalancerBackendAddressPoolConfig -Name "BackendAd
|
13234 | 13266 | </maml:alertSet>
|
13235 | 13267 | <command:examples>
|
13236 | 13268 | <command:example>
|
13237 |
| - <maml:title>-------------------------- 1: --------------------------</maml:title> |
| 13269 | + <maml:title>-------------------------- Example 1 Getting the frontend IP Configuration of an existing load balancer --------------------------</maml:title> |
13238 | 13270 | <maml:introduction>
|
13239 | 13271 | <maml:paragraph>PS C:\></maml:paragraph>
|
13240 | 13272 | </maml:introduction>
|
13241 |
| - <dev:code></dev:code> |
| 13273 | + <dev:code>PS C:\> $slb = Get-AzureRmLoadBalancer -Name MyLoadBalancer -ResourceGroupName MyResourceGroup |
| 13274 | + |
| 13275 | +PS C:\> Get-AzureRmLoadBalancerFrontendIpConfig -Name "MyFrontEnd" -LoadBalancer $slb</dev:code> |
13242 | 13276 | <dev:remarks>
|
| 13277 | + <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 | 13278 | <maml:para />
|
13244 | 13279 | <maml:para />
|
13245 |
| - <maml:para /> |
13246 |
| - <maml:para></maml:para> |
| 13280 | + <maml:para>Name : MyFrontEnd |
| 13281 | +Id : /subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/MyResourceGroup/providers/Microsoft. |
| 13282 | + Network/loadBalancers/MyLoadBalancer/frontendIPConfigurations/MyFrontEnd |
| 13283 | +Etag : W/"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" |
| 13284 | +ProvisioningState : Succeeded |
| 13285 | +PrivateIpAddress : |
| 13286 | +PrivateIpAllocationMethod : Dynamic |
| 13287 | +Subnet : null |
| 13288 | +PublicIpAddress : { |
| 13289 | + "Id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/MyResourceGroup/providers/M |
| 13290 | + icrosoft.Network/publicIPAddresses/MyPublicIP" |
| 13291 | + } |
| 13292 | +InboundNatRules : [ |
| 13293 | + { |
| 13294 | + "Id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/MyResourceGroup/providers |
| 13295 | + /Microsoft.Network/loadBalancers/MyLoadBalancer/inboundNatRules/MyinboundNatRule1" |
| 13296 | + }, |
| 13297 | + |
| 13298 | + } |
| 13299 | + ] |
| 13300 | +LoadBalancingRules : [ |
| 13301 | + { |
| 13302 | + "Id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/MyResourceGroup/providers |
| 13303 | + /Microsoft.Network/loadBalancers/MyLoadBalancer/loadBalancingRules/MyLBruleName" |
| 13304 | + } |
| 13305 | + ] |
| 13306 | +InboundNatPools : []</maml:para> |
13247 | 13307 | </dev:remarks>
|
13248 | 13308 | <command:commandLines>
|
13249 | 13309 | <command:commandLine>
|
@@ -13564,9 +13624,11 @@ PS C:\> Get-AzureRmLoadBalancerBackendAddressPoolConfig -Name "BackendAd
|
13564 | 13624 | <maml:introduction>
|
13565 | 13625 | <maml:paragraph>PS C:\></maml:paragraph>
|
13566 | 13626 | </maml:introduction>
|
13567 |
| - <dev:code></dev:code> |
| 13627 | + <dev:code>PS C:\> $slb = Get-AzureRmLoadBalancer -Name MyLoadBalancer -ResourceGroupName MyResourceGroup |
| 13628 | + |
| 13629 | +PS C:\> Get-AzureRmLoadBalancerInboundNatRuleConfig -Name "MyinboundNatRule1" -LoadBalancer $slb</dev:code> |
13568 | 13630 | <dev:remarks>
|
13569 |
| - <maml:para /> |
| 13631 | + <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> |
13570 | 13632 | <maml:para />
|
13571 | 13633 | <maml:para />
|
13572 | 13634 | <maml:para></maml:para>
|
@@ -13747,13 +13809,15 @@ PS C:\> Get-AzureRmLoadBalancerBackendAddressPoolConfig -Name "BackendAd
|
13747 | 13809 | </maml:alertSet>
|
13748 | 13810 | <command:examples>
|
13749 | 13811 | <command:example>
|
13750 |
| - <maml:title>-------------------------- 1: --------------------------</maml:title> |
| 13812 | + <maml:title>-------------------------- Example 1 Getting probe configuration of an existing load balancer --------------------------</maml:title> |
13751 | 13813 | <maml:introduction>
|
13752 | 13814 | <maml:paragraph>PS C:\></maml:paragraph>
|
13753 | 13815 | </maml:introduction>
|
13754 |
| - <dev:code></dev:code> |
| 13816 | + <dev:code>PS C:\> $slb = Get-AzureRmLoadBalancer -Name "MyLoadBalancer" -ResourceGroupName "MyResourceGroup" |
| 13817 | + |
| 13818 | +PS C:\> Get-AzureRmLoadBalancerProbeConfig -Name "MyProbe" -LoadBalancer $slb</dev:code> |
13755 | 13819 | <dev:remarks>
|
13756 |
| - <maml:para /> |
| 13820 | + <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> |
13757 | 13821 | <maml:para />
|
13758 | 13822 | <maml:para />
|
13759 | 13823 | <maml:para></maml:para>
|
@@ -13934,13 +13998,15 @@ PS C:\> Get-AzureRmLoadBalancerBackendAddressPoolConfig -Name "BackendAd
|
13934 | 13998 | </maml:alertSet>
|
13935 | 13999 | <command:examples>
|
13936 | 14000 | <command:example>
|
13937 |
| - <maml:title>-------------------------- 1: --------------------------</maml:title> |
| 14001 | + <maml:title>-------------------------- Example 1 Gets the rule configuration of an existing load balancer --------------------------</maml:title> |
13938 | 14002 | <maml:introduction>
|
13939 | 14003 | <maml:paragraph>PS C:\></maml:paragraph>
|
13940 | 14004 | </maml:introduction>
|
13941 |
| - <dev:code></dev:code> |
| 14005 | + <dev:code>PS C:\> $slb = Get-AzureRmLoadBalancer -Name MyLoadBalancer -ResourceGroupName MyResourceGroup |
| 14006 | + |
| 14007 | +PS C:\> Get-AzureRmLoadBalancerRuleConfig -Name "MyLBrulename" -LoadBalancer $slb</dev:code> |
13942 | 14008 | <dev:remarks>
|
13943 |
| - <maml:para /> |
| 14009 | + <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> |
13944 | 14010 | <maml:para />
|
13945 | 14011 | <maml:para />
|
13946 | 14012 | <maml:para></maml:para>
|
@@ -45151,13 +45217,17 @@ PS C:\> $slb | Set-AzureRmLoadBalancerFrontendIpConfig -Name "NewFronten
|
45151 | 45217 | </maml:alertSet>
|
45152 | 45218 | <command:examples>
|
45153 | 45219 | <command:example>
|
45154 |
| - <maml:title>-------------------------- 1: --------------------------</maml:title> |
| 45220 | + <maml:title>-------------------------- Example 1 Updating the inbound NAT rule configuration on an existing load balancer --------------------------</maml:title> |
45155 | 45221 | <maml:introduction>
|
45156 | 45222 | <maml:paragraph>PS C:\></maml:paragraph>
|
45157 | 45223 | </maml:introduction>
|
45158 |
| - <dev:code></dev:code> |
| 45224 | + <dev:code>PS C:\> $slb = Get-AzureRmLoadBalancer -Name "MyLoadBalancer" -ResourceGroupName "MyResourceGroup" |
| 45225 | + |
| 45226 | +PS C:\> $slb | Add-AzureRmLoadBalancerInboundNatRuleConfig -Name "NewNatRule" -FrontendIPConfiguration $slb.FrontendIpConfigurations[0] -Protocol "Tcp" -FrontendPort 3350 -BackendPort 3350 -EnableFloatingIP |
| 45227 | + |
| 45228 | +PS C:\> $slb | Set-AzureRmLoadBalancerInboundNatRuleConfig -Name "NewNatRule" -FrontendIPConfiguration $slb.FrontendIpConfigurations[0] -Protocol "Tcp" -FrontendPort 3350 -BackendPort 3350</dev:code> |
45159 | 45229 | <dev:remarks>
|
45160 |
| - <maml:para /> |
| 45230 | + <maml:para>The first command stores the existing load balancer called "MyloadBalancer" into a varibale called $slb. The second command then adds an Inbound NAT rule configuration with certain properties. One of these is enablibling floating IP. However once added, lets assume one no longer wants this properly enabled, then the third command is used to update this for the load balancer using the Set-AzureRmLoadBalancerInboundNatRuleConfig.</maml:para> |
45161 | 45231 | <maml:para />
|
45162 | 45232 | <maml:para />
|
45163 | 45233 | <maml:para></maml:para>
|
@@ -45925,13 +45995,18 @@ PS C:\> $slb | Set-AzureRmLoadBalancerProbeConfig -Name "NewProbe"
|
45925 | 45995 | </maml:alertSet>
|
45926 | 45996 | <command:examples>
|
45927 | 45997 | <command:example>
|
45928 |
| - <maml:title>-------------------------- 1: --------------------------</maml:title> |
| 45998 | + <maml:title>-------------------------- Example 1 Updating a load balancing rule on an existing load balancer --------------------------</maml:title> |
45929 | 45999 | <maml:introduction>
|
45930 | 46000 | <maml:paragraph>PS C:\></maml:paragraph>
|
45931 | 46001 | </maml:introduction>
|
45932 |
| - <dev:code></dev:code> |
| 46002 | + <dev:code>PS C:\> $slb = Get-AzureRmLoadBalancer -Name "MyLoadBalancer" -ResourceGroupName "MyResourceGroup" |
| 46003 | + |
| 46004 | +PS C:\> $slb | $slb | Add-AzureRmLoadBalancerRuleConfig -Name "NewRule" -FrontendIPConfiguration $slb.FrontendIpConfigurations[0] -Protocol "Tcp" -FrontendPort 3350 -BackendPort 3350 -EnableFloatingIP |
| 46005 | + |
| 46006 | + |
| 46007 | +PS C:\> $slb | Set-AzureRmLoadBalancerRuleConfig -Name "NewRule" -FrontendIPConfiguration $slb.FrontendIpConfigurations[0] -Protocol "Tcp" -FrontendPort 3350 -BackendPort 3350</dev:code> |
45933 | 46008 | <dev:remarks>
|
45934 |
| - <maml:para /> |
| 46009 | + <maml:para>The first command stores an existing load balancer called MyLoadBalancer in the variable $slb. The second command adds a load balancing rule called NewRule with certain specifications. One of these is enabling floating IP to be true. However once added, lets assume one no longer wants this properly enabled, then the third command is used to update this for the load balancer using the Set-AzureRmLoadBalancerRuleConfig.</maml:para> |
45935 | 46010 | <maml:para />
|
45936 | 46011 | <maml:para />
|
45937 | 46012 | <maml:para></maml:para>
|
|
0 commit comments