diff --git a/ChangeLog.txt b/ChangeLog.txt index 79a0bd45f68b..0b24387bb76e 100644 --- a/ChangeLog.txt +++ b/ChangeLog.txt @@ -32,7 +32,7 @@ * Get-AzureLoadBalancerBackendAddressPoolConfig * Get-AzureLoadBalancerFrontendIpConfig * Get-AzureLoadBalancerInboundNatRuleConfig - * Get-AzureLoadBalancerProbeConfig* + * Get-AzureLoadBalancerProbeConfig * Get-AzureLoadBalancerRuleConfig * New-AzureLoadBalancer * New-AzureLoadBalancerBackendAddressPoolConfig @@ -60,6 +60,7 @@ * Remove-AzureNetworkSecurityRuleConfig * Add-AzureNetworkSecurityRuleConfig * Set-AzureNetworkSecurityRuleConfig + * Get-AzureRemoteDesktopFile * Azure Storage * Added cmdlets in AzureResourceManager Mode * New-AzureStorageAccount diff --git a/src/ResourceManager/Compute/Commands.Compute/Commands.Compute.csproj b/src/ResourceManager/Compute/Commands.Compute/Commands.Compute.csproj index 6d089314cc46..45ecf1f2c291 100644 --- a/src/ResourceManager/Compute/Commands.Compute/Commands.Compute.csproj +++ b/src/ResourceManager/Compute/Commands.Compute/Commands.Compute.csproj @@ -76,6 +76,9 @@ ..\..\..\packages\Microsoft.Azure.Management.Compute.5.0.0-preview\lib\net40\Microsoft.Azure.Management.Compute.dll True + + ..\..\..\packages\Microsoft.Azure.Management.Network.2.0.0-preview\lib\net40\Microsoft.Azure.Management.Network.dll + ..\..\..\packages\Microsoft.Azure.Management.Storage.2.4.0-preview\lib\net40\Microsoft.Azure.Management.Storage.dll True @@ -170,6 +173,8 @@ + + @@ -227,6 +232,10 @@ {c60342b1-47d3-4a0e-8081-9b97ce60b7af} Commands.Profile + + {98cfd96b-a6bc-4f15-ae2c-603fc2b58981} + Commands.Network + {e1f5201d-6067-430e-b303-4e367652991b} Commands.Resources diff --git a/src/ResourceManager/Compute/Commands.Compute/Common/ConstantStringTypes.cs b/src/ResourceManager/Compute/Commands.Compute/Common/ConstantStringTypes.cs index 29fc81e11c23..3940364a014d 100644 --- a/src/ResourceManager/Compute/Commands.Compute/Common/ConstantStringTypes.cs +++ b/src/ResourceManager/Compute/Commands.Compute/Common/ConstantStringTypes.cs @@ -89,6 +89,7 @@ public static class ProfileNouns public const string VirtualMachineUsage = "AzureVMUsage"; + public const string RemoteDesktopFile = "AzureRemoteDesktopFile"; public const string SshPublicKey = "AzureVMSshPublicKeyConfig"; public const string AdditionalUnattendContent = "AzureVMAdditionalUnattendContentConfig"; public const string VaultCertificate = "AzureVMVaultCertificateConfig"; diff --git a/src/ResourceManager/Compute/Commands.Compute/Properties/Resources.Designer.cs b/src/ResourceManager/Compute/Commands.Compute/Properties/Resources.Designer.cs index 614451902773..c7605bac79fa 100644 --- a/src/ResourceManager/Compute/Commands.Compute/Properties/Resources.Designer.cs +++ b/src/ResourceManager/Compute/Commands.Compute/Properties/Resources.Designer.cs @@ -96,6 +96,33 @@ public static string VirtualMachineExtensionRemovalConfirmation { } } + /// + /// Looks up a localized string similar to The RDP file cannot be generated because the network interface of the virtual machine does not reference a PublicIP or an InboundNatRule of a public load balancer. . + /// + public static string VirtualMachineNotAssociatedWithPublicIPOrPublicLoadBalancer { + get { + return ResourceManager.GetString("VirtualMachineNotAssociatedWithPublicIPOrPublicLoadBalancer", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to The RDP file cannot be generated because the network interface of the virtual machine does not reference an InboundNatRule of a public load balancer.. + /// + public static string VirtualMachineNotAssociatedWithPublicLoadBalancer { + get { + return ResourceManager.GetString("VirtualMachineNotAssociatedWithPublicLoadBalancer", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to The RDP file cannot be generated because the network interface of the virtual machine does not reference a PublicIP or an InboungNatRule of the load balancer.. + /// + public static string VirtualMachineReferencesInternalNetworkInterface { + get { + return ResourceManager.GetString("VirtualMachineReferencesInternalNetworkInterface", resourceCulture); + } + } + /// /// Looks up a localized string similar to Virtual machine removal operation. /// diff --git a/src/ResourceManager/Compute/Commands.Compute/Properties/Resources.resx b/src/ResourceManager/Compute/Commands.Compute/Properties/Resources.resx index ac21c5d086af..c14a2af5faf2 100644 --- a/src/ResourceManager/Compute/Commands.Compute/Properties/Resources.resx +++ b/src/ResourceManager/Compute/Commands.Compute/Properties/Resources.resx @@ -129,6 +129,15 @@ This cmdlet will remove the specified virtual machine extension. Do you want to continue? + + The RDP file cannot be generated because the network interface of the virtual machine does not reference a PublicIP or an InboundNatRule of a public load balancer. + + + The RDP file cannot be generated because the network interface of the virtual machine does not reference an InboundNatRule of a public load balancer. + + + The RDP file cannot be generated because the network interface of the virtual machine does not reference a PublicIP or an InboungNatRule of the load balancer. + Virtual machine removal operation diff --git a/src/ResourceManager/Compute/Commands.Compute/RemoteDesktop/GetAzureRemoteDesktopFileCommand.cs b/src/ResourceManager/Compute/Commands.Compute/RemoteDesktop/GetAzureRemoteDesktopFileCommand.cs new file mode 100644 index 000000000000..ccd558f2cd99 --- /dev/null +++ b/src/ResourceManager/Compute/Commands.Compute/RemoteDesktop/GetAzureRemoteDesktopFileCommand.cs @@ -0,0 +1,182 @@ +// ---------------------------------------------------------------------------------- +// +// Copyright Microsoft Corporation +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// ---------------------------------------------------------------------------------- + +using System; +using System.IO; +using System.Linq; +using System.Management.Automation; +using Microsoft.Azure.Commands.Compute.Common; +using Microsoft.Azure.Management.Compute; +using Microsoft.Azure.Management.Network; + +namespace Microsoft.Azure.Commands.Compute +{ + [Cmdlet(VerbsCommon.Get, ProfileNouns.RemoteDesktopFile)] + public class GetAzureRemoteDesktopFileCommand : VirtualMachineRemoteDesktopBaseCmdlet + { + [Parameter( + Mandatory = true, + Position = 0, + ValueFromPipelineByPropertyName = true, + HelpMessage = "The resource group name.")] + [ValidateNotNullOrEmpty] + public override string ResourceGroupName { get; set; } + + [Alias("ResourceName", "VMName")] + [Parameter( + Mandatory = true, + Position = 1, + ValueFromPipelineByPropertyName = true, + HelpMessage = "The resource name.")] + [ValidateNotNullOrEmpty] + public override string Name { get; set; } + + [Parameter( + Mandatory = true, + Position = 2, + ValueFromPipelineByPropertyName = true, + HelpMessage = "Path and name of the output RDP file.")] + [ValidateNotNullOrEmpty] + public string LocalPath { get; set;} + + public override void ExecuteCmdlet() + { + base.ExecuteCmdlet(); + + const string fullAddressPrefix = "full address:s:"; + const string promptCredentials = "prompt for credentials:i:1"; + const int defaultPort = 3389; + + string address = string.Empty; + int port = defaultPort; + + // Get Azure VM + var vmResponse = this.VirtualMachineClient.Get(this.ResourceGroupName, this.Name); + + // Get the NIC + var nicResourceGroupName = + this.GetResourceGroupName(vmResponse.VirtualMachine.NetworkProfile.NetworkInterfaces.First().ReferenceUri); + + var nicName = + this.GetResourceName( + vmResponse.VirtualMachine.NetworkProfile.NetworkInterfaces.First().ReferenceUri, "networkInterfaces"); + + var nicResponse = + this.NetworkClient.NetworkResourceProviderClient.NetworkInterfaces.Get(nicResourceGroupName, nicName); + + if (nicResponse.NetworkInterface.IpConfigurations.First().PublicIpAddress != null && !string.IsNullOrEmpty(nicResponse.NetworkInterface.IpConfigurations.First().PublicIpAddress.Id)) + { + // Get PublicIPAddress resource if present + address = this.GetAddressFromPublicIPResource(nicResponse.NetworkInterface.IpConfigurations.First().PublicIpAddress.Id); + } + else if (nicResponse.NetworkInterface.IpConfigurations.First().LoadBalancerInboundNatRules.Any()) + { + address = string.Empty; + + // Get ipaddress and port from loadbalancer + foreach (var nicRuleRef in nicResponse.NetworkInterface.IpConfigurations.First().LoadBalancerInboundNatRules) + { + var lbName = this.GetResourceName(nicRuleRef.Id, "loadBalancers"); + var lbResourceGroupName = this.GetResourceGroupName(nicRuleRef.Id); + + var loadbalancer = + this.NetworkClient.NetworkResourceProviderClient.LoadBalancers.Get(lbResourceGroupName, lbName).LoadBalancer; + + // Iterate over the InboundNatRules where Backendport = 3389 + var inboundRule = + loadbalancer.InboundNatRules.Where( + rule => + rule.BackendPort == defaultPort + && string.Equals( + rule.Id, + nicRuleRef.Id, + StringComparison.OrdinalIgnoreCase)); + + if (inboundRule.Any()) + { + port = inboundRule.First().FrontendPort; + + // Get the corresponding frontendIPConfig -> publicIPAddress + var frontendIPConfig = + loadbalancer.FrontendIpConfigurations.First( + frontend => + string.Equals( + inboundRule.First().FrontendIPConfiguration.Id, + frontend.Id, + StringComparison.OrdinalIgnoreCase)); + + if (frontendIPConfig.PublicIpAddress != null) + { + address = this.GetAddressFromPublicIPResource(frontendIPConfig.PublicIpAddress.Id); + break; + } + } + } + + if (string.IsNullOrEmpty(address)) + { + throw new ArgumentException(Properties.Resources.VirtualMachineNotAssociatedWithPublicLoadBalancer); + } + } + else + { + throw new ArgumentException(Properties.Resources.VirtualMachineNotAssociatedWithPublicIPOrPublicLoadBalancer); + } + + // Write to file + using (var file = new StreamWriter(this.LocalPath)) + { + file.WriteLine(fullAddressPrefix + address + ":" + port); + file.WriteLine(promptCredentials); + } + } + + private string GetAddressFromPublicIPResource(string resourceId) + { + string address = string.Empty; + + // Get IpAddress from public IPAddress resource + var publicIPResourceGroupName = this.GetResourceGroupName(resourceId); + var publicIPName = this.GetResourceName(resourceId, "publicIPAddresses"); + + var publicIpResponse = + this.NetworkClient.NetworkResourceProviderClient.PublicIpAddresses.Get( + publicIPResourceGroupName, + publicIPName); + + + // Use the FQDN if present + if (publicIpResponse.PublicIpAddress.DnsSettings != null + && !string.IsNullOrEmpty(publicIpResponse.PublicIpAddress.DnsSettings.Fqdn)) + { + address = publicIpResponse.PublicIpAddress.DnsSettings.Fqdn; + } + else + { + address = publicIpResponse.PublicIpAddress.IpAddress; + } + + return address; + } + private string GetResourceGroupName(string resourceId) + { + return resourceId.Split('/')[4]; + } + + private string GetResourceName(string resourceId, string resource) + { + return resourceId.Split('/')[8]; + } + } +} diff --git a/src/ResourceManager/Compute/Commands.Compute/RemoteDesktop/VirtualMachineRemoteDesktopBaseCmdlet.cs b/src/ResourceManager/Compute/Commands.Compute/RemoteDesktop/VirtualMachineRemoteDesktopBaseCmdlet.cs new file mode 100644 index 000000000000..b7d17427a7ef --- /dev/null +++ b/src/ResourceManager/Compute/Commands.Compute/RemoteDesktop/VirtualMachineRemoteDesktopBaseCmdlet.cs @@ -0,0 +1,43 @@ +// ---------------------------------------------------------------------------------- +// +// Copyright Microsoft Corporation +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// ---------------------------------------------------------------------------------- + +using Microsoft.Azure.Commands.Network; + +namespace Microsoft.Azure.Commands.Compute +{ + public class VirtualMachineRemoteDesktopBaseCmdlet : VirtualMachineBaseCmdlet + { + + private NetworkClient networkClient; + + public NetworkClient NetworkClient + { + get + { + if (networkClient == null) + { + networkClient = new NetworkClient(Profile) + { + VerboseLogger = WriteVerboseWithTimestamp, + ErrorLogger = WriteErrorWithTimestamp, + WarningLogger = WriteWarningWithTimestamp + }; + } + return networkClient; + } + + set { networkClient = value; } + } + } +} diff --git a/src/ResourceManager/Compute/Commands.Compute/VirtualMachine/Config/AddAzureVMNetworkInterfaceCommand.cs b/src/ResourceManager/Compute/Commands.Compute/VirtualMachine/Config/AddAzureVMNetworkInterfaceCommand.cs index a79c4bca4bc4..333daeb0075f 100644 --- a/src/ResourceManager/Compute/Commands.Compute/VirtualMachine/Config/AddAzureVMNetworkInterfaceCommand.cs +++ b/src/ResourceManager/Compute/Commands.Compute/VirtualMachine/Config/AddAzureVMNetworkInterfaceCommand.cs @@ -77,11 +77,20 @@ public override void ExecuteCmdlet() if (!this.Primary.IsPresent) { - networkProfile.NetworkInterfaces.Add( - new NetworkInterfaceReference + + networkProfile.NetworkInterfaces.Add(new NetworkInterfaceReference { ReferenceUri = this.Id, }); + + if (networkProfile.NetworkInterfaces.Count > 1) + { + // run through the entire list of networkInterfaces and if Primary is not set, set them to false + foreach (var nic in networkProfile.NetworkInterfaces) + { + nic.Primary = nic.Primary ?? false; + } + } } else { diff --git a/src/ResourceManager/Compute/Commands.Compute/packages.config b/src/ResourceManager/Compute/Commands.Compute/packages.config index 9f52b803f50e..2612790691a4 100644 --- a/src/ResourceManager/Compute/Commands.Compute/packages.config +++ b/src/ResourceManager/Compute/Commands.Compute/packages.config @@ -8,6 +8,7 @@ + diff --git a/src/ResourceManager/Network/Commands.Network/Microsoft.Azure.Commands.Network.dll-Help.xml b/src/ResourceManager/Network/Commands.Network/Microsoft.Azure.Commands.Network.dll-Help.xml index 01de6f856002..ce97bf4d1ee8 100644 --- a/src/ResourceManager/Network/Commands.Network/Microsoft.Azure.Commands.Network.dll-Help.xml +++ b/src/ResourceManager/Network/Commands.Network/Microsoft.Azure.Commands.Network.dll-Help.xml @@ -1,5 +1,5 @@ - - + + Add-AzureLoadBalancerBackendAddressPoolConfig @@ -14,7 +14,6 @@ - Add a new Backend Address Pool for an Azure Load Balancer @@ -23,30 +22,23 @@ Name - The name of the Backend Address Pool + The name of the Backend Address Pool. String LoadBalancer - The Load Balancer in which this Backend Address Pool will be created + The Load Balancer in which this Backend Address Pool will be created. PSLoadBalancer - - BackendIpConfigurationId - - A list of Backend IpConfig Id's to associate with this Backend Address Pool - - List`1[String] - - - BackendIpConfiguration + + Profile - A list of Backend IPs to associate with this Backend Address Pool + - List`1[PSNetworkInterfaceIpConfiguration] + AzureProfile @@ -54,7 +46,7 @@ Name - The name of the Backend Address Pool + The name of the Backend Address Pool. String @@ -66,7 +58,7 @@ LoadBalancer - The Load Balancer in which this Backend Address Pool will be created + The Load Balancer in which this Backend Address Pool will be created. PSLoadBalancer @@ -75,26 +67,38 @@ - + + Profile + + + + AzureProfile + + AzureProfile + + + + + BackendIpConfigurationId - A list of Backend IpConfig Id's to associate with this Backend Address Pool + A list of Backend Ip Config Id's to associate with this Backend Address Pool. - List`1[String] + list`1[string] - List`1[String] + list`1[string] - + BackendIpConfiguration - A list of Backend IPs to associate with this Backend Address Pool + A list of Backend Ips to associate with this Backend Address Pool. - List`1[PSNetworkInterfaceIpConfiguration] + list`1[psnetworkinterfaceipconfiguration] - List`1[PSNetworkInterfaceIpConfiguration] + list`1[psnetworkinterfaceipconfiguration] @@ -104,49 +108,56 @@ - - - - + + - + + + + - - - - + + - - - + + + + + + - + -------------------------- Example 1 -------------------------- - + PS C:\> PS C:\> $nic = Get-AzureNetworkInterface -name "myNic" -ResourceGroupName "myrg" - Get-AzureLoadBalander -Name "myLB" -ResourceGroupName "myrg" | Add-AzureLoadBalancerBackendAddressPoolConfig -Name $backendAddressPoolName2 -BackendIpConfiguration $nic.Properties.IpConfigurations[0] | Set-AzureLoadBalancer + Get-AzureLoadBalander -Name "myLB" -ResourceGroupName "myrg" | Add-AzureLoadBalancerBackendAddressPoolConfig -Name $backendAddressPoolName2 -BackendIpConfiguration $nic.IpConfigurations[0] | Set-AzureLoadBalancer + + + - + + + @@ -154,7 +165,7 @@ - + Add-AzureLoadBalancerFrontendIpConfig @@ -169,7 +180,6 @@ - Add a new Frontend Ip for an Azure Load Balancer @@ -178,59 +188,66 @@ Name - The name of the Frontend Ip + The name of the Frontend Ip. String LoadBalancer - The Load Balancer in which this Frontend Ip will be created + The Load Balancer in which this Frontend Ip will be created. PSLoadBalancer PrivateIpAddress - The PublicIpAddress object to associate with this Frontend + The Public Ip Address object to associate with this Frontend. String SubnetId - The id of the Subnet in which this Frontend Ip will be created + The Id of the Subnet in which this Frontend Ip will be created. String PublicIpAddressId - The id of the PublicIpAddress to associate with this Frontend Ip. + The Id of the Public Ip Address to associate with this Frontend Ip. String + + Profile + + + + AzureProfile + Add-AzureLoadBalancerFrontendIpConfig Name - The name of the Frontend Ip + The name of the Frontend Ip. String LoadBalancer - The Load Balancer in which this Frontend Ip will be created + The Load Balancer in which this Frontend Ip will be created. PSLoadBalancer PrivateIpAddress - The PublicIpAddress object to associate with this Frontend + The Public Ip Address object to associate with this Frontend. String @@ -244,17 +261,24 @@ PublicIpAddress - The PublicIpAddress to associate with this Frontend Ip. + The Public Ip Address to associate with this Frontend Ip. PSPublicIpAddress + + Profile + + + + AzureProfile + Name - The name of the Frontend Ip + The name of the Frontend Ip. String @@ -266,7 +290,7 @@ LoadBalancer - The Load Balancer in which this Frontend Ip will be created + The Load Balancer in which this Frontend Ip will be created. PSLoadBalancer @@ -278,7 +302,7 @@ PrivateIpAddress - The PublicIpAddress object to associate with this Frontend + The Public Ip Address object to associate with this Frontend. String @@ -290,7 +314,7 @@ SubnetId - The id of the Subnet in which this Frontend Ip will be created + The Id of the Subnet in which this Frontend Ip will be created. String @@ -302,7 +326,7 @@ PublicIpAddressId - The id of the PublicIpAddress to associate with this Frontend Ip. + The Id of the Public Ip Address to associate with this Frontend Ip. String @@ -311,6 +335,18 @@ + + Profile + + + + AzureProfile + + AzureProfile + + + + Subnet @@ -326,7 +362,7 @@ PublicIpAddress - The PublicIpAddress to associate with this Frontend Ip. + The Public Ip Address to associate with this Frontend Ip. PSPublicIpAddress @@ -340,82 +376,99 @@ - - - - + + - + + + + - - - - + + - - - + + + + + + - + -------------------------- Example 1 -------------------------- - + PS C:\> PS C:\> $subnet = Get-AzureVirtualNetwork -Name "myVnet" -ResourceGroupName "myRg" | Get-AzureVirtualNetworkSubnetConfig -name "mysubnet" Get-AzureLoadBalancer -Name "myLB" -ResourceGroupName "NrpTest" | Add-AzureLoadBalancerFrontendIpConfig -Name "frontendName" -Subnet $subnet | Set-AzureLoadBalancer Adds a FrontendIpConfig to the loadbalancer with a dynamic privateIPAddress from the specified subnet + + + - + + + -------------------------- Example 2 -------------------------- - + PS C:\> PS C:\> $subnet = Get-AzureVirtualNetwork -Name "myVnet" -ResourceGroupName "myRg" | Get-AzureVirtualNetworkSubnetConfig -name "mysubnet" Get-AzureLoadBalancer -Name "myLB" -ResourceGroupName "NrpTest" | Add-AzureLoadBalancerFrontendIpConfig -Name "frontendName" -Subnet $subnet -PrivateIpAddress "10.0.1.6" | Set-AzureLoadBalancer Adds a FrontendIpConfig to the loadbalancer with a static privateIPAddress from the specified subnet + + + - + + + -------------------------- Example 3 -------------------------- - + PS C:\> PS C:\> $publicip = Get-AzurePublicIpAddress -ResourceGroupName "myRG" -name "myPub" Get-AzureLoadBalancer -Name "myLB" -ResourceGroupName "NrpTest" | Add-AzureLoadBalancerFrontendIpConfig -Name "frontendName" -PublicIpAddress $publicip | Set-AzureLoadBalancer Adds a FrontendIpConfig to the loadbalancer with a publicIP address + + + - + + + @@ -423,7 +476,7 @@ - + Add-AzureLoadBalancerInboundNatRuleConfig @@ -438,7 +491,6 @@ - Add a new Inbound NAT Rule to an Azure Load Balancer @@ -447,51 +499,43 @@ Name - The name of the Inbound NAT Rule + The name of the Inbound NAT Rule. String LoadBalancer - The Load Balancer in which this Inbound NAT Rule will be created + The Load Balancer in which this Inbound NAT Rule will be created. PSLoadBalancer - - FrontendIPConfigurationId - - A list of Frontend Ip Id's to associate with this Inbound NAT Rule - - List`1[String] - - BackendIpConfigurationId + FrontendIpConfigurationId - The id of a BackendIpConfiguration to associate with this Inbound NAT Rule + A list of Frontend Ip Id's to associate with this Inbound NAT Rule. String Protocol - The Protocol matched by this Inbound NAT Rule. - - Options: Tcp or Udp. + The protocol matched by this Inbound NAT Rule. + Options: Tcp or Udp. String FrontendPort - The frontend port matched by this rule + The frontend port matched by this rule. Int32 BackendPort - The backend port for traffic matched by this rule + The backend port for traffic matched by this rule. Int32 @@ -505,61 +549,60 @@ EnableFloatingIP - + Enables Direct Server Return for this Load Balancer NAT Rule. SwitchParameter + + Profile + + + + AzureProfile + Add-AzureLoadBalancerInboundNatRuleConfig Name - The name of the Inbound NAT Rule + The name of the Inbound NAT Rule. String LoadBalancer - The Load Balancer in which this Inbound NAT Rule will be created + The Load Balancer in which this Inbound NAT Rule will be created. PSLoadBalancer - - FrontendIpConfiguration - - A list of Frontend IP to associate with this Inbound NAT Rule. - - List`1[PSFrontendIpConfiguration] - - BackendIpConfiguration + FrontendIpConfiguration - The Backend IpConfiguration to associate with this Inbound NAT Rule + A list of Frontend Ips to associate with this Inbound NAT Rule. - PSNetworkInterfaceIpConfiguration + PSFrontendIPConfiguration Protocol - The Protocol matched by this Inbound NAT Rule. - - Options: Tcp or Udp. + The protocol matched by this Inbound NAT Rule. + Options: Tcp or Udp. String FrontendPort - The frontend port matched by this rule + The frontend port matched by this rule. Int32 BackendPort - The backend port for traffic matched by this rule + The backend port for traffic matched by this rule. Int32 @@ -573,17 +616,24 @@ EnableFloatingIP - + Enables Direct Server Return for this Load Balancer NAT Rule. SwitchParameter + + Profile + + + + AzureProfile + Name - The name of the Inbound NAT Rule + The name of the Inbound NAT Rule. String @@ -595,7 +645,7 @@ LoadBalancer - The Load Balancer in which this Inbound NAT Rule will be created + The Load Balancer in which this Inbound NAT Rule will be created. PSLoadBalancer @@ -604,22 +654,10 @@ - - FrontendIPConfigurationId - - A list of Frontend Ip Id's to associate with this Inbound NAT Rule - - List`1[String] - - List`1[String] - - - - - BackendIpConfigurationId + FrontendIpConfigurationId - The id of a BackendIpConfiguration to associate with this Inbound NAT Rule + A list of Frontend Ip Id's to associate with this Inbound NAT Rule. String @@ -631,9 +669,8 @@ Protocol - The Protocol matched by this Inbound NAT Rule. - - Options: Tcp or Udp. + The protocol matched by this Inbound NAT Rule. + Options: Tcp or Udp. String @@ -645,7 +682,7 @@ FrontendPort - The frontend port matched by this rule + The frontend port matched by this rule. Int32 @@ -657,7 +694,7 @@ BackendPort - The backend port for traffic matched by this rule + The backend port for traffic matched by this rule. Int32 @@ -681,7 +718,7 @@ EnableFloatingIP - + Enables Direct Server Return for this Load Balancer NAT Rule. SwitchParameter @@ -690,14 +727,38 @@ - + + Profile + + + + AzureProfile + + AzureProfile + + + + + FrontendIpConfiguration - A list of Frontend IP to associate with this Inbound NAT Rule. + A list of Frontend Ips to associate with this Inbound NAT Rule. + + PSFrontendIPConfiguration + + PSFrontendIPConfiguration + + + + + + BackendIpConfigurationId + + The Id of a Backend Ip Configuration to associate with this Inbound NAT Rule. - List`1[PSFrontendIpConfiguration] + string - List`1[PSFrontendIpConfiguration] + string @@ -705,11 +766,11 @@ BackendIpConfiguration - The Backend IpConfiguration to associate with this Inbound NAT Rule + The Backend Ip Configuration to associate with this Inbound NAT Rule. - PSNetworkInterfaceIpConfiguration + psnetworkinterfaceipconfiguration - PSNetworkInterfaceIpConfiguration + psnetworkinterfaceipconfiguration @@ -719,49 +780,56 @@ - - - - + + - + + + + - - - - + + - - - + + + + + + - + -------------------------- Example 1 -------------------------- - + PS C:\> PS C:\> $lb = Get-AzureLoadBalancer -Name "myLb" -ResourceGroupName "myRg" - $lb | Add-AzureLoadBalancerInboundNatRuleConfig -Name "natRule" -FrontendIPConfiguration$lb.Properties.FrontendIPConfigurations[0] -BackendIpConfiguration $nic.Properties.IpConfigurations[0] -Protocol Tcp -FrontendPort 3350 -BackendPort 3350 -IdleTimeoutInSeconds 17 -EnableFloatingIP | Set-AzureLoadBalancer + $lb | Add-AzureLoadBalancerInboundNatRuleConfig -Name "natRule" -FrontendIPConfiguration$lb.FrontendIPConfigurations[0] -BackendIpConfiguration $nic.IpConfigurations[0] -Protocol Tcp -FrontendPort 3350 -BackendPort 3350 -IdleTimeoutInSeconds 17 -EnableFloatingIP | Set-AzureLoadBalancer + + + - + + + @@ -769,7 +837,7 @@ - + Add-AzureLoadBalancerProbeConfig @@ -784,7 +852,6 @@ - Add a new Probe configuration to an Azure Load Balancer @@ -793,61 +860,67 @@ Name - The name of the Probe configuration + The name of the probe configuration. String LoadBalancer - The Load Balancer in which this Probe configuration will be created + The Load Balancer in which this probe configuration will be created. PSLoadBalancer RequestPath - The path within the load balanced service to probe to determine health + The path within the load balanced service to probe to determine health. String Protocol - The Protocol to use for the probing. - - Options: Tcp or Http + The protocol to use for the probing. + Options: Tcp or Http String Port - The port on which probes should connect to the load balanced service + The port on which probes should connect to the load balanced service. Int32 IntervalInSeconds - The interval between probes to each instance of the load balanced service + The interval between probes to each instance of the load balanced service. Int32 ProbeCount - The number of per-instance consecutive failures for an instance to be considered unhealthy + The number of per-instance consecutive failures for an instance to be considered unhealthy. Int32 + + Profile + + + + AzureProfile + Name - The name of the Probe configuration + The name of the probe configuration. String @@ -859,7 +932,7 @@ LoadBalancer - The Load Balancer in which this Probe configuration will be created + The Load Balancer in which this probe configuration will be created. PSLoadBalancer @@ -871,7 +944,7 @@ RequestPath - The path within the load balanced service to probe to determine health + The path within the load balanced service to probe to determine health. String @@ -883,9 +956,8 @@ Protocol - The Protocol to use for the probing. - - Options: Tcp or Http + The protocol to use for the probing. + Options: Tcp or Http String @@ -897,7 +969,7 @@ Port - The port on which probes should connect to the load balanced service + The port on which probes should connect to the load balanced service. Int32 @@ -909,7 +981,7 @@ IntervalInSeconds - The interval between probes to each instance of the load balanced service + The interval between probes to each instance of the load balanced service. Int32 @@ -921,7 +993,7 @@ ProbeCount - The number of per-instance consecutive failures for an instance to be considered unhealthy + The number of per-instance consecutive failures for an instance to be considered unhealthy. Int32 @@ -930,52 +1002,71 @@ + + Profile + + + + AzureProfile + + AzureProfile + + + + - - - - + + - + + + + - - - - + + - - - + + + + + + - + -------------------------- Example 1 -------------------------- - + PS C:\> PS C:\> Get-AzureLoadBalancer -Name "myLb" -ResourceGroupName "myRg" | Add-AzureLoadBalancerProbeConfig -Name "probeName" -RequestPath healthcheck2.aspx -Protocol http -Port 81 -IntervalInSeconds 16 -ProbeCount 3 | Set-AzureLoadBalancer + + + - + + + @@ -983,7 +1074,7 @@ - + Add-AzureLoadBalancerRuleConfig @@ -998,7 +1089,6 @@ - Add a new Load Balancer Rule to an Azure Load Balancer @@ -1007,44 +1097,43 @@ Name - The name of the Load Balancer Rule + The name of the Load Balancer Rule. String LoadBalancer - The Load Balancer in which this Load Balancer Rule will be created + The Load Balancer in which this Load Balancer Rule will be created. PSLoadBalancer - - FrontendIPConfigurationId + + FrontendIpConfigurationId - A list of Frontend Ip ID to associate with this Load Balancer Rule + A list of Frontend Ip Id to associate with this Load Balancer Rule. - List`1[String] + String BackendAddressPoolId - The ID of a BackendAddressPool to associate with this Load Balancer Rule + The Id of a Backend Address Pool to associate with this Load Balancer Rule. String ProbeId - The ID of the Probe to associate with this Load Balancer Rule + The Id of the probe to associate with this Load Balancer Rule. String Protocol - The Protocol matched by this Load Balancer Rule. - - Options: Tcp or Udp. + The protocol matched by this Load Balancer Rule. + Options: Tcp or Udp. String @@ -1069,57 +1158,74 @@ Int32 + + LoadDistribution + + Specifies the load balancing distribution type to be used by the Load Balancer. +Possible values are +Default – The load balancer is configured to use a 5 tuple hash to map traffic to available servers +SourceIP – The load balancer is configured to use a 2 tuple hash to map traffic to available servers +SourceIPProtocol– The load balancer is configured to use a 3 tuple hash to map traffic to available servers + + String + EnableFloatingIP - + Floating IP is pertinent to failover scenarios: a “floating” IP is reassigned to a secondary server in case the primary server fails. Floating IP is required for SQL AlwaysOn. SwitchParameter + + Profile + + + + AzureProfile + Add-AzureLoadBalancerRuleConfig Name - The name of the Load Balancer Rule + The name of the Load Balancer Rule. String LoadBalancer - The Load Balancer in which this Load Balancer Rule will be created + The Load Balancer in which this Load Balancer Rule will be created. PSLoadBalancer - + FrontendIpConfiguration - A list of Frontend Ips to associate with this Load Balancer Rule + A list of Frontend Ips to associate with this Load Balancer Rule. - List`1[PSFrontendIpConfiguration] + PSFrontendIPConfiguration BackendAddressPool - The Backend Address Pool to associate with this Load Balancer Rule + The Backend Address Pool to associate with this Load Balancer Rule. PSBackendAddressPool Probe - + The probe object to be used for this Load Balancer Rule. PSProbe Protocol - The Protocol matched by this Load Balancer Rule. - - Options: Tcp or Udp. + The protocol matched by this Load Balancer Rule. + Options: Tcp or Udp. String @@ -1144,20 +1250,38 @@ Int32 + + LoadDistribution + + Specifies the load balancing distribution type to be used by the Load Balancer. +Possible values are +Default – The load balancer is configured to use a 5 tuple hash to map traffic to available servers +SourceIP – The load balancer is configured to use a 2 tuple hash to map traffic to available servers +SourceIPProtocol– The load balancer is configured to use a 3 tuple hash to map traffic to available servers + + String + EnableFloatingIP - + Floating IP is pertinent to failover scenarios: a “floating” IP is reassigned to a secondary server in case the primary server fails. Floating IP is required for SQL AlwaysOn. SwitchParameter + + Profile + + + + AzureProfile + Name - The name of the Load Balancer Rule + The name of the Load Balancer Rule. String @@ -1169,7 +1293,7 @@ LoadBalancer - The Load Balancer in which this Load Balancer Rule will be created + The Load Balancer in which this Load Balancer Rule will be created. PSLoadBalancer @@ -1178,14 +1302,14 @@ - - FrontendIPConfigurationId + + FrontendIpConfigurationId - A list of Frontend Ip ID to associate with this Load Balancer Rule + A list of Frontend Ip Id to associate with this Load Balancer Rule. - List`1[String] + String - List`1[String] + String @@ -1193,7 +1317,7 @@ BackendAddressPoolId - The ID of a BackendAddressPool to associate with this Load Balancer Rule + The Id of a Backend Address Pool to associate with this Load Balancer Rule. String @@ -1205,7 +1329,7 @@ ProbeId - The ID of the Probe to associate with this Load Balancer Rule + The Id of the probe to associate with this Load Balancer Rule. String @@ -1217,9 +1341,8 @@ Protocol - The Protocol matched by this Load Balancer Rule. - - Options: Tcp or Udp. + The protocol matched by this Load Balancer Rule. + Options: Tcp or Udp. String @@ -1264,10 +1387,26 @@ + + LoadDistribution + + Specifies the load balancing distribution type to be used by the Load Balancer. +Possible values are +Default – The load balancer is configured to use a 5 tuple hash to map traffic to available servers +SourceIP – The load balancer is configured to use a 2 tuple hash to map traffic to available servers +SourceIPProtocol– The load balancer is configured to use a 3 tuple hash to map traffic to available servers + + String + + String + + + + EnableFloatingIP - + Floating IP is pertinent to failover scenarios: a “floating” IP is reassigned to a secondary server in case the primary server fails. Floating IP is required for SQL AlwaysOn. SwitchParameter @@ -1276,14 +1415,26 @@ - + + Profile + + + + AzureProfile + + AzureProfile + + + + + FrontendIpConfiguration - A list of Frontend Ips to associate with this Load Balancer Rule + A list of Frontend Ips to associate with this Load Balancer Rule. - List`1[PSFrontendIpConfiguration] + PSFrontendIPConfiguration - List`1[PSFrontendIpConfiguration] + PSFrontendIPConfiguration @@ -1291,7 +1442,7 @@ BackendAddressPool - The Backend Address Pool to associate with this Load Balancer Rule + The Backend Address Pool to associate with this Load Balancer Rule. PSBackendAddressPool @@ -1303,7 +1454,7 @@ Probe - + The probe object to be used for this Load Balancer Rule. PSProbe @@ -1317,49 +1468,56 @@ - - - - + + - + + + + - - - - + + - - - + + + + + + - + -------------------------- Example 1 -------------------------- - + PS C:\> PS C:\> $lb = Get-AzureLoadBalancer -Name "myLb" -ResourceGroupName "myRg" - $lb | Add-AzureLoadBalancerRuleConfig -Name "lbruleName" -FrontendIPConfiguration $lb.Properties.FrontendIPConfigurations[0] -BackendAddressPool $lb.Properties.BackendAddressPools[0] -Probe $lb.Properties.Probes[0] -Protocol Tcp -FrontendPort 80 -BackendPort 80 -IdleTimeoutInSeconds 15 -EnableFloatingIP | Set-AzureLoadBalancer + $lb | Add-AzureLoadBalancerRuleConfig -Name "lbruleName" -FrontendIPConfiguration $lb.FrontendIPConfigurations[0] -BackendAddressPool $lb.BackendAddressPools[0] -Probe $lb.Probes[0] -Protocol Tcp -FrontendPort 80 -BackendPort 80 -IdleTimeoutInSeconds 15 -EnableFloatingIP | Set-AzureLoadBalancer + + + - + + + @@ -1367,86 +1525,141 @@ - + - Add-AzureVirtualNetworkSubnetConfig + Add-AzureNetworkSecurityRuleConfig - Creates a new Subnet with an existing Virtual Network + Add a new Network Security Rule to a Network Security Group Add - AzureVirtualNetworkSubnetConfig + AzureNetworkSecurityRuleConfig - - Creates a new Subnet with an existing Virtual Network + Add a new Network Security Rule to a Network Security Group - Add-AzureVirtualNetworkSubnetConfig + Add-AzureNetworkSecurityRuleConfig Name - The name of the Subnet. + The name of the Network Security Rule. String - VirtualNetwork + NetworkSecurityGroup - The Virtual Network object in which this subnet should be created + The Network Security Group object to which this Network Security Rule will be added. - PSVirtualNetwork + PSNetworkSecurityGroup - AddressPrefix + Description - The IP range covered by this Subnet + The description of the Network Security Rule. String - - DnsServer + + Protocol - The DNS Servers to be used for performing DNS lookups from this Subnet. + Network protocol this rule applies to. Can be Tcp, Udp or * to match both. - List`1[String] + String - - - - - Name - - The name of the Subnet. - - String - - String - + + SourcePortRange + + Source Port or Range. Integer or range between 0 and 65535 or * to match any. + + String + + + DestinationPortRange + + Destination Port or Range. Integer or range between 0 and 65535 or * to match any. + + String + + + SourceAddressPrefix + + CIDR or source IP range or * to match any IP. Tags such as ‘VirtualNetwork’, ‘AzureLoadBalancer’ and ‘Internet’ can also be used. + + String + + + DestinationAddressPrefix + + CIDR or destination IP range or * to match any IP. Tags such as ‘VirtualNetwork’, ‘AzureLoadBalancer’ and ‘Internet’ can also be used. + + String + + + Access + + Specifies whether network traffic is allowed or denied. Possible values are “Allow” and “Deny” + + String + + + Priority + + Specifies the priority of the rule. The value can be between 100 and 4096. The priority number must be unique for each rule in the collection. The lower the priority number, the higher the priority of the rule. + + Int32 + + + Direction + + The direction specifies if rule will be evaluated on incoming or outgoing traffic. Possible values are “Inbound” and “Outbound”. + + String + + + Profile + + + + AzureProfile + + + + + + Name + + The name of the Network Security Rule. + + String + + String + - VirtualNetwork + NetworkSecurityGroup - The Virtual Network object in which this subnet should be created + The Network Security Group object to which this Network Security Rule will be added. - PSVirtualNetwork + PSNetworkSecurityGroup - PSVirtualNetwork + PSNetworkSecurityGroup - AddressPrefix + Description - The IP range covered by this Subnet + The description of the Network Security Rule. String @@ -1455,93 +1668,46 @@ - - DnsServer + + Protocol - The DNS Servers to be used for performing DNS lookups from this Subnet. + Network protocol this rule applies to. Can be Tcp, Udp or * to match both. - List`1[String] + String - List`1[String] + String - - - + + SourcePortRange + + Source Port or Range. Integer or range between 0 and 65535 or * to match any. + + String - + String - - - - - - - - + + + + DestinationPortRange + + Destination Port or Range. Integer or range between 0 and 65535 or * to match any. + + String - + String - - - - - - - - - - - - - - - - - - - - - - - Get-AzureCheckDnsAvailability - - Checks whether a domain name in the cloudapp.net zone is available for use - - - - - Get - AzureCheckDnsAvailability - - - - - Checks whether a domain name in the cloudapp.net zone is available for use - - - - Get-AzureCheckDnsAvailability - - DomainQualifiedName - - The domain name to be verified. - It must conform to the following regular expression: ^[a-z][a-z0-9-]{1,61}[a-z0-9]$. - - String - - - - + + - DomainQualifiedName + SourceAddressPrefix - The domain name to be verified. - It must conform to the following regular expression: ^[a-z][a-z0-9-]{1,61}[a-z0-9]$. + CIDR or source IP range or * to match any IP. Tags such as ‘VirtualNetwork’, ‘AzureLoadBalancer’ and ‘Internet’ can also be used. String @@ -1550,98 +1716,46 @@ - - - + + DestinationAddressPrefix + + CIDR or destination IP range or * to match any IP. Tags such as ‘VirtualNetwork’, ‘AzureLoadBalancer’ and ‘Internet’ can also be used. + + String - + String - - - - - - - - + + + + Access + + Specifies whether network traffic is allowed or denied. Possible values are “Allow” and “Deny” + + String - + String - - - - - - - - - - - - - - - - - - - - - - - Get-AzureLoadBalancer - - Retrieve a single Load Balancer or a list of Load Balancers within a Resource Group - - - - - Get - AzureLoadBalancer - - - - - Retrieve a single Load Balancer or a list of Load Balancers within a Resource Group - - - - Get-AzureLoadBalancer - - Name - - The name of the Load Balancer to retrieve - - String - - - ResourceGroupName - - The name of the Resource Group containing the Load Balancer - - String - - - - - - Name + + + + Priority - The name of the Load Balancer to retrieve + Specifies the priority of the rule. The value can be between 100 and 4096. The priority number must be unique for each rule in the collection. The lower the priority number, the higher the priority of the rule. - String + Int32 - String + Int32 - - ResourceGroupName + + Direction - The name of the Resource Group containing the Load Balancer + The direction specifies if rule will be evaluated on incoming or outgoing traffic. Possible values are “Inbound” and “Outbound”. String @@ -1650,37 +1764,49 @@ + + Profile + + + + AzureProfile + + AzureProfile + + + + - - - - + + - + + + - - - - + + - - - + + + + + - + @@ -1688,48 +1814,106 @@ - + - Get-AzureLoadBalancerBackendAddressPoolConfig + Add-AzureVirtualNetworkSubnetConfig - Retrieve a single Backend Address Pool or a list of Backend Address Pools within a Load Balancer + Creates a new Subnet with an existing Virtual Network - Get - AzureLoadBalancerBackendAddressPoolConfig + Add + AzureVirtualNetworkSubnetConfig - - Retrieve a single Backend Address Pool or a list of Backend Address Pools within a Load Balancer + Creates a new Subnet with an existing Virtual Network - Get-AzureLoadBalancerBackendAddressPoolConfig - + Add-AzureVirtualNetworkSubnetConfig + Name - The name of the LoadBalancer containing the Backend Address Pool + The name of the Subnet. String - LoadBalancer + VirtualNetwork - The name of the Backend Address Pool to retrieve. + The Virtual Network object in which this subnet should be created. - PSLoadBalancer + PSVirtualNetwork - - + + AddressPrefix + + The Ip range covered by this Subnet. + + String + + + NetworkSecurityGroup + + The Network Security Group object containing ACLs that will apply to this Subnet. + + PSNetworkSecurityGroup + + + Profile + + + + AzureProfile + + + + Add-AzureVirtualNetworkSubnetConfig + + Name + + The name of the Subnet. + + String + + + VirtualNetwork + + The Virtual Network object in which this subnet should be created. + + PSVirtualNetwork + + + AddressPrefix + + The Ip range covered by this Subnet. + + String + + + NetworkSecurityGroupId + + A reference to the Network Security Group containing ACLs that will apply to this Subnet. + + String + + + Profile + + + + AzureProfile + + + - + Name - The name of the LoadBalancer containing the Backend Address Pool + The name of the Subnet. String @@ -1739,13 +1923,73 @@ - LoadBalancer + VirtualNetwork - The name of the Backend Address Pool to retrieve. + The Virtual Network object in which this subnet should be created. - PSLoadBalancer + PSVirtualNetwork - PSLoadBalancer + PSVirtualNetwork + + + + + + AddressPrefix + + The Ip range covered by this Subnet. + + String + + String + + + + + + NetworkSecurityGroup + + The Network Security Group object containing ACLs that will apply to this Subnet. + + PSNetworkSecurityGroup + + PSNetworkSecurityGroup + + + + + + Profile + + + + AzureProfile + + AzureProfile + + + + + + NetworkSecurityGroupId + + A reference to the Network Security Group containing ACLs that will apply to this Subnet. + + String + + String + + + + + + DnsServer + + The Dns servers to be used for performing Dns lookups from this Subnet. + + list`1[string] + + list`1[string] @@ -1755,32 +1999,34 @@ - - - - + + - + + + + - - - - + + - - - + + + + + + - + @@ -1788,48 +2034,57 @@ - + + - Get-AzureLoadBalancerFrontendIpConfig + Get-AzureCheckDnsAvailability - Retrieve a single Frontend Ip or a list of Frontend Ips within a Load Balancer + Checks whether a domain name in the cloudapp.net zone is available for use Get - AzureLoadBalancerFrontendIpConfig + AzureCheckDnsAvailability - - Retrieve a single Frontend Ip or a list of Frontend Ips within a Load Balancer + Checks whether a domain name in the {region}.cloudapp.azure.com zone is available for use - Get-AzureLoadBalancerFrontendIpConfig - - Name + Get-AzureCheckDnsAvailability + + DomainQualifiedName - The name of the LoadBalancer containing the Frontend Ip + The domain name to be verified. + It must conform to the following regular expression: ^[a-z][a-z0-9-]{1,61}[a-z0-9]$. String - - LoadBalancer + + Location - The Load Balancer with which this Frontend Ip config will be associated + The Azure Region in which you wish to check for availability. - PSLoadBalancer + String + + + Profile + + + + AzureProfile - - Name + + DomainQualifiedName - The name of the LoadBalancer containing the Frontend Ip + The domain name to be verified. + It must conform to the following regular expression: ^[a-z][a-z0-9-]{1,61}[a-z0-9]$. String @@ -1838,14 +2093,26 @@ - - LoadBalancer + + Location - The Load Balancer with which this Frontend Ip config will be associated + The Azure Region in which you wish to check for availability. - PSLoadBalancer + String - PSLoadBalancer + String + + + + + + Profile + + + + AzureProfile + + AzureProfile @@ -1855,32 +2122,34 @@ - - - - + + - + + + + - - - - + + - - - + + + + + + - + @@ -1888,48 +2157,55 @@ - + + - Get-AzureLoadBalancerInboundNatRuleConfig + Get-AzureLoadBalancer - Retrieve a single Inbound NAT Rule or a list of Inbound NAT Rules within a Load Balancer + Retrieve a single Load Balancer or a list of Load Balancers within a Resource Group Get - AzureLoadBalancerInboundNatRuleConfig + AzureLoadBalancer - - Retrieve a single Inbound NAT Rule or a list of Inbound NAT Rules within a Load Balancer + Retrieve a single Load Balancer or a list of Load Balancers within a Resource Group - Get-AzureLoadBalancerInboundNatRuleConfig - + Get-AzureLoadBalancer + Name - The name of the Inbound NAT Rule to retrieve. + The name of the Load Balancer to retrieve. String - - LoadBalancer + + ResourceGroupName - The name of the Load Balancer containing the Inbound NAT Rule + The name of the Resource Group containing the Load Balancer. - PSLoadBalancer + String + + + Profile + + + + AzureProfile - + Name - The name of the Inbound NAT Rule to retrieve. + The name of the Load Balancer to retrieve. String @@ -1938,14 +2214,26 @@ - - LoadBalancer + + ResourceGroupName - The name of the Load Balancer containing the Inbound NAT Rule + The name of the Resource Group containing the Load Balancer. - PSLoadBalancer + String - PSLoadBalancer + String + + + + + + Profile + + + + AzureProfile + + AzureProfile @@ -1955,32 +2243,34 @@ - - - - + + - + + + + - - - - + + - - - + + + + + + - + @@ -1988,48 +2278,54 @@ - + - Get-AzureLoadBalancerProbeConfig + Get-AzureLoadBalancerBackendAddressPoolConfig - Retrieve a single Probe configuration or a list of Probe configurations within a Load Balancer + Retrieve a single Backend Address Pool or a list of Backend Address Pools within a Load Balancer Get - AzureLoadBalancerProbeConfig + AzureLoadBalancerBackendAddressPoolConfig - - Retrieve a single Probe configuration or a list of Probe configurations within a Load Balancer + Retrieve a single Backend Address Pool or a list of Backend Address Pools within a Load Balancer - Get-AzureLoadBalancerProbeConfig + Get-AzureLoadBalancerBackendAddressPoolConfig Name - The name of the Probe configuration to retrieve. + The name of the Load Balancer containing the Backend Address Pool. String LoadBalancer - The name of the LoadBalancer containing the Probe configuration + The name of the Backend Address Pool to retrieve. PSLoadBalancer + + Profile + + + + AzureProfile + Name - The name of the Probe configuration to retrieve. + The name of the Load Balancer containing the Backend Address Pool. String @@ -2041,7 +2337,7 @@ LoadBalancer - The name of the LoadBalancer containing the Probe configuration + The name of the Backend Address Pool to retrieve. PSLoadBalancer @@ -2050,37 +2346,51 @@ + + Profile + + + + AzureProfile + + AzureProfile + + + + - - - - + + - + + + + - - - - + + - - - + + + + + + - + @@ -2088,48 +2398,54 @@ - + - Get-AzureLoadBalancerRuleConfig + Get-AzureLoadBalancerFrontendIpConfig - Retrieve a single Load Balancer Rule or a list of Load Balancer Rules within a Load Balancer + Retrieve a single Frontend Ip or a list of Frontend Ips within a Load Balancer Get - AzureLoadBalancerRuleConfig + AzureLoadBalancerFrontendIpConfig - - Retrieve a single Load Balancer Rule or a list of Load Balancer Rules within a Load Balancer + Retrieve a single Frontend Ip or a list of Frontend Ips within a Load Balancer - Get-AzureLoadBalancerRuleConfig + Get-AzureLoadBalancerFrontendIpConfig Name - The name of the Load Balancer Rule to retrieve + The name of the Load Balancer containing the Frontend Ip. String LoadBalancer - The name of the LoadBalancer containing the Load Balancer Rule + The Load Balancer with which this Frontend Ip config will be associated. PSLoadBalancer + + Profile + + + + AzureProfile + Name - The name of the Load Balancer Rule to retrieve + The name of the Load Balancer containing the Frontend Ip. String @@ -2141,7 +2457,7 @@ LoadBalancer - The name of the LoadBalancer containing the Load Balancer Rule + The Load Balancer with which this Frontend Ip config will be associated. PSLoadBalancer @@ -2150,37 +2466,51 @@ + + Profile + + + + AzureProfile + + AzureProfile + + + + - - - - + + - + + + + - - - - + + - - - + + + + + + - + @@ -2188,48 +2518,54 @@ - + - Get-AzureNetworkInterface + Get-AzureLoadBalancerInboundNatRuleConfig - Retrieve a single Network Interface or a list of Network Interfaces within a Resource Group + Retrieve a single Inbound NAT Rule or a list of Inbound NAT Rules within a Load Balancer Get - AzureNetworkInterface + AzureLoadBalancerInboundNatRuleConfig - - Retrieve a single Network Interface or a list of Network Interfaces within a Resource Group + Retrieve a single Inbound NAT Rule or a list of Inbound NAT Rules within a Load Balancer - Get-AzureNetworkInterface - + Get-AzureLoadBalancerInboundNatRuleConfig + Name - The name of the Network Interface to retrieve. + The name of the Inbound NAT Rule to retrieve. String - - ResourceGroupName + + LoadBalancer - The name of the Resource Group containing the Network Interface + The name of the Load Balancer containing the Inbound NAT Rule. - String + PSLoadBalancer + + + Profile + + + + AzureProfile - + Name - The name of the Network Interface to retrieve. + The name of the Inbound NAT Rule to retrieve. String @@ -2238,14 +2574,26 @@ - - ResourceGroupName + + LoadBalancer - The name of the Resource Group containing the Network Interface + The name of the Load Balancer containing the Inbound NAT Rule. - String + PSLoadBalancer - String + PSLoadBalancer + + + + + + Profile + + + + AzureProfile + + AzureProfile @@ -2255,32 +2603,34 @@ - - - - + + - + + + + - - - - + + - - - + + + + + + - + @@ -2288,48 +2638,54 @@ - + - Get-AzurePublicIpAddress + Get-AzureLoadBalancerProbeConfig - Retrieve a single Public Ip Address or a list of Public Ip Addresses within a Resource Group + Retrieve a single Probe configuration or a list of Probe configurations within a Load Balancer Get - AzurePublicIpAddress + AzureLoadBalancerProbeConfig - - Retrieve a single Public Ip Address or a list of Public Ip Addresses within a Resource Group + Retrieve a single Probe configuration or a list of Probe configurations within a Load Balancer - Get-AzurePublicIpAddress - + Get-AzureLoadBalancerProbeConfig + Name - The name of the Public Ip Address to retrieve. + The name of the probe configuration to retrieve. String - - ResourceGroupName + + LoadBalancer - The name of the Resource Group containing the Public Ip Address + The name of the Load Balancer containing the probe configuration. - String + PSLoadBalancer + + + Profile + + + + AzureProfile - + Name - The name of the Public Ip Address to retrieve. + The name of the probe configuration to retrieve. String @@ -2338,14 +2694,26 @@ - - ResourceGroupName + + LoadBalancer - The name of the Resource Group containing the Public Ip Address + The name of the Load Balancer containing the probe configuration. - String + PSLoadBalancer - String + PSLoadBalancer + + + + + + Profile + + + + AzureProfile + + AzureProfile @@ -2355,32 +2723,34 @@ - - - - + + - + + + + - - - - + + - - - + + + + + + - + @@ -2388,48 +2758,54 @@ - + - Get-AzureVirtualNetwork + Get-AzureLoadBalancerRuleConfig - Retrieve a single Virtual Network or a list of Virtual Networks within a Resource Group + Retrieve a single Load Balancer Rule or a list of Load Balancer Rules within a Load Balancer Get - AzureVirtualNetwork + AzureLoadBalancerRuleConfig - - Retrieve a single Virtual Network or a list of Virtual Networks within a Resource Group + Retrieve a single Load Balancer Rule or a list of Load Balancer Rules within a Load Balancer - Get-AzureVirtualNetwork - + Get-AzureLoadBalancerRuleConfig + Name - The name of the Virtual Network to retrieve. + The name of the Load Balancer Rule to retrieve. String - - ResourceGroupName + + LoadBalancer - The name of the Resource Group containing the Virtual Network + The name of the Load Balancer containing the Load Balancer Rule. - String + PSLoadBalancer + + + Profile + + + + AzureProfile - + Name - The name of the Virtual Network to retrieve. + The name of the Load Balancer Rule to retrieve. String @@ -2438,14 +2814,26 @@ - - ResourceGroupName + + LoadBalancer - The name of the Resource Group containing the Virtual Network + The name of the Load Balancer containing the Load Balancer Rule. - String + PSLoadBalancer - String + PSLoadBalancer + + + + + + Profile + + + + AzureProfile + + AzureProfile @@ -2455,32 +2843,34 @@ - - - - + + - + + + + - - - - + + - - - + + + + + + - + @@ -2488,48 +2878,54 @@ - + - Get-AzureVirtualNetworkSubnetConfig + Get-AzureNetworkInterface - Retrieve a single Subnet or a list of Subnets within a Virtual Network + Retrieve a single Network Interface or a list of Network Interfaces within a Resource Group Get - AzureVirtualNetworkSubnetConfig + AzureNetworkInterface - - Retrieve a single Subnet or a list of Subnets within a Virtual Network + Retrieve a single Network Interface or a list of Network Interfaces within a Resource Group - Get-AzureVirtualNetworkSubnetConfig - + Get-AzureNetworkInterface + Name - The name of the Subnet to retrieve. + The name of the Network Interface to retrieve. String - - VirtualNetwork + + ResourceGroupName - The Virtual Network containing the Subnet + The name of the Resource Group containing the Network Interface - PSVirtualNetwork + String + + + Profile + + + + AzureProfile - + Name - The name of the Subnet to retrieve. + The name of the Network Interface to retrieve. String @@ -2538,14 +2934,26 @@ - - VirtualNetwork + + ResourceGroupName - The Virtual Network containing the Subnet + The name of the Resource Group containing the Network Interface - PSVirtualNetwork + String - PSVirtualNetwork + String + + + + + + Profile + + + + AzureProfile + + AzureProfile @@ -2555,32 +2963,34 @@ - - - - + + - + + + + - - - - + + - - - + + + + + + - + @@ -2588,58 +2998,54 @@ - + - Join-AzureCoreResourceProvider + Get-AzureNetworkSecurityGroup - Registers the subscription with ARM and the Resource Provider + Get an existing Network Security Group. - Join - AzureCoreResourceProvider + Get + AzureNetworkSecurityGroup - - Registers the subscription with ARM and the Resource Provider + Get an existing Network Security Group. - Join-AzureCoreResourceProvider - + Get-AzureNetworkSecurityGroup + Name - The name of the resource provider + The name of the Network Security Group to retrieve. String - - Environment + + ResourceGroupName - The ARM environment you want the subscription to be registered with + The name of the Resource Group containing the Network Security Group. String - All + Profile - Registers the subscription with the following resource provider - Microsoft.Network - Microsoft.Compute - Microsoft.Storage + - SwitchParameter + AzureProfile - + Name - The name of the resource provider + The name of the Network Security Group to retrieve. String @@ -2648,10 +3054,10 @@ - - Environment + + ResourceGroupName - The ARM environment you want the subscription to be registered with + The name of the Resource Group containing the Network Security Group. String @@ -2661,16 +3067,13 @@ - All + Profile - Registers the subscription with the following resource provider - Microsoft.Network - Microsoft.Compute - Microsoft.Storage + - SwitchParameter + AzureProfile - SwitchParameter + AzureProfile @@ -2680,32 +3083,32 @@ - - - - + + - + + + - - - - + + - - - + + + + + - + @@ -2713,128 +3116,61 @@ - + - New-AzureLoadBalancer + Get-AzureNetworkSecurityRuleConfig - Create a new Azure Load Balancer + Get an existing Network Security Rule within a Network Security Group. - New - AzureLoadBalancer + Get + AzureNetworkSecurityRuleConfig - - Create a new Azure Load Balancer + Get an existing Network Security Rule within a Network Security Group. - New-AzureLoadBalancer - + Get-AzureNetworkSecurityRuleConfig + Name - The name of the Load Balancer - - String - - - ResourceGroupName - - The name of the Resource Group in which this Load Balancer will be created - - String - - - Location - - The Region in which this Load Balancer will be created + The name of the Network Security Rule to retrieve. String - - FrontendIpConfiguration - - A list of Frontend Ips to associate with this Load Balancer. - - List`1[PSFrontendIpConfiguration] - - - BackendAddressPool - - A list of Backend Address Pool to associate with this Load Balance - - List`1[PSBackendAddressPool] - - - Probe - - A list of Probes to associate with this Load Balancer - - List`1[PSProbe] - - - InboundNatRule - - A list of Inbound NAT Rules to associated with this Load Balancer - - List`1[PSInboundNatRule] - - - LoadBalancingRule + + NetworkSecurityGroup - A list of Load Balancing Rules to associate with this Load Balancer + The Network Security Group object containing the Network Security Rule to retrieve. - List`1[PSLoadBalancingRule] + PSNetworkSecurityGroup - - Tag + + DefaultRules - A dictionary of tags to be associated with this Load Balancer. + Switch on whether to get user-created rules, or default rules. - Hashtable[] + SwitchParameter - Force + Profile - Forces the creation of the Load Balancer even if a Load Balancer with the same name already exists + - SwitchParameter + AzureProfile - + Name - The name of the Load Balancer - - String - - String - - - - - - ResourceGroupName - - The name of the Resource Group in which this Load Balancer will be created - - String - - String - - - - - - Location - - The Region in which this Load Balancer will be created + The name of the Network Security Rule to retrieve. String @@ -2843,86 +3179,38 @@ - - FrontendIpConfiguration - - A list of Frontend Ips to associate with this Load Balancer. - - List`1[PSFrontendIpConfiguration] - - List`1[PSFrontendIpConfiguration] - - - - - - BackendAddressPool - - A list of Backend Address Pool to associate with this Load Balance - - List`1[PSBackendAddressPool] - - List`1[PSBackendAddressPool] - - - - - - Probe - - A list of Probes to associate with this Load Balancer - - List`1[PSProbe] - - List`1[PSProbe] - - - - - - InboundNatRule - - A list of Inbound NAT Rules to associated with this Load Balancer - - List`1[PSInboundNatRule] - - List`1[PSInboundNatRule] - - - - - - LoadBalancingRule + + NetworkSecurityGroup - A list of Load Balancing Rules to associate with this Load Balancer + The Network Security Group object containing the Network Security Rule to retrieve. - List`1[PSLoadBalancingRule] + PSNetworkSecurityGroup - List`1[PSLoadBalancingRule] + PSNetworkSecurityGroup - - Tag + + DefaultRules - A dictionary of tags to be associated with this Load Balancer. + Switch on whether to get user-created rules, or default rules. - Hashtable[] + SwitchParameter - Hashtable[] + SwitchParameter - Force + Profile - Forces the creation of the Load Balancer even if a Load Balancer with the same name already exists + - SwitchParameter + AzureProfile - SwitchParameter + AzureProfile @@ -2932,32 +3220,32 @@ - - - - + + - + + + - - - - + + - - - + + + + + - + @@ -2965,55 +3253,54 @@ - + - New-AzureLoadBalancerBackendAddressPoolConfig + Get-AzurePublicIpAddress - Create a new Backend Address Pool for an Azure Load Balancer + Retrieve a single Public Ip Address or a list of Public Ip Addresses within a Resource Group - New - AzureLoadBalancerBackendAddressPoolConfig + Get + AzurePublicIpAddress - - Create a new Backend Address Pool for an Azure Load Balancer + Retrieve a single Public Ip Address or a list of Public Ip Addresses within a Resource Group - New-AzureLoadBalancerBackendAddressPoolConfig - + Get-AzurePublicIpAddress + Name - The name of the Backend Address Pool + The name of the Public Ip Address to retrieve. String - - BackendIpConfigurationId + + ResourceGroupName - A list of Backend Ip config ID's to associate with this. + The name of the Resource Group containing the Public Ip Address. - List`1[String] + String - - BackendIpConfiguration + + Profile - A list of IPs to associate with the Backend Address Pool. + - List`1[PSNetworkInterfaceIpConfiguration] + AzureProfile - + Name - The name of the Backend Address Pool + The name of the Public Ip Address to retrieve. String @@ -3022,26 +3309,26 @@ - - BackendIpConfigurationId + + ResourceGroupName - A list of Backend Ip config ID's to associate with this. + The name of the Resource Group containing the Public Ip Address. - List`1[String] + String - List`1[String] + String - - BackendIpConfiguration + + Profile - A list of IPs to associate with the Backend Address Pool. + - List`1[PSNetworkInterfaceIpConfiguration] + AzureProfile - List`1[PSNetworkInterfaceIpConfiguration] + AzureProfile @@ -3051,32 +3338,34 @@ - - - - + + - + + + + - - - - + + - - - + + + + + + - + @@ -3084,95 +3373,2102 @@ - + - New-AzureLoadBalancerFrontendIpConfig + Get-AzureVirtualNetwork - Create a new Frontend Ip Config for an Azure Load Balancer + Retrieve a single Virtual Network or a list of Virtual Networks within a Resource Group - New - AzureLoadBalancerFrontendIpConfig + Get + AzureVirtualNetwork - - Create a new Frontend Ip Config for an Azure Load Balancer + Retrieve a single Virtual Network or a list of Virtual Networks within a Resource Group - New-AzureLoadBalancerFrontendIpConfig - + Get-AzureVirtualNetwork + Name - The name of the Frontend Ip. - - String - - - PrivateIpAddress - - The private ip address of the load balancer. - This can be specified only if a subnet is specified + The name of the Virtual Network to retrieve. String - - SubnetId + + ResourceGroupName - The ID of the Subnet in which this Frontend Ip will be created + The name of the Resource Group containing the Virtual Network String - PublicIpAddressId + Profile - The ID of the PublicIpAddress to associate with this Frontend Ip. + - String + AzureProfile - - New-AzureLoadBalancerFrontendIpConfig - - Name + + + + Name + + The name of the Virtual Network to retrieve. + + String + + String + + + + + + ResourceGroupName + + The name of the Resource Group containing the Virtual Network + + String + + String + + + + + + Profile + + + + AzureProfile + + AzureProfile + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Get-AzureVirtualNetworkSubnetConfig + + Retrieve a single Subnet or a list of Subnets within a Virtual Network + + + + + Get + AzureVirtualNetworkSubnetConfig + + + + Retrieve a single Subnet or a list of Subnets within a Virtual Network + + + + Get-AzureVirtualNetworkSubnetConfig + + Name + + The name of the Subnet to retrieve. + + String + + + VirtualNetwork + + The Virtual Network containing the Subnet. + + PSVirtualNetwork + + + Profile + + + + AzureProfile + + + + + + Name + + The name of the Subnet to retrieve. + + String + + String + + + + + + VirtualNetwork + + The Virtual Network containing the Subnet. + + PSVirtualNetwork + + PSVirtualNetwork + + + + + + Profile + + + + AzureProfile + + AzureProfile + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + New-AzureLoadBalancer + + Create a new Azure Load Balancer + + + + + New + AzureLoadBalancer + + + + Create a new Azure Load Balancer + + + + New-AzureLoadBalancer + + Name + + The name of the Load Balancer. + + String + + + ResourceGroupName + + The name of the Resource Group in which this Load Balancer will be created. + + String + + + Location + + The Region in which this Load Balancer will be created. + + String + + + FrontendIpConfiguration + + A list of Frontend Ips objects to associate with this Load Balancer. + + List`1[PSFrontendIPConfiguration] + + + BackendAddressPool + + A list of Backend Address Pool objects to associate with this Load Balancer + + List`1[PSBackendAddressPool] + + + Probe + + A list of Probe objects to associate with this Load Balancer. + + List`1[PSProbe] + + + InboundNatRule + + A list of Inbound NAT Rules objects to associated with this Load Balancer. + + List`1[PSInboundNatRule] + + + LoadBalancingRule + + A list of Load Balancing Rule objects to associate with this Load Balancer. + + List`1[PSLoadBalancingRule] + + + Tag + + A dictionary of tags to be associated with this Load Balancer. + + Hashtable[] + + + Force + + Forces the creation of the Load Balancer even if a Load Balancer with the same name already exists. + + SwitchParameter + + + Profile + + + + AzureProfile + + + + + + Name + + The name of the Load Balancer. + + String + + String + + + + + + ResourceGroupName + + The name of the Resource Group in which this Load Balancer will be created. + + String + + String + + + + + + Location + + The Region in which this Load Balancer will be created. + + String + + String + + + + + + FrontendIpConfiguration + + A list of Frontend Ips objects to associate with this Load Balancer. + + List`1[PSFrontendIPConfiguration] + + List`1[PSFrontendIPConfiguration] + + + + + + BackendAddressPool + + A list of Backend Address Pool objects to associate with this Load Balancer + + List`1[PSBackendAddressPool] + + List`1[PSBackendAddressPool] + + + + + + Probe + + A list of Probe objects to associate with this Load Balancer. + + List`1[PSProbe] + + List`1[PSProbe] + + + + + + InboundNatRule + + A list of Inbound NAT Rules objects to associated with this Load Balancer. + + List`1[PSInboundNatRule] + + List`1[PSInboundNatRule] + + + + + + LoadBalancingRule + + A list of Load Balancing Rule objects to associate with this Load Balancer. + + List`1[PSLoadBalancingRule] + + List`1[PSLoadBalancingRule] + + + + + + Tag + + A dictionary of tags to be associated with this Load Balancer. + + Hashtable[] + + Hashtable[] + + + + + + Force + + Forces the creation of the Load Balancer even if a Load Balancer with the same name already exists. + + SwitchParameter + + SwitchParameter + + + + + + Profile + + + + AzureProfile + + AzureProfile + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -------------------------- Example 1 -------------------------- + + PS C:\> + + New-AzureResourceGroup ` + -Name 'SampleRG' ` + -Location "West US" + +$backendSubnet = New-AzureVirtualNetworkSubnetConfig -Name LB-Subnet-BE -AddressPrefix 10.0.2.0/24 + +$vnet = New-AzurevirtualNetwork ` + -Name SampleVNet ` + -ResourceGroupName SampleRG ` + -Location "West US" ` + -AddressPrefix 10.0.0.0/16 ` + -Subnet $frontendSubnet,$backendSubnet + +$backendNic = New-AzureNetworkInterface ` + -Name LB-Nic-BE ` + -ResourceGroupName SampleRG ` + -Location "West US" ` + -PrivateIpAddress 10.0.2.4 ` + -Subnet $backendSubnet + +$backendNic2 = New-AzureNetworkInterface ` + -Name LB-Nic2-BE ` + -ResourceGroupName SampleRG ` + -Location "West US" ` + -PrivateIpAddress 10.0.2.5 ` + -Subnet $backendSubnet + +$publicIP = New-AzurePublicIpAddress ` + -Name PublicIp ` + -ResourceGroupName SampleRG ` + -Location "West US" ` + –AllocationMethod Dynamic ` + -DomainNameLabel samplelbip + +$frontendIP = New-AzureLoadBalancerFrontendIpConfig ` + -Name LB-Frontend ` + -PublicIpAddress $publicIP + +$backendAddressPool = New-AzureLoadBalancerBackendAddressPoolConfig ` + -Name LB-BEPool ` + +$inboundNatRule = New-AzureLoadBalancerInboundNatRuleConfig ` + -Name LB-InboundNATRule ` + -FrontendIPConfiguration $frontendIP ` + -Protocol Tcp ` + -FrontendPort 3389 ` + -BackendPort 3389 ` + -IdleTimeoutInMinutes 15 + +$probe = New-AzureLoadBalancerProbeConfig ` + -Name LB-Probe ` + -RequestPath healthcheck.aspx ` + -Protocol http ` + -Port 80 ` + -IntervalInSeconds 15 ` + -ProbeCount 2 + +$lbrule = New-AzureLoadBalancerRuleConfig ` + -Name LB-LBRule ` + -FrontendIPConfiguration $frontendIP ` + -BackendAddressPool $backendAddressPool ` + -Probe $probe ` + -Protocol Tcp ` + -FrontendPort 80 ` + -BackendPort 80 ` + -IdleTimeoutInMinutes 15 + +New-AzureLoadBalancer ` + -Name LB ` + -ResourceGroupName SampleRG ` + -Location "West US" ` + -FrontendIpConfiguration $frontendIP ` + -BackendAddressPool $backendAddressPool ` + -Probe $probe ` + -InboundNatRule $inboundNatRule ` + -LoadBalancingRule $lbrule + + + + + + + + + + + + + + + + + + + + + + New-AzureLoadBalancerBackendAddressPoolConfig + + Create a new Backend Address Pool for an Azure Load Balancer + + + + + New + AzureLoadBalancerBackendAddressPoolConfig + + + + Create a new Backend Address Pool for an Azure Load Balancer + + + + New-AzureLoadBalancerBackendAddressPoolConfig + + Name + + The name of the Backend Address Pool. + + String + + + Profile + + + + AzureProfile + + + + + + Name + + The name of the Backend Address Pool. + + String + + String + + + + + + Profile + + + + AzureProfile + + AzureProfile + + + + + + BackendIpConfigurationId + + A list of Backend Ip config Id's to associate with this. + + list`1[string] + + list`1[string] + + + + + + BackendIpConfiguration + + A list of Ips to associate with the Backend Address Pool. + + list`1[psnetworkinterfaceipconfiguration] + + list`1[psnetworkinterfaceipconfiguration] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + New-AzureLoadBalancerFrontendIpConfig + + Create a new Frontend Ip Config for an Azure Load Balancer + + + + + New + AzureLoadBalancerFrontendIpConfig + + + + Create a new Frontend Ip Config for an Azure Load Balancer + + + + New-AzureLoadBalancerFrontendIpConfig + + Name + + The name of the Frontend Ip. + + String + + + PrivateIpAddress + + The private Ip address of the load balancer. + This can be specified only if a subnet is specified + + String + + + SubnetId + + The Id of the Subnet in which this Frontend Ip will be created. + + String + + + PublicIpAddressId + + The Id of the Public Ip Address to associate with this Frontend Ip. + + String + + + Profile + + + + AzureProfile + + + + New-AzureLoadBalancerFrontendIpConfig + + Name + + The name of the Frontend Ip. + + String + + + PrivateIpAddress + + The private Ip address of the load balancer. + This can be specified only if a subnet is specified + + String + + + Subnet + + The Subnet object within which this Frontend Ip will be created. + + PSSubnet + + + PublicIpAddress + + The Public Ip Address object to associate with this Frontend Ip. + + PSPublicIpAddress + + + Profile + + + + AzureProfile + + + + + + Name + + The name of the Frontend Ip. + + String + + String + + + + + + PrivateIpAddress + + The private Ip address of the load balancer. + This can be specified only if a subnet is specified + + String + + String + + + + + + SubnetId + + The Id of the Subnet in which this Frontend Ip will be created. + + String + + String + + + + + + PublicIpAddressId + + The Id of the Public Ip Address to associate with this Frontend Ip. + + String + + String + + + + + + Profile + + + + AzureProfile + + AzureProfile + + + + + + Subnet + + The Subnet object within which this Frontend Ip will be created. + + PSSubnet + + PSSubnet + + + + + + PublicIpAddress + + The Public Ip Address object to associate with this Frontend Ip. + + PSPublicIpAddress + + PSPublicIpAddress + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + New-AzureLoadBalancerInboundNatRuleConfig + + Create a new Inbound NAT rule for an Azure Load Balancer + + + + + New + AzureLoadBalancerInboundNatRuleConfig + + + + Create a new Inbound NAT rule for an Azure Load Balancer + + + + New-AzureLoadBalancerInboundNatRuleConfig + + Name + + The name of the Frontend Ip configuration to remove. + + String + + + FrontendIpConfigurationId + + A list of Frontend Ip Id's to associate with this Inbound NAT Rule. + + String + + + Protocol + + The protocol matched by this Inbound NAT Rule. + Options: Tcp or Udp. + + String + + + FrontendPort + + The frontend port matched by this rule. + + Int32 + + + BackendPort + + The backend port for traffic matched by this rule. + + Int32 + + + IdleTimeoutInMinutes + + The length of time in minutes for which state of conversations is maintained within the Load Balancer. + + Int32 + + + EnableFloatingIP + + Enables Direct Server Return for this Load Balancer NAT Rule. + + SwitchParameter + + + Profile + + + + AzureProfile + + + + New-AzureLoadBalancerInboundNatRuleConfig + + Name + + The name of the Frontend Ip configuration to remove. + + String + + + FrontendIpConfiguration + + A list of Frontend Ips to associate with this Inbound NAT Rule. + + PSFrontendIPConfiguration + + + Protocol + + The protocol matched by this Inbound NAT Rule. + Options: Tcp or Udp. + + String + + + FrontendPort + + The frontend port matched by this rule. + + Int32 + + + BackendPort + + The backend port for traffic matched by this rule. + + Int32 + + + IdleTimeoutInMinutes + + The length of time in minutes for which state of conversations is maintained within the Load Balancer. + + Int32 + + + EnableFloatingIP + + Enables Direct Server Return for this Load Balancer NAT Rule. + + SwitchParameter + + + Profile + + + + AzureProfile + + + + + + Name + + The name of the Frontend Ip configuration to remove. + + String + + String + + + + + + FrontendIpConfigurationId + + A list of Frontend Ip Id's to associate with this Inbound NAT Rule. + + String + + String + + + + + + Protocol + + The protocol matched by this Inbound NAT Rule. + Options: Tcp or Udp. + + String + + String + + + + + + FrontendPort + + The frontend port matched by this rule. + + Int32 + + Int32 + + + + + + BackendPort + + The backend port for traffic matched by this rule. + + Int32 + + Int32 + + + + + + IdleTimeoutInMinutes + + The length of time in minutes for which state of conversations is maintained within the Load Balancer. + + Int32 + + Int32 + + + + + + EnableFloatingIP + + Enables Direct Server Return for this Load Balancer NAT Rule. + + SwitchParameter + + SwitchParameter + + + + + + Profile + + + + AzureProfile + + AzureProfile + + + + + + FrontendIpConfiguration + + A list of Frontend Ips to associate with this Inbound NAT Rule. + + PSFrontendIPConfiguration + + PSFrontendIPConfiguration + + + + + + BackendIpConfigurationId + + The Id of a Backend Ip Configuration to associate with this Inbound NAT Rule. + + string + + string + + + + + + BackendIpConfiguration + + The Backend Ip Configuration to associate with this Inbound NAT Rule. + + psnetworkinterfaceipconfiguration + + psnetworkinterfaceipconfiguration + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + New-AzureLoadBalancerProbeConfig + + Create a new Probe Configuration for an Azure Load Balancer + + + + + New + AzureLoadBalancerProbeConfig + + + + Create a new Probe Configuration for an Azure Load Balancer + + + + New-AzureLoadBalancerProbeConfig + + Name + + The name of the Probe configuration. + + String + + + RequestPath + + The path within the load balanced service to probe to determine health. + + String + + + Protocol + + The protocol to use for the probing. + Options: Tcp or Http. + + String + + + Port + + The port on which probes should connect to the load balanced service. + + Int32 + + + IntervalInSeconds + + The interval between probes to each instance of the load balanced service. + + Int32 + + + ProbeCount + + The number of per-instance consecutive failures for an instance to be considered unhealthy. + + Int32 + + + Profile + + + + AzureProfile + + + + + + Name + + The name of the Probe configuration. + + String + + String + + + + + + RequestPath + + The path within the load balanced service to probe to determine health. + + String + + String + + + + + + Protocol + + The protocol to use for the probing. + Options: Tcp or Http. + + String + + String + + + + + + Port + + The port on which probes should connect to the load balanced service. + + Int32 + + Int32 + + + + + + IntervalInSeconds + + The interval between probes to each instance of the load balanced service. + + Int32 + + Int32 + + + + + + ProbeCount + + The number of per-instance consecutive failures for an instance to be considered unhealthy. + + Int32 + + Int32 + + + + + + Profile + + + + AzureProfile + + AzureProfile + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + New-AzureLoadBalancerRuleConfig + + Create a new Load Balancing Rule for an Azure Load Balancer + + + + + New + AzureLoadBalancerRuleConfig + + + + Create a new Load Balancing Rule for an Azure Load Balancer + + + + New-AzureLoadBalancerRuleConfig + + Name + + The name of the Load Balancing Rule. + + String + + + FrontendIpConfigurationId + + A list of Frontend Ip Id's to associate with this Load Balancer Rule. + + String + + + BackendAddressPoolId + + The Id of a Backend Address Pool to associate with this Load Balancer Rule. + + String + + + ProbeId + + The Id of the Probe to associate with this Load Balancer Rule. + + String + + + Protocol + + The protocol matched by this Load Balancer Rule. + Options: Tcp or Udp + + String + + + FrontendPort + + The frontend port matched by this Load Balancer Rule. + + Int32 + + + BackendPort + + The backend port for traffic matched by this Load Balancer Rule. + + Int32 + + + IdleTimeoutInMinutes + + The length of time in minutes for which state of conversations is maintained within the Load Balancer. + + Int32 + + + LoadDistribution + + Specifies the load balancing distribution type to be used by the Load Balancer. +Possible values are +Default – The load balancer is configured to use a 5 tuple hash to map traffic to available servers +SourceIP – The load balancer is configured to use a 2 tuple hash to map traffic to available servers +SourceIPProtocol– The load balancer is configured to use a 3 tuple hash to map traffic to available servers + + String + + + EnableFloatingIP + + Floating IP is pertinent to failover scenarios: a “floating” IP is reassigned to a secondary server in case the primary server fails. Floating IP is required for SQL AlwaysOn. + + SwitchParameter + + + Profile + + + + AzureProfile + + + + New-AzureLoadBalancerRuleConfig + + Name + + The name of the Load Balancing Rule. + + String + + + FrontendIpConfiguration + + A list of Frontend Ips to associate with this Load Balancer Rule. + + PSFrontendIPConfiguration + + + BackendAddressPool + + The Backend Address Pool to associate with this Load Balancer Rule. + + PSBackendAddressPool + + + Probe + + The Probe to associate with this Load Balancer Rule. + + PSProbe + + + Protocol + + The protocol matched by this Load Balancer Rule. + Options: Tcp or Udp + + String + + + FrontendPort + + The frontend port matched by this Load Balancer Rule. + + Int32 + + + BackendPort + + The backend port for traffic matched by this Load Balancer Rule. + + Int32 + + + IdleTimeoutInMinutes + + The length of time in minutes for which state of conversations is maintained within the Load Balancer. + + Int32 + + + LoadDistribution + + Specifies the load balancing distribution type to be used by the Load Balancer. +Possible values are +Default – The load balancer is configured to use a 5 tuple hash to map traffic to available servers +SourceIP – The load balancer is configured to use a 2 tuple hash to map traffic to available servers +SourceIPProtocol– The load balancer is configured to use a 3 tuple hash to map traffic to available servers + + String + + + EnableFloatingIP + + Floating IP is pertinent to failover scenarios: a “floating” IP is reassigned to a secondary server in case the primary server fails. Floating IP is required for SQL AlwaysOn. + + SwitchParameter + + + Profile + + + + AzureProfile + + + + + + Name + + The name of the Load Balancing Rule. + + String + + String + + + + + + FrontendIpConfigurationId + + A list of Frontend Ip Id's to associate with this Load Balancer Rule. + + String + + String + + + + + + BackendAddressPoolId + + The Id of a Backend Address Pool to associate with this Load Balancer Rule. + + String + + String + + + + + + ProbeId + + The Id of the Probe to associate with this Load Balancer Rule. + + String + + String + + + + + + Protocol + + The protocol matched by this Load Balancer Rule. + Options: Tcp or Udp + + String + + String + + + + + + FrontendPort + + The frontend port matched by this Load Balancer Rule. + + Int32 + + Int32 + + + + + + BackendPort + + The backend port for traffic matched by this Load Balancer Rule. + + Int32 + + Int32 + + + + + + IdleTimeoutInMinutes + + The length of time in minutes for which state of conversations is maintained within the Load Balancer. + + Int32 + + Int32 + + + + + + LoadDistribution + + Specifies the load balancing distribution type to be used by the Load Balancer. +Possible values are +Default – The load balancer is configured to use a 5 tuple hash to map traffic to available servers +SourceIP – The load balancer is configured to use a 2 tuple hash to map traffic to available servers +SourceIPProtocol– The load balancer is configured to use a 3 tuple hash to map traffic to available servers + + String + + String + + + + + + EnableFloatingIP + + Floating IP is pertinent to failover scenarios: a “floating” IP is reassigned to a secondary server in case the primary server fails. Floating IP is required for SQL AlwaysOn. + + SwitchParameter + + SwitchParameter + + + + + + Profile + + + + AzureProfile + + AzureProfile + + + + + + FrontendIpConfiguration + + A list of Frontend Ips to associate with this Load Balancer Rule. + + PSFrontendIPConfiguration + + PSFrontendIPConfiguration + + + + + + BackendAddressPool + + The Backend Address Pool to associate with this Load Balancer Rule. + + PSBackendAddressPool + + PSBackendAddressPool + + + + + + Probe + + The Probe to associate with this Load Balancer Rule. + + PSProbe + + PSProbe + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + New-AzureNetworkInterface + + Create a new Network Interface + + + + + New + AzureNetworkInterface + + + + Create a new Network Interface + + + + New-AzureNetworkInterface + + Name + + The name of the Network Interface. + + String + + + ResourceGroupName - The name of the Frontend Ip. + The name of the Resource Group in which this Network Interface will be created. String - + + Location + + The Region in which this Network Interface will be created. + + String + + PrivateIpAddress - The private ip address of the load balancer. - This can be specified only if a subnet is specified + The static Ipv4 Ip address to be assigned to this Network Interface. Optional + + String + + + SubnetId + + The Id of the Subnet resource in which this Network Interface will be created. + + String + + + PublicIpAddressId + + The Id of the Public Ip Address resource to assign to this Network Interface. + + String + + + NetworkSecurityGroupId + + The Network Security Group object containing ACLs that will apply to this NIC. + + String + + + LoadBalancerBackendAddressPoolId + + A reference to a Load Balancer Address Pool to which this NIC will be added. + + List`1[String] + + + LoadBalancerInboundNatRuleId + + A reference to a Load Balancer Inbound Nat Rule to which this NIC will be added. + + List`1[String] + + + IpConfigurationName + + The name of Ip Configuration. String + + DnsServer + + The Dns servers to be used for performing Dns lookups from this NIC. + + List`1[String] + + + Tag + + A dictionary of tags to be associated with this Network Interface. + + Hashtable[] + + + Force + + Forces the creation of the Network Interface even if a Network Interface with the same name already exists. + + SwitchParameter + + Profile + + + + AzureProfile + + + + New-AzureNetworkInterface + + Name + + The name of the Network Interface. + + String + + + ResourceGroupName + + The name of the Resource Group in which this Network Interface will be created. + + String + + + Location + + The Region in which this Network Interface will be created. + + String + + + PrivateIpAddress + + The static Ipv4 Ip address to be assigned to this Network Interface. Optional + + String + + Subnet - The Subnet object within which this Frontend Ip will be created. + The Subnet object in which this Network Interface will be created. PSSubnet - + PublicIpAddress - The PublicIpAddress object to associate with this Frontend Ip. + The Public Ip Address object to assign to this Network Interface. PSPublicIpAddress + + NetworkSecurityGroup + + A reference to a Network Security Group object containing ACLs that will apply to this NIC. + + PSNetworkSecurityGroup + + + LoadBalancerBackendAddressPool + + A Load Balancer Address Pool object to which this NIC will be added. + + List`1[PSBackendAddressPool] + + + LoadBalancerInboundNatRule + + A Load Balancer Inbound Nat Rule object to which this NIC will be added. + + List`1[PSInboundNatRule] + + + IpConfigurationName + + The name of Ip Configuration. + + String + + + DnsServer + + The Dns servers to be used for performing Dns lookups from this NIC. + + List`1[String] + + + Tag + + A dictionary of tags to be associated with this Network Interface. + + Hashtable[] + + + Force + + Forces the creation of the Network Interface even if a Network Interface with the same name already exists. + + SwitchParameter + + + Profile + + + + AzureProfile + - + Name - The name of the Frontend Ip. + The name of the Network Interface. String @@ -3181,47 +5477,166 @@ - + + ResourceGroupName + + The name of the Resource Group in which this Network Interface will be created. + + String + + String + + + + + + Location + + The Region in which this Network Interface will be created. + + String + + String + + + + + PrivateIpAddress - The private ip address of the load balancer. - This can be specified only if a subnet is specified + The static Ipv4 Ip address to be assigned to this Network Interface. Optional + + String + + String + + + + + + SubnetId + + The Id of the Subnet resource in which this Network Interface will be created. + + String + + String + + + + + + PublicIpAddressId + + The Id of the Public Ip Address resource to assign to this Network Interface. + + String + + String + + + + + + NetworkSecurityGroupId + + The Network Security Group object containing ACLs that will apply to this NIC. + + String + + String + + + + + + LoadBalancerBackendAddressPoolId + + A reference to a Load Balancer Address Pool to which this NIC will be added. + + List`1[String] + + List`1[String] + + + + + + LoadBalancerInboundNatRuleId + + A reference to a Load Balancer Inbound Nat Rule to which this NIC will be added. + + List`1[String] + + List`1[String] + + + + + + IpConfigurationName + + The name of Ip Configuration. + + String + + String + + + + + + DnsServer + + The Dns servers to be used for performing Dns lookups from this NIC. + + List`1[String] + + List`1[String] + + + + + + Tag + + A dictionary of tags to be associated with this Network Interface. - String + Hashtable[] - String + Hashtable[] - SubnetId + Force - The ID of the Subnet in which this Frontend Ip will be created + Forces the creation of the Network Interface even if a Network Interface with the same name already exists. - String + SwitchParameter - String + SwitchParameter - PublicIpAddressId + Profile - The ID of the PublicIpAddress to associate with this Frontend Ip. + - String + AzureProfile - String + AzureProfile - + Subnet - The Subnet object within which this Frontend Ip will be created. + The Subnet object in which this Network Interface will be created. PSSubnet @@ -3230,10 +5645,10 @@ - + PublicIpAddress - The PublicIpAddress object to associate with this Frontend Ip. + The Public Ip Address object to assign to this Network Interface. PSPublicIpAddress @@ -3242,187 +5657,208 @@ + + NetworkSecurityGroup + + A reference to a Network Security Group object containing ACLs that will apply to this NIC. + + PSNetworkSecurityGroup + + PSNetworkSecurityGroup + + + + + + LoadBalancerBackendAddressPool + + A Load Balancer Address Pool object to which this NIC will be added. + + List`1[PSBackendAddressPool] + + List`1[PSBackendAddressPool] + + + + + + LoadBalancerInboundNatRule + + A Load Balancer Inbound Nat Rule object to which this NIC will be added. + + List`1[PSInboundNatRule] + + List`1[PSInboundNatRule] + + + + + + AllocationMethod + + How Ips are assigned to this Network Interface. Options: Static or Dynamic + + string + + string + + + + - - - - + + - + + + + - - - - + + - - - + + + + + + - + + + -------------------------- Example 1 -------------------------- + + PS C:\> + + New-AzureResourceGroup ` + -Name 'SampleRG' ` + -Location "West US" + +$backendSubnet = New-AzureVirtualNetworkSubnetConfig -Name LB-Subnet-BE -AddressPrefix 10.0.2.0/24 + +$vnet = New-AzurevirtualNetwork ` + -Name SampleVNet ` + -ResourceGroupName SampleRG ` + -Location "West US" ` + -AddressPrefix 10.0.0.0/16 ` + -Subnet $frontendSubnet,$backendSubnet + +$backendNic = New-AzureNetworkInterface ` + -Name LB-Nic-BE ` + -ResourceGroupName SampleRG ` + -Location "West US" ` + -PrivateIpAddress 10.0.2.4 ` + -Subnet $backendSubnet + + + + + + + + + + + + + + - + - New-AzureLoadBalancerInboundNatRuleConfig + New-AzureNetworkSecurityGroup - Create a new Inbound NAT rule for an Azure Load Balancer + Create a new Network Security Group New - AzureLoadBalancerInboundNatRuleConfig + AzureNetworkSecurityGroup - - Create a new Inbound NAT rule for an Azure Load Balancer + Create a new Network Security Group - New-AzureLoadBalancerInboundNatRuleConfig - + New-AzureNetworkSecurityGroup + Name - The name of the Frontend Ip configuration to remove. + The name of the Network Security Group. String - - FrontendIPConfigurationId - - - - List`1[String] - - - BackendIpConfigurationId + + ResourceGroupName - + The name of the Resource Group in which this Network Security Group will be created. String - - Protocol + + Location - + The Region in which this Network Security Group will be created. String - - FrontendPort - - - - Int32 - - - BackendPort + + SecurityRules - + A list of Network Security Rule objects to create within this Network Security Group. - Int32 + List`1[PSSecurityRule] - - IdleTimeoutInMinutes + + Tag - + A dictionary of tags to be associated with this Network Security Group. - Int32 + Hashtable[] - EnableFloatingIP + Force - + Forces the creation of the Network Security Group even if a Network Security Group with the same name already exists. SwitchParameter - - - New-AzureLoadBalancerInboundNatRuleConfig - - Name - - The name of the Frontend Ip configuration to remove. - - String - - - FrontendIpConfiguration - - - - List`1[PSFrontendIpConfiguration] - - - BackendIpConfiguration - - - - PSNetworkInterfaceIpConfiguration - - - Protocol - - - - String - - - FrontendPort - - - - Int32 - - - BackendPort - - - - Int32 - - - IdleTimeoutInMinutes - - - - Int32 - - EnableFloatingIP + Profile - + - SwitchParameter + AzureProfile - + Name - The name of the Frontend Ip configuration to remove. + The name of the Network Security Group. String @@ -3431,22 +5867,10 @@ - - FrontendIPConfigurationId - - - - List`1[String] - - List`1[String] - - - - - - BackendIpConfigurationId + + ResourceGroupName - + The name of the Resource Group in which this Network Security Group will be created. String @@ -3455,10 +5879,10 @@ - - Protocol + + Location - + The Region in which this Network Security Group will be created. String @@ -3467,46 +5891,34 @@ - - FrontendPort - - - - Int32 - - Int32 - - - - - - BackendPort + + SecurityRules - + A list of Network Security Rule objects to create within this Network Security Group. - Int32 + List`1[PSSecurityRule] - Int32 + List`1[PSSecurityRule] - - IdleTimeoutInMinutes + + Tag - + A dictionary of tags to be associated with this Network Security Group. - Int32 + Hashtable[] - Int32 + Hashtable[] - EnableFloatingIP + Force - + Forces the creation of the Network Security Group even if a Network Security Group with the same name already exists. SwitchParameter @@ -3515,26 +5927,14 @@ - - FrontendIpConfiguration - - - - List`1[PSFrontendIpConfiguration] - - List`1[PSFrontendIpConfiguration] - - - - - BackendIpConfiguration + Profile - + - PSNetworkInterfaceIpConfiguration + AzureProfile - PSNetworkInterfaceIpConfiguration + AzureProfile @@ -3544,32 +5944,32 @@ - - - - + + - + + + - - - - + + - - - + + + + + - + @@ -3577,78 +5977,110 @@ - + - New-AzureLoadBalancerProbeConfig + New-AzureNetworkSecurityRuleConfig - Create a new Probe Configuration for an Azure Load Balancer + Create a new Network Security Rule within a Network Security Group New - AzureLoadBalancerProbeConfig + AzureNetworkSecurityRuleConfig - - Create a new Probe Configuration for an Azure Load Balancer + Create a new Network Security Rule within a Network Security Group - New-AzureLoadBalancerProbeConfig + New-AzureNetworkSecurityRuleConfig Name - The name of the Probe configuration. + The name of the Network Security Rule. + + String + + + Description + + The description of the Network Security Rule. + + String + + + Protocol + + Network protocol this rule applies to. Can be Tcp, Udp or * to match both. + + String + + + SourcePortRange + + Source Port or Range. Integer or range between 0 and 65535 or * to match any. String - - RequestPath + + DestinationPortRange - The path within the load balanced service to probe to determine health + Destination Port or Range. Integer or range between 0 and 65535 or * to match any. String - Protocol + SourceAddressPrefix - The Protocol to use for the probing. - - Options: Tcp or Http. + CIDR or source IP range or * to match any IP. Tags such as ‘VirtualNetwork’, ‘AzureLoadBalancer’ and ‘Internet’ can also be used. String - - Port + + DestinationAddressPrefix - The port on which probes should connect to the load balanced service + CIDR or destination IP range or * to match any IP. Tags such as ‘VirtualNetwork’, ‘AzureLoadBalancer’ and ‘Internet’ can also be used. - Int32 + String - - IntervalInSeconds + + Access - The interval between probes to each instance of the load balanced service + Specifies whether network traffic is allowed or denied. Possible values are “Allow” and “Deny”. - Int32 + String - - ProbeCount + + Priority - The number of per-instance consecutive failures for an instance to be considered unhealthy + Specifies the priority of the rule. The value can be between 100 and 4096. The priority number must be unique for each rule in the collection. The lower the priority number, the higher the priority of the rule. Int32 + + Direction + + The direction specifies if rule will be evaluated on incoming or outgoing traffic. Possible values are “Inbound” and “Outbound”. + + String + + + Profile + + + + AzureProfile + Name - The name of the Probe configuration. + The name of the Network Security Rule. String @@ -3657,10 +6089,10 @@ - - RequestPath + + Description - The path within the load balanced service to probe to determine health + The description of the Network Security Rule. String @@ -3672,9 +6104,7 @@ Protocol - The Protocol to use for the probing. - - Options: Tcp or Http. + Network protocol this rule applies to. Can be Tcp, Udp or * to match both. String @@ -3683,34 +6113,70 @@ - - Port + + SourcePortRange - The port on which probes should connect to the load balanced service + Source Port or Range. Integer or range between 0 and 65535 or * to match any. - Int32 + String - Int32 + String - - IntervalInSeconds + + DestinationPortRange - The interval between probes to each instance of the load balanced service + Destination Port or Range. Integer or range between 0 and 65535 or * to match any. - Int32 + String - Int32 + String - - ProbeCount + + SourceAddressPrefix + + CIDR or source IP range or * to match any IP. Tags such as ‘VirtualNetwork’, ‘AzureLoadBalancer’ and ‘Internet’ can also be used. + + String + + String + + + + + + DestinationAddressPrefix + + CIDR or destination IP range or * to match any IP. Tags such as ‘VirtualNetwork’, ‘AzureLoadBalancer’ and ‘Internet’ can also be used. + + String + + String + + + + + + Access + + Specifies whether network traffic is allowed or denied. Possible values are “Allow” and “Deny”. + + String + + String + + + + + + Priority - The number of per-instance consecutive failures for an instance to be considered unhealthy + Specifies the priority of the rule. The value can be between 100 and 4096. The priority number must be unique for each rule in the collection. The lower the priority number, the higher the priority of the rule. Int32 @@ -3719,37 +6185,61 @@ + + Direction + + The direction specifies if rule will be evaluated on incoming or outgoing traffic. Possible values are “Inbound” and “Outbound”. + + String + + String + + + + + + Profile + + + + AzureProfile + + AzureProfile + + + + - - - - + + - + + + - - - - + + - - - + + + + + - + @@ -3757,167 +6247,104 @@ - + - New-AzureLoadBalancerRuleConfig + New-AzurePublicIpAddress - Create a new Load Balancing Rule for an Azure Load Balancer + Create a new Public Ip Address New - AzureLoadBalancerRuleConfig + AzurePublicIpAddress - - Create a new Load Balancing Rule for an Azure Load Balancer + Create a new Public Ip Address - New-AzureLoadBalancerRuleConfig - + New-AzurePublicIpAddress + Name - The name of the load balancing rule + The name of the Public Ip Address. String - - FrontendIPConfigurationId - - A list of Frontend Ip ID's to associate with this Load Balancer Rule - - List`1[String] - - - BackendAddressPoolId + + ResourceGroupName - The ID of a BackendAddressPool to associate with this Load Balancer Rule + The name of the Resource Group in which this Public Ip Address will be created. String - - ProbeId + + Location - The ID of the Probe to associate with this Load Balancer Rule + The Region in which this Public Ip Address will be created. String - - Protocol + + AllocationMethod - The Protocol matched by this Load Balancer Rule. - - Options: Tcp or Udp + How Ips are assigned to this Public Ip Address. + Options: Static or Dynamic String - - FrontendPort - - The frontend port matched by this Load Balancer Rule. - - Int32 - - - BackendPort - - The backend port for traffic matched by this Load Balancer Rule - - Int32 - - - IdleTimeoutInMinutes - - The length of time in minutes for which state of conversations is maintained within the Load Balancer. - - Int32 - - - EnableFloatingIP - - - - SwitchParameter - - - - New-AzureLoadBalancerRuleConfig - - Name + + DomainNameLabel - The name of the load balancing rule + The relative Dns name for this Public Ip Address. String - - FrontendIpConfiguration - - A list of Frontend Ips to associate with this Load Balancer Rule - - List`1[PSFrontendIpConfiguration] - - - BackendAddressPool - - The Backend Address Pool to associate with this Load Balancer Rule - - PSBackendAddressPool - - - Probe - - The Probe to associate with this Load Balancer Rule. - - PSProbe - - - Protocol + + ReverseFqdn - The Protocol matched by this Load Balancer Rule. - - Options: Tcp or Udp + The Dns Fqdn that you wish to associate with this Public Ip Address. String - - FrontendPort + + IdleTimeoutInMinutes - The frontend port matched by this Load Balancer Rule. + Specifies the timeout for the Tcp idle connection Int32 - - BackendPort + + Tag - The backend port for traffic matched by this Load Balancer Rule + A dictionary of tags to be associated with this Public Ip Address. - Int32 + Hashtable[] - IdleTimeoutInMinutes + Force - The length of time in minutes for which state of conversations is maintained within the Load Balancer. + Force the creation of this Public Ip Address possibly overwriting an existing Public Ip Address. - Int32 + SwitchParameter - EnableFloatingIP + Profile - + - SwitchParameter + AzureProfile - + Name - The name of the load balancing rule + The name of the Public Ip Address. String @@ -3926,22 +6353,10 @@ - - FrontendIPConfigurationId - - A list of Frontend Ip ID's to associate with this Load Balancer Rule - - List`1[String] - - List`1[String] - - - - - - BackendAddressPoolId + + ResourceGroupName - The ID of a BackendAddressPool to associate with this Load Balancer Rule + The name of the Resource Group in which this Public Ip Address will be created. String @@ -3950,10 +6365,10 @@ - - ProbeId + + Location - The ID of the Probe to associate with this Load Balancer Rule + The Region in which this Public Ip Address will be created. String @@ -3962,12 +6377,11 @@ - - Protocol + + AllocationMethod - The Protocol matched by this Load Balancer Rule. - - Options: Tcp or Udp + How Ips are assigned to this Public Ip Address. + Options: Static or Dynamic String @@ -3976,86 +6390,74 @@ - - FrontendPort - - The frontend port matched by this Load Balancer Rule. - - Int32 - - Int32 - - - - - - BackendPort + + DomainNameLabel - The backend port for traffic matched by this Load Balancer Rule + The relative Dns name for this Public Ip Address. - Int32 + String - Int32 + String - - IdleTimeoutInMinutes + + ReverseFqdn - The length of time in minutes for which state of conversations is maintained within the Load Balancer. + The Dns Fqdn that you wish to associate with this Public Ip Address. - Int32 + String - Int32 + String - - EnableFloatingIP + + IdleTimeoutInMinutes - + Specifies the timeout for the Tcp idle connection - SwitchParameter + Int32 - SwitchParameter + Int32 - - FrontendIpConfiguration + + Tag - A list of Frontend Ips to associate with this Load Balancer Rule + A dictionary of tags to be associated with this Public Ip Address. - List`1[PSFrontendIpConfiguration] + Hashtable[] - List`1[PSFrontendIpConfiguration] + Hashtable[] - BackendAddressPool + Force - The Backend Address Pool to associate with this Load Balancer Rule + Force the creation of this Public Ip Address possibly overwriting an existing Public Ip Address. - PSBackendAddressPool + SwitchParameter - PSBackendAddressPool + SwitchParameter - Probe + Profile - The Probe to associate with this Load Balancer Rule. + - PSProbe + AzureProfile - PSProbe + AzureProfile @@ -4065,202 +6467,152 @@ - - - - + + - + + + + - - - - + + - - - + + + + + + - + + + -------------------------- Example 1 -------------------------- + + PS C:\> + + New-AzureResourceGroup ` + -Name 'SampleRG' ` + -Location "West US" + +$publicIP = New-AzurePublicIpAddress ` + -Name PublicIp ` + -ResourceGroupName SampleRG ` + -Location "West US" ` + –AllocationMethod Dynamic ` + -DomainNameLabel samplelbip + + + + + + + + + + + + + + - + - New-AzureNetworkInterface + New-AzureVirtualNetwork - Create a new Network Interface + Create a new Virtual Network New - AzureNetworkInterface + AzureVirtualNetwork - - Create a new Network Interface + Create a new Virtual Network - New-AzureNetworkInterface + New-AzureVirtualNetwork Name - The name of the Network Interface + The name of the Virtual Network. String ResourceGroupName - The name of the Resource Group in which this Network Interface will be created + The name of the Resource Group containing the Virtual Network. String Location - The Region in which this Network Interface will be created - - String - - - AllocationMethod - - How IPs are assigned to this Network Interface. Options: Static or Dynamic - - String - - - PrivateIpAddress - - The static IPv4 IP address to be assigned to this Network Interface. Optional + The Region in which this Virtual Network will be created. String - - SubnetId + + AddressPrefix - The Id of the subnet Resource in which this Network Interface will be created + A list of Ip ranges covered by this Virtual Network. - String + List`1[String] - - PublicIpAddressId + + DnsServer - The ID of the PublicIP resource to assign to this Network Interface. + The Dns servers to be used for performing Dns lookups from this Virtual Network. - String + List`1[String] - - IpConfigurationName + + Subnet - The name of IP Configuration + A list of Subnets associated with this Virtual Network. - String + List`1[PSSubnet] Tag - A dictionary of tags to be associated with this Network Interface. + A dictionary of tags to be associated with this Virtual Network. Hashtable[] Force - Forces the creation of the Network Interface even if a Network Interface with the same name already exists. + Force the creation of this Virtual Network possibly overwriting an existing Virtual Network. SwitchParameter - - - New-AzureNetworkInterface - - Name - - The name of the Network Interface - - String - - - ResourceGroupName - - The name of the Resource Group in which this Network Interface will be created - - String - - - Location - - The Region in which this Network Interface will be created - - String - - - AllocationMethod - - How IPs are assigned to this Network Interface. Options: Static or Dynamic - - String - - - PrivateIpAddress - - The static IPv4 IP address to be assigned to this Network Interface. Optional - - String - - - Subnet - - - - PSSubnet - - - PublicIpAddress - - The PublicIP object to assign to this Network Interface. - - PSPublicIpAddress - - - IpConfigurationName - - The name of IP Configuration - - String - - - Tag - - A dictionary of tags to be associated with this Network Interface. - - Hashtable[] - - Force + Profile - Forces the creation of the Network Interface even if a Network Interface with the same name already exists. + - SwitchParameter + AzureProfile @@ -4268,7 +6620,7 @@ Name - The name of the Network Interface + The name of the Virtual Network. String @@ -4280,7 +6632,7 @@ ResourceGroupName - The name of the Resource Group in which this Network Interface will be created + The name of the Resource Group containing the Virtual Network. String @@ -4292,31 +6644,7 @@ Location - The Region in which this Network Interface will be created - - String - - String - - - - - - AllocationMethod - - How IPs are assigned to this Network Interface. Options: Static or Dynamic - - String - - String - - - - - - PrivateIpAddress - - The static IPv4 IP address to be assigned to this Network Interface. Optional + The Region in which this Virtual Network will be created. String @@ -4325,38 +6653,38 @@ - - SubnetId + + AddressPrefix - The Id of the subnet Resource in which this Network Interface will be created + A list of Ip ranges covered by this Virtual Network. - String + List`1[String] - String + List`1[String] - - PublicIpAddressId + + DnsServer - The ID of the PublicIP resource to assign to this Network Interface. + The Dns servers to be used for performing Dns lookups from this Virtual Network. - String + List`1[String] - String + List`1[String] - - IpConfigurationName + + Subnet - The name of IP Configuration + A list of Subnets associated with this Virtual Network. - String + List`1[PSSubnet] - String + List`1[PSSubnet] @@ -4364,7 +6692,7 @@ Tag - A dictionary of tags to be associated with this Network Interface. + A dictionary of tags to be associated with this Virtual Network. Hashtable[] @@ -4376,7 +6704,7 @@ Force - Forces the creation of the Network Interface even if a Network Interface with the same name already exists. + Force the creation of this Virtual Network possibly overwriting an existing Virtual Network. SwitchParameter @@ -4385,26 +6713,14 @@ - - Subnet - - - - PSSubnet - - PSSubnet - - - - - - PublicIpAddress + + Profile - The PublicIP object to assign to this Network Interface. + - PSPublicIpAddress + AzureProfile - PSPublicIpAddress + AzureProfile @@ -4414,125 +6730,158 @@ - - - - + + - + + + + - - - - + + - - - + + + + + + - + + + -------------------------- Example 1 -------------------------- + + PS C:\> + + New-AzureResourceGroup ` + -Name 'SampleRG' ` + -Location "West US" + +$backendSubnet = New-AzureVirtualNetworkSubnetConfig -Name LB-Subnet-BE -AddressPrefix 10.0.2.0/24 + +$vnet = New-AzurevirtualNetwork ` + -Name SampleVNet ` + -ResourceGroupName SampleRG ` + -Location "West US" ` + -AddressPrefix 10.0.0.0/16 ` + -Subnet $frontendSubnet,$backendSubnet + + + + + + + + + + + + + + - + - New-AzurePublicIpAddress + New-AzureVirtualNetworkSubnetConfig - Create a new Public Ip Address + Create a new Virtual Network Subnet New - AzurePublicIpAddress + AzureVirtualNetworkSubnetConfig - - Create a new Public Ip Address + Create a new Virtual Network Subnet - New-AzurePublicIpAddress - + New-AzureVirtualNetworkSubnetConfig + Name - The name of the Public Ip Address + The name of the Subnet. String - - ResourceGroupName + + AddressPrefix - The name of the Resource Group in which this Public Ip Address will be created + The Ip range covered by this Subnet. String - Location + NetworkSecurityGroup - The Region in which this Public Ip Address will be created. + The Network Security Group object containing ACLs that will apply to this Subnet. - String + PSNetworkSecurityGroup - - AllocationMethod + + Profile - How IPs are assigned to this Public Ip Address. - - Options: Static or Dynamic + - String + AzureProfile - - DomainNameLabel + + + New-AzureVirtualNetworkSubnetConfig + + Name - The relative DNS name for this Public Ip Address. + The name of the Subnet. String - - IdleTimeoutInMinutes + + AddressPrefix - + The Ip range covered by this Subnet. - Int32 + String - - Tag + + NetworkSecurityGroupId - A dictionary of tags to be associated with this Public Ip Address. + A reference to a Network Security Group containing ACLs that will apply to this Subnet. - Hashtable[] + String - Force + Profile - Force the creation of this Public Ip Address possibly overwriting an existing Public Ip Address + - SwitchParameter + AzureProfile - + Name - The name of the Public Ip Address + The name of the Subnet. String @@ -4541,10 +6890,10 @@ - - ResourceGroupName + + AddressPrefix - The name of the Resource Group in which this Public Ip Address will be created + The Ip range covered by this Subnet. String @@ -4554,35 +6903,33 @@ - Location + NetworkSecurityGroup - The Region in which this Public Ip Address will be created. + The Network Security Group object containing ACLs that will apply to this Subnet. - String + PSNetworkSecurityGroup - String + PSNetworkSecurityGroup - - AllocationMethod + + Profile - How IPs are assigned to this Public Ip Address. - - Options: Static or Dynamic + - String + AzureProfile - String + AzureProfile - DomainNameLabel + NetworkSecurityGroupId - The relative DNS name for this Public Ip Address. + A reference to a Network Security Group containing ACLs that will apply to this Subnet. String @@ -4591,38 +6938,14 @@ - - IdleTimeoutInMinutes - - - - Int32 - - Int32 - - - - - - Tag - - A dictionary of tags to be associated with this Public Ip Address. - - Hashtable[] - - Hashtable[] - - - - - Force + DnsServer - Force the creation of this Public Ip Address possibly overwriting an existing Public Ip Address + The Dns servers to be used for performing Dns lookups from this Subnet. - SwitchParameter + list`1[string] - SwitchParameter + list`1[string] @@ -4632,115 +6955,127 @@ - - - - + + - + + + + - - - - + + - - - + + + + + + - + + + -------------------------- Example 1 -------------------------- + + PS C:\> + + New-AzureResourceGroup ` + -Name 'SampleRG' ` + -Location "West US" + +$backendSubnet = New-AzureVirtualNetworkSubnetConfig -Name LB-Subnet-BE -AddressPrefix 10.0.2.0/24 + +$vnet = New-AzurevirtualNetwork ` + -Name SampleVNet ` + -ResourceGroupName SampleRG ` + -Location "West US" ` + -AddressPrefix 10.0.0.0/16 ` + -Subnet $frontendSubnet,$backendSubnet + + + + + + + + + + + + + + - + + - New-AzureVirtualNetwork + Remove-AzureLoadBalancer - Create a new Virtual Network + Remove an Azure Load Balancer - New - AzureVirtualNetwork + Remove + AzureLoadBalancer - - Create a new Virtual Network + Remove an Azure Load Balancer - New-AzureVirtualNetwork + Remove-AzureLoadBalancer Name - The name of the Virtual Network + The name of the Load Balancer to remove. String ResourceGroupName - The name of the Resource Group containing the Virtual Network - - String - - - Location - - The Region in which this Virtual Network will be created + The name of the Resource Group containing the Load Balancer. String - - AddressPrefix - - A list of IP ranges covered by this Virtual network - - List`1[String] - - - DnsServer - - The DNS Servers to be used for performing DNS lookups from this Subnet. - - List`1[String] - - - Subnet + + Force - A list of Subnets associated with this Virtual Network + Forces the deletion of the Load Balancer regardless of whether resources are assigned to it. - List`1[PSSubnet] + SwitchParameter - - Tag + + PassThru - A dictionary of tags to be associated with this Network Interface + Indicate if an object should be returned. Returns true if remove is successful. - Hashtable[] + SwitchParameter - Force + Profile - Force the creation of this Virtual Network possibly overwriting an existing Virtual Network + - SwitchParameter + AzureProfile @@ -4748,7 +7083,7 @@ Name - The name of the Virtual Network + The name of the Load Balancer to remove. String @@ -4760,7 +7095,7 @@ ResourceGroupName - The name of the Resource Group containing the Virtual Network + The name of the Resource Group containing the Load Balancer. String @@ -4769,74 +7104,158 @@ - - Location + + Force - The Region in which this Virtual Network will be created + Forces the deletion of the Load Balancer regardless of whether resources are assigned to it. - String + SwitchParameter - String + SwitchParameter - - AddressPrefix + + PassThru - A list of IP ranges covered by this Virtual network + Indicate if an object should be returned. Returns true if remove is successful. - List`1[String] + SwitchParameter - List`1[String] + SwitchParameter - - DnsServer + + Profile - The DNS Servers to be used for performing DNS lookups from this Subnet. + - List`1[String] + AzureProfile - List`1[String] + AzureProfile - - Subnet + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Remove-AzureLoadBalancerBackendAddressPoolConfig + + Remove a Backend Address Pool + + + + + Remove + AzureLoadBalancerBackendAddressPoolConfig + + + + Remove a Backend Address Pool + + + + Remove-AzureLoadBalancerBackendAddressPoolConfig + + Name + + The Load Balancer containing the Backend Address Pool. + + String + + + LoadBalancer + + The name of the Backend Address Pool to remove. + + PSLoadBalancer + + + Profile + + + + AzureProfile + + + + + + Name - A list of Subnets associated with this Virtual Network + The Load Balancer containing the Backend Address Pool. - List`1[PSSubnet] + String - List`1[PSSubnet] + String - - Tag + + LoadBalancer - A dictionary of tags to be associated with this Network Interface + The name of the Backend Address Pool to remove. - Hashtable[] + PSLoadBalancer - Hashtable[] + PSLoadBalancer - Force + Profile - Force the creation of this Virtual Network possibly overwriting an existing Virtual Network + - SwitchParameter + AzureProfile - SwitchParameter + AzureProfile @@ -4846,32 +7265,34 @@ - - - - + + - + + + + - - - - + + - - - + + + + + + - + @@ -4879,55 +7300,54 @@ - + - New-AzureVirtualNetworkSubnetConfig + Remove-AzureLoadBalancerFrontendIpConfig - Create a new Virtual Network Subnet + Remove a Frontend Ip configuration - New - AzureVirtualNetworkSubnetConfig + Remove + AzureLoadBalancerFrontendIpConfig - - Create a new Virtual Network Subnet + Remove a Frontend Ip configuration - New-AzureVirtualNetworkSubnetConfig - + Remove-AzureLoadBalancerFrontendIpConfig + Name - The name of the Subnet. + The name of the Frontend Ip configuration to remove. String - - AddressPrefix + + LoadBalancer - The IP range covered by this Subnet + The Load Balancer containing the Frontend Ip configuration. - String + PSLoadBalancer - - DnsServer + + Profile - The DNS Servers to be used for performing DNS lookups from this Subnet. + - List`1[String] + AzureProfile - + Name - The name of the Subnet. + The name of the Frontend Ip configuration to remove. String @@ -4936,26 +7356,26 @@ - - AddressPrefix + + LoadBalancer - The IP range covered by this Subnet + The Load Balancer containing the Frontend Ip configuration. - String + PSLoadBalancer - String + PSLoadBalancer - - DnsServer + + Profile - The DNS Servers to be used for performing DNS lookups from this Subnet. + - List`1[String] + AzureProfile - List`1[String] + AzureProfile @@ -4965,32 +7385,34 @@ - - - - + + - + + + + - - - - + + - - - + + + + + + - + @@ -4998,74 +7420,54 @@ - + - Remove-AzureLoadBalancer + Remove-AzureLoadBalancerInboundNatRuleConfig - Remove an Azure Load Balancer + Remove an Inbound NAT Rule Remove - AzureLoadBalancer + AzureLoadBalancerInboundNatRuleConfig - - Remove an Azure Load Balancer + Remove an Inbound NAT Rule - Remove-AzureLoadBalancer - + Remove-AzureLoadBalancerInboundNatRuleConfig + Name - The name of the Load Balancer to remove - - String - - - ResourceGroupName - - The name of the Resource Group containing the Load Balancer + The name of the Inbound NAT Rule to remove. String - - Force + + LoadBalancer - Forces the deletion of the Load Balancer regardless of whether resources are assigned to it + The Load Balancer containing the Inbound NAT Rule. - SwitchParameter + PSLoadBalancer - PassThru + Profile - Indicate if an object should be returned. Returns true if remove is successful. + - SwitchParameter + AzureProfile - + Name - The name of the Load Balancer to remove - - String - - String - - - - - - ResourceGroupName - - The name of the Resource Group containing the Load Balancer + The name of the Inbound NAT Rule to remove. String @@ -5074,26 +7476,26 @@ - - Force + + LoadBalancer - Forces the deletion of the Load Balancer regardless of whether resources are assigned to it + The Load Balancer containing the Inbound NAT Rule. - SwitchParameter + PSLoadBalancer - SwitchParameter + PSLoadBalancer - PassThru + Profile - Indicate if an object should be returned. Returns true if remove is successful. + - SwitchParameter + AzureProfile - SwitchParameter + AzureProfile @@ -5103,32 +7505,34 @@ - - - - + + - + + + + - - - - + + - - - + + + + + + - + @@ -5136,48 +7540,54 @@ - + - Remove-AzureLoadBalancerBackendAddressPoolConfig + Remove-AzureLoadBalancerProbeConfig - Remove a Backend Address Pool + Remove a Probe configuration Remove - AzureLoadBalancerBackendAddressPoolConfig + AzureLoadBalancerProbeConfig - - Remove a Backend Address Pool + Remove a Probe configuration - Remove-AzureLoadBalancerBackendAddressPoolConfig + Remove-AzureLoadBalancerProbeConfig Name - The Load Balancer containing the Backend Address Pool + The name of the probe configuration to remove. String LoadBalancer - The name of the Backend Address Pool to remove. + The Load Balancer containing the probe configuration. PSLoadBalancer + + Profile + + + + AzureProfile + Name - The Load Balancer containing the Backend Address Pool + The name of the probe configuration to remove. String @@ -5189,7 +7599,7 @@ LoadBalancer - The name of the Backend Address Pool to remove. + The Load Balancer containing the probe configuration. PSLoadBalancer @@ -5198,37 +7608,51 @@ + + Profile + + + + AzureProfile + + AzureProfile + + + + - - - - + + - + + + + - - - - + + - - - + + + + + + - + @@ -5236,48 +7660,54 @@ - + - Remove-AzureLoadBalancerFrontendIpConfig + Remove-AzureLoadBalancerRuleConfig - Remove a Frontend Ip configuration + Remove a Load Balancer Rule Remove - AzureLoadBalancerFrontendIpConfig + AzureLoadBalancerRuleConfig - - Remove a Frontend Ip configuration + Remove a Load Balancer Rule - Remove-AzureLoadBalancerFrontendIpConfig + Remove-AzureLoadBalancerRuleConfig Name - The name of the Frontend Ip configuration to remove. + The name of the Load Balancer Rule to remove. String LoadBalancer - The Load Balancer containing the Frontend Ip configuration + The Load Balancer containing the Load Balancer Rule. PSLoadBalancer + + Profile + + + + AzureProfile + Name - The name of the Frontend Ip configuration to remove. + The name of the Load Balancer Rule to remove. String @@ -5289,7 +7719,7 @@ LoadBalancer - The Load Balancer containing the Frontend Ip configuration + The Load Balancer containing the Load Balancer Rule. PSLoadBalancer @@ -5298,37 +7728,51 @@ + + Profile + + + + AzureProfile + + AzureProfile + + + + - - - - + + - + + + + - - - - + + - - - + + + + + + - + @@ -5336,48 +7780,68 @@ - + - Remove-AzureLoadBalancerInboundNatRuleConfig + Remove-AzureNetworkInterface - Remove an Inbound NAT Rule + Remove a Network Interface Remove - AzureLoadBalancerInboundNatRuleConfig + AzureNetworkInterface - - Remove an Inbound NAT Rule + Remove a Network Interface - Remove-AzureLoadBalancerInboundNatRuleConfig - + Remove-AzureNetworkInterface + Name - The name of the Inbound NAT Rule to remove. + The name of the Network Interface to remove. String - - LoadBalancer + + ResourceGroupName - The Load Balancer containing the Inbound NAT Rule + The name of the Resource Group containing the Network Interface. - PSLoadBalancer + String + + + Force + + Forces the deletion of the Network Interface without asking for confirmation. + + SwitchParameter + + + PassThru + + Indicate if an object should be returned. Returns true if remove is successful. + + SwitchParameter + + + Profile + + + + AzureProfile - + Name - The name of the Inbound NAT Rule to remove. + The name of the Network Interface to remove. String @@ -5386,14 +7850,50 @@ - - LoadBalancer + + ResourceGroupName - The Load Balancer containing the Inbound NAT Rule + The name of the Resource Group containing the Network Interface. - PSLoadBalancer + String - PSLoadBalancer + String + + + + + + Force + + Forces the deletion of the Network Interface without asking for confirmation. + + SwitchParameter + + SwitchParameter + + + + + + PassThru + + Indicate if an object should be returned. Returns true if remove is successful. + + SwitchParameter + + SwitchParameter + + + + + + Profile + + + + AzureProfile + + AzureProfile @@ -5403,32 +7903,34 @@ - - - - + + - + + + + - - - - + + - - - + + + + + + - + @@ -5436,48 +7938,68 @@ - + - Remove-AzureLoadBalancerProbeConfig + Remove-AzureNetworkSecurityGroup - Remove a Probe configuration + Remove a Network Security Group Remove - AzureLoadBalancerProbeConfig + AzureNetworkSecurityGroup - - Remove a Probe configuration + Remove a Network Security Group - Remove-AzureLoadBalancerProbeConfig - + Remove-AzureNetworkSecurityGroup + Name - The name of the Probe configuration to remove. + The name of the Network Security Group to remove. String - - LoadBalancer + + ResourceGroupName - The Load Balancer containing the Probe configuration + The name of the Resource Group containing the Network Security Group. - PSLoadBalancer + String + + + Force + + Forces the deletion of the Network Security Group regardless of whether resources are assigned to it. + + SwitchParameter + + + PassThru + + Indicate if an object should be returned. Returns true if remove is successful. + + SwitchParameter + + + Profile + + + + AzureProfile - + Name - The name of the Probe configuration to remove. + The name of the Network Security Group to remove. String @@ -5486,14 +8008,50 @@ - - LoadBalancer + + ResourceGroupName - The Load Balancer containing the Probe configuration + The name of the Resource Group containing the Network Security Group. - PSLoadBalancer + String - PSLoadBalancer + String + + + + + + Force + + Forces the deletion of the Network Security Group regardless of whether resources are assigned to it. + + SwitchParameter + + SwitchParameter + + + + + + PassThru + + Indicate if an object should be returned. Returns true if remove is successful. + + SwitchParameter + + SwitchParameter + + + + + + Profile + + + + AzureProfile + + AzureProfile @@ -5503,32 +8061,32 @@ - - - - + + - + + + - - - - + + - - - + + + + + - + @@ -5536,40 +8094,46 @@ - + - Remove-AzureLoadBalancerRuleConfig + Remove-AzureNetworkSecurityRuleConfig - Remove a Load Balancer Rule + Remove a Network Security Rule from a Network Security Group Remove - AzureLoadBalancerRuleConfig + AzureNetworkSecurityRuleConfig - - Remove a Load Balancer Rule + Remove a Network Security Rule from a Network Security Group - Remove-AzureLoadBalancerRuleConfig + Remove-AzureNetworkSecurityRuleConfig Name - The name of the Load Balancer Rule to remove. + The name of the Network Security Rule to remove. String - LoadBalancer + NetworkSecurityGroup - The Load Balancer containing the Load Balancer Rule + The name of the Network Security Group containing the Network Security Rule to be removed. - PSLoadBalancer + PSNetworkSecurityGroup + + + Profile + + + + AzureProfile @@ -5577,7 +8141,7 @@ Name - The name of the Load Balancer Rule to remove. + The name of the Network Security Rule to remove. String @@ -5587,13 +8151,25 @@ - LoadBalancer + NetworkSecurityGroup - The Load Balancer containing the Load Balancer Rule + The name of the Network Security Group containing the Network Security Rule to be removed. - PSLoadBalancer + PSNetworkSecurityGroup - PSLoadBalancer + PSNetworkSecurityGroup + + + + + + Profile + + + + AzureProfile + + AzureProfile @@ -5603,32 +8179,32 @@ - - - - + + - + + + - - - - + + - - - + + + + + - + @@ -5636,45 +8212,44 @@ - + - Remove-AzureNetworkInterface + Remove-AzurePublicIpAddress - Remove a Network Interface + Remove a Public Ip Address Remove - AzureNetworkInterface + AzurePublicIpAddress - - Remove a Network Interface + Remove a Public Ip Address - Remove-AzureNetworkInterface + Remove-AzurePublicIpAddress Name - The name of the Network Interface to remove + The name of the Public Ip Address to remove. String ResourceGroupName - The name of the Resource Group containing the Network Interface + The name of the Resource Group containing the Public Ip Address. String Force - Forces the deletion of the Network Interface without asking for confirmation + Forces the deletion of the Public Ip Address without asking for confirmation. SwitchParameter @@ -5685,13 +8260,20 @@ SwitchParameter + + Profile + + + + AzureProfile + Name - The name of the Network Interface to remove + The name of the Public Ip Address to remove. String @@ -5703,7 +8285,7 @@ ResourceGroupName - The name of the Resource Group containing the Network Interface + The name of the Resource Group containing the Public Ip Address. String @@ -5715,7 +8297,7 @@ Force - Forces the deletion of the Network Interface without asking for confirmation + Forces the deletion of the Public Ip Address without asking for confirmation. SwitchParameter @@ -5736,37 +8318,51 @@ + + Profile + + + + AzureProfile + + AzureProfile + + + + - - - - + + - + + + + - - - - + + - - - + + + + + + - + @@ -5774,45 +8370,44 @@ - + - Remove-AzurePublicIpAddress + Remove-AzureVirtualNetwork - Remove a Public Ip Address + Remove a Virtual Network Remove - AzurePublicIpAddress + AzureVirtualNetwork - - Remove a Public Ip Address + Remove a Virtual Network - Remove-AzurePublicIpAddress + Remove-AzureVirtualNetwork Name - The name of the Public Ip Address to remove + The name of the Virtual Network to remove. String ResourceGroupName - The name of the Resource Group containing the Public Ip Address + The name of the Resource Group containing the Virtual Network. String Force - Forces the deletion of the Public Ip Address without asking for confirmation + Forces the deletion of the Virtual Network without confirmation. SwitchParameter @@ -5823,13 +8418,20 @@ SwitchParameter + + Profile + + + + AzureProfile + Name - The name of the Public Ip Address to remove + The name of the Virtual Network to remove. String @@ -5841,7 +8443,7 @@ ResourceGroupName - The name of the Resource Group containing the Public Ip Address + The name of the Resource Group containing the Virtual Network. String @@ -5853,7 +8455,7 @@ Force - Forces the deletion of the Public Ip Address without asking for confirmation + Forces the deletion of the Virtual Network without confirmation. SwitchParameter @@ -5874,37 +8476,51 @@ + + Profile + + + + AzureProfile + + AzureProfile + + + + - - - - + + - + + + + - - - - + + - - - + + + + + + - + @@ -5912,74 +8528,54 @@ - + - Remove-AzureVirtualNetwork + Remove-AzureVirtualNetworkSubnetConfig - Remove a Virtual Network + Remove a Subnet from a Virtual Network Remove - AzureVirtualNetwork + AzureVirtualNetworkSubnetConfig - - Remove a Virtual Network + Remove a Subnet from a Virtual Network - - Remove-AzureVirtualNetwork - - Name - - The name of the Virtual Network to remove - - String - - - ResourceGroupName + + Remove-AzureVirtualNetworkSubnetConfig + + Name - The name of the Resource Group containing the Virtual Network + The name of the Subnet to remove. String - - Force + + VirtualNetwork - Forces the deletion of the Virtual Network without confirmation. + The name of the Virtual Network containing the Subnet to be removed. - SwitchParameter + PSVirtualNetwork - PassThru + Profile - Indicate if an object should be returned. Returns true if remove is successful. + - SwitchParameter + AzureProfile - + Name - The name of the Virtual Network to remove - - String - - String - - - - - - ResourceGroupName - - The name of the Resource Group containing the Virtual Network + The name of the Subnet to remove. String @@ -5988,26 +8584,26 @@ - - Force + + VirtualNetwork - Forces the deletion of the Virtual Network without confirmation. + The name of the Virtual Network containing the Subnet to be removed. - SwitchParameter + PSVirtualNetwork - SwitchParameter + PSVirtualNetwork - PassThru + Profile - Indicate if an object should be returned. Returns true if remove is successful. + - SwitchParameter + AzureProfile - SwitchParameter + AzureProfile @@ -6017,32 +8613,34 @@ - - - - + + - + + + + - - - - + + - - - + + + + + + - + @@ -6050,64 +8648,64 @@ - + + - Remove-AzureVirtualNetworkSubnetConfig + Set-AzureLoadBalancer - Remove a Subnet from a Virtual Network + Sets the goal state for an Azure Load Balancer - Remove - AzureVirtualNetworkSubnetConfig + Set + AzureLoadBalancer - - Remove a Subnet from a Virtual Network + Sets the goal state for an Azure Load Balancer - Remove-AzureVirtualNetworkSubnetConfig - - Name + Set-AzureLoadBalancer + + LoadBalancer - The name of the Subnet to remove + A Load Balancer object representing the goal state to which the Load Balancer should be set. - String + PSLoadBalancer - - VirtualNetwork + + Profile - The name of the Virtual Network containing the Subnet to be removed + - PSVirtualNetwork + AzureProfile - - Name + + LoadBalancer - The name of the Subnet to remove + A Load Balancer object representing the goal state to which the Load Balancer should be set. - String + PSLoadBalancer - String + PSLoadBalancer - - VirtualNetwork + + Profile - The name of the Virtual Network containing the Subnet to be removed + - PSVirtualNetwork + AzureProfile - PSVirtualNetwork + AzureProfile @@ -6117,32 +8715,34 @@ - - - - + + - + + + + - - - - + + - - - + + + + + + - + @@ -6150,45 +8750,211 @@ - + - Set-AzureLoadBalancer + Set-AzureLoadBalancerFrontendIpConfig - Sets the goal state for an Azure Load Balancer + Sets the goal state for a Frontend Ip configuration Set - AzureLoadBalancer + AzureLoadBalancerFrontendIpConfig - - Sets the goal state for an Azure Load Balancer + Sets the goal state for a Frontend Ip configuration - Set-AzureLoadBalancer + Set-AzureLoadBalancerFrontendIpConfig + + Name + + The name of the Frontend Ip. + + String + + + LoadBalancer + + The Load Balancer object with which this Frontend Ip config will be associated. + + PSLoadBalancer + + + PrivateIpAddress + + The private Ip address of the Load Balancer. + This can be specified only if a subnet is specified + + String + + + SubnetId + + The Id of the Subnet in which this Frontend Ip will be created. + + String + + + PublicIpAddressId + + The Id of the Public Ip Address to associate with this Frontend Ip. + + String + + + Profile + + + + AzureProfile + + + + Set-AzureLoadBalancerFrontendIpConfig + + Name + + The name of the Frontend Ip. + + String + LoadBalancer - A LoadBalancer object representing the goal state to which the LoadBalancer should be set + The Load Balancer object with which this Frontend Ip config will be associated. PSLoadBalancer + + PrivateIpAddress + + The private Ip address of the Load Balancer. + This can be specified only if a subnet is specified + + String + + + Subnet + + The Subnet object within which this Frontend Ip will be created. + + PSSubnet + + + PublicIpAddress + + The Public Ip Address object to associate with this Frontend Ip. + + PSPublicIpAddress + + + Profile + + + + AzureProfile + + + Name + + The name of the Frontend Ip. + + String + + String + + + + LoadBalancer - A LoadBalancer object representing the goal state to which the LoadBalancer should be set + The Load Balancer object with which this Frontend Ip config will be associated. PSLoadBalancer - PSLoadBalancer + PSLoadBalancer + + + + + + PrivateIpAddress + + The private Ip address of the Load Balancer. + This can be specified only if a subnet is specified + + String + + String + + + + + + SubnetId + + The Id of the Subnet in which this Frontend Ip will be created. + + String + + String + + + + + + PublicIpAddressId + + The Id of the Public Ip Address to associate with this Frontend Ip. + + String + + String + + + + + + Profile + + + + AzureProfile + + AzureProfile + + + + + + Subnet + + The Subnet object within which this Frontend Ip will be created. + + PSSubnet + + PSSubnet + + + + + + PublicIpAddress + + The Public Ip Address object to associate with this Frontend Ip. + + PSPublicIpAddress + + PSPublicIpAddress @@ -6198,32 +8964,34 @@ - - - - + + - + + + + - - - - + + - - - + + + + + + - + @@ -6231,54 +8999,156 @@ - + - Set-AzureLoadBalancerBackendAddressPoolConfig + Set-AzureLoadBalancerInboundNatRuleConfig - Sets the goal state for a Backend Address Pool + Add a new Inbound NAT Rule to an Azure Load Balancer Set - AzureLoadBalancerBackendAddressPoolConfig + AzureLoadBalancerInboundNatRuleConfig - - Sets the goal state for a Backend Address Pool + Add a new Inbound NAT Rule to an Azure Load Balancer - Set-AzureLoadBalancerBackendAddressPoolConfig + Set-AzureLoadBalancerInboundNatRuleConfig Name - The name of the Backend Address Pool. + The name of the Inbound NAT Rule. String LoadBalancer - The Load Balancer with which this Backend Address Pool will be associated + The Load Balancer in which this Inbound NAT Rule will be created. PSLoadBalancer - - BackendIpConfigurationId + + FrontendIpConfigurationId - A list of Backend Ip config IDs to associate with this. + A list of Frontend Ip Ids to associate with this Inbound NAT Rule. - List`1[String] + String + + + Protocol + + The protocol matched by this Inbound NAT Rule. + Options: Tcp or Udp. + + String + + + FrontendPort + + The frontend port matched by this rule. + + Int32 + + + BackendPort + + The backend port for traffic matched by this rule. + + Int32 + + + IdleTimeoutInMinutes + + The length of time in minutes for which conversation state is maintained within the Load Balancer. + + Int32 + + + EnableFloatingIP + + Enables Direct Server Return for this Inbound NAT Rule. + + SwitchParameter + + + Profile + + + + AzureProfile + + + + Set-AzureLoadBalancerInboundNatRuleConfig + + Name + + The name of the Inbound NAT Rule. + + String + + + LoadBalancer + + The Load Balancer in which this Inbound NAT Rule will be created. + + PSLoadBalancer + + + FrontendIpConfiguration + + A list of Frontend Ips to associate with this Inbound NAT Rule. + + PSFrontendIPConfiguration + + + Protocol + + The protocol matched by this Inbound NAT Rule. + Options: Tcp or Udp. + + String + + + FrontendPort + + The frontend port matched by this rule. + + Int32 + + + BackendPort + + The backend port for traffic matched by this rule. + + Int32 + + + IdleTimeoutInMinutes + + The length of time in minutes for which conversation state is maintained within the Load Balancer. + + Int32 + + + EnableFloatingIP + + Enables Direct Server Return for this Inbound NAT Rule. + + SwitchParameter - - BackendIpConfiguration + + Profile - A list of IPs to associate with the Backend Address Pool. + - List`1[PSNetworkInterfaceIpConfiguration] + AzureProfile @@ -6286,7 +9156,7 @@ Name - The name of the Backend Address Pool. + The name of the Inbound NAT Rule. String @@ -6298,7 +9168,7 @@ LoadBalancer - The Load Balancer with which this Backend Address Pool will be associated + The Load Balancer in which this Inbound NAT Rule will be created. PSLoadBalancer @@ -6307,26 +9177,123 @@ - + + FrontendIpConfigurationId + + A list of Frontend Ip Ids to associate with this Inbound NAT Rule. + + String + + String + + + + + + Protocol + + The protocol matched by this Inbound NAT Rule. + Options: Tcp or Udp. + + String + + String + + + + + + FrontendPort + + The frontend port matched by this rule. + + Int32 + + Int32 + + + + + + BackendPort + + The backend port for traffic matched by this rule. + + Int32 + + Int32 + + + + + + IdleTimeoutInMinutes + + The length of time in minutes for which conversation state is maintained within the Load Balancer. + + Int32 + + Int32 + + + + + + EnableFloatingIP + + Enables Direct Server Return for this Inbound NAT Rule. + + SwitchParameter + + SwitchParameter + + + + + + Profile + + + + AzureProfile + + AzureProfile + + + + + + FrontendIpConfiguration + + A list of Frontend Ips to associate with this Inbound NAT Rule. + + PSFrontendIPConfiguration + + PSFrontendIPConfiguration + + + + + BackendIpConfigurationId - A list of Backend Ip config IDs to associate with this. + The Id of a Backend Ip Configuration to associate with this Inbound NAT Rule. - List`1[String] + string - List`1[String] + string - + BackendIpConfiguration - A list of IPs to associate with the Backend Address Pool. + The Ip Configuration to associate with the Backend Ip for this Inbound NAT Rule. - List`1[PSNetworkInterfaceIpConfiguration] + psnetworkinterfaceipconfiguration - List`1[PSNetworkInterfaceIpConfiguration] + psnetworkinterfaceipconfiguration @@ -6336,32 +9303,34 @@ - - - - + + - + + + + - - - - + + - - - + + + + + + - + @@ -6369,101 +9338,82 @@ - + - Set-AzureLoadBalancerFrontendIpConfig + Set-AzureLoadBalancerProbeConfig - Sets the goal state for a Frontend Ip configuration + Sets the goal state for a Probe configuration Set - AzureLoadBalancerFrontendIpConfig + AzureLoadBalancerProbeConfig - - Sets the goal state for a Frontend Ip configuration + Sets the goal state for a Probe configuration - Set-AzureLoadBalancerFrontendIpConfig - - Name - - The name of the Frontend Ip. - - String - - - LoadBalancer - - The Load Balancer with which this Frontend Ip config will be associated - - PSLoadBalancer - - - PrivateIpAddress - - The private ip address of the load balancer. - This can be specified only if a subnet is specified - - String - - - SubnetId - - The ID of the Subnet in which this Frontend Ip will be created. - - String - - - PublicIpAddressId - - The ID of the PublicIpAddress to associate with this Frontend Ip. - - String - - - - Set-AzureLoadBalancerFrontendIpConfig + Set-AzureLoadBalancerProbeConfig Name - The name of the Frontend Ip. + The name of the Probe configuration. String LoadBalancer - The Load Balancer with which this Frontend Ip config will be associated + The Load Balancer with which this Probe configuration will be associated. PSLoadBalancer - - PrivateIpAddress + + RequestPath - The private ip address of the load balancer. - This can be specified only if a subnet is specified + The path to probe within the load balanced service to determine health. String - Subnet + Protocol - The Subnet object within which this Frontend Ip will be created. + The protocol to use for probing the health of the load balanced service. + Options: Tcp or Http. - PSSubnet + String + + + Port + + The port on which probes should connect to the load balanced service. + + Int32 + + + IntervalInSeconds + + The interval between probes to each instance of the load balanced service. + + Int32 + + + ProbeCount + + The number of per-instance consecutive failures for an instance to be considered unhealthy. + + Int32 - PublicIpAddress + Profile - The PublicIpAddress object to associate with this Frontend Ip + - PSPublicIpAddress + AzureProfile @@ -6471,7 +9421,7 @@ Name - The name of the Frontend Ip. + The name of the Probe configuration. String @@ -6483,7 +9433,7 @@ LoadBalancer - The Load Balancer with which this Frontend Ip config will be associated + The Load Balancer with which this Probe configuration will be associated. PSLoadBalancer @@ -6492,11 +9442,10 @@ - - PrivateIpAddress + + RequestPath - The private ip address of the load balancer. - This can be specified only if a subnet is specified + The path to probe within the load balanced service to determine health. String @@ -6506,9 +9455,10 @@ - SubnetId + Protocol - The ID of the Subnet in which this Frontend Ip will be created. + The protocol to use for probing the health of the load balanced service. + Options: Tcp or Http. String @@ -6517,38 +9467,50 @@ - - PublicIpAddressId + + Port - The ID of the PublicIpAddress to associate with this Frontend Ip. + The port on which probes should connect to the load balanced service. - String + Int32 - String + Int32 - - Subnet + + IntervalInSeconds - The Subnet object within which this Frontend Ip will be created. + The interval between probes to each instance of the load balanced service. - PSSubnet + Int32 - PSSubnet + Int32 + + + + + + ProbeCount + + The number of per-instance consecutive failures for an instance to be considered unhealthy. + + Int32 + + Int32 - PublicIpAddress + Profile - The PublicIpAddress object to associate with this Frontend Ip + - PSPublicIpAddress + AzureProfile - PSPublicIpAddress + AzureProfile @@ -6558,32 +9520,34 @@ - - - - + + - + + + + - - - - + + - - - + + + + + + - + @@ -6591,75 +9555,80 @@ - + - Set-AzureLoadBalancerInboundNatRuleConfig + Set-AzureLoadBalancerRuleConfig - Add a new Inbound NAT Rule to an Azure Load Balancer + Sets the goal state for a Load Balancer Rule configuration Set - AzureLoadBalancerInboundNatRuleConfig + AzureLoadBalancerRuleConfig - - Add a new Inbound NAT Rule to an Azure Load Balancer + Sets the goal state for a Load Balancer Rule configuration - Set-AzureLoadBalancerInboundNatRuleConfig + Set-AzureLoadBalancerRuleConfig Name - The name of the Inbound NAT Rule + The name of the Load Balancer Rule String LoadBalancer - The Load Balancer in which this Inbound NAT Rule will be created + The Load Balancer with which this Load Balancer Rule will be associated. PSLoadBalancer - - FrontendIPConfigurationId + + FrontendIpConfigurationId - A list of Frontend Ip IDsto associate with this Inbound NAT Rule + A list of Frontend Ip Id's to associate with this Load Balancer Rule. - List`1[String] + String + + + BackendAddressPoolId + + The Id of a Backend Address Pool to associate with this Load Balancer Rule. + + String - BackendIpConfigurationId + ProbeId - The ID of a BackendIpConfiguration to associate with this Inbound NAT Rule. + The Id of the Probe to associate with this Load Balancer Rule. String Protocol - The Protocol matched by this Inbound NAT Rule. - - Options: Tcp or Udp. + The protocol matched by this Load Balancer Rule. + Options: Tcp or Udp. String FrontendPort - The frontend port matched by this rule. + The frontend port matched by this Load Balancer Rule. Int32 BackendPort - The backend port for traffic matched by this rule. + The backend port for traffic matched by this Load Balancer Rule. Int32 @@ -6670,64 +9639,88 @@ Int32 + + LoadDistribution + + Specifies the load balancing distribution type to be used by the Load Balancer. +Possible values are +Default – The load balancer is configured to use a 5 tuple hash to map traffic to available servers +SourceIP – The load balancer is configured to use a 2 tuple hash to map traffic to available servers +SourceIPProtocol– The load balancer is configured to use a 3 tuple hash to map traffic to available servers + + String + EnableFloatingIP - + Enables Direct Server Return for this Load Balancer Rule. SwitchParameter + + Profile + + + + AzureProfile + - Set-AzureLoadBalancerInboundNatRuleConfig + Set-AzureLoadBalancerRuleConfig Name - The name of the Inbound NAT Rule + The name of the Load Balancer Rule String LoadBalancer - The Load Balancer in which this Inbound NAT Rule will be created + The Load Balancer with which this Load Balancer Rule will be associated. PSLoadBalancer - + FrontendIpConfiguration - A list of Frontend Ips to associate with this Inbound NAT Rule + A list of Frontend Ips to associate with this Load Balancer Rule. + + PSFrontendIPConfiguration + + + BackendAddressPool + + The Backend Address Pool to associate with this Load Balancer Rule. - List`1[PSFrontendIpConfiguration] + PSBackendAddressPool - BackendIpConfiguration + Probe - The IpConfiguration to associate with the Backend Ip for this Inbound NAT Rule. + The probe to associate with this Load Balancer Rule. - PSNetworkInterfaceIpConfiguration + PSProbe Protocol - The Protocol matched by this Inbound NAT Rule. - - Options: Tcp or Udp. + The protocol matched by this Load Balancer Rule. + Options: Tcp or Udp. String FrontendPort - The frontend port matched by this rule. + The frontend port matched by this Load Balancer Rule. Int32 BackendPort - The backend port for traffic matched by this rule. + The backend port for traffic matched by this Load Balancer Rule. Int32 @@ -6738,20 +9731,38 @@ Int32 + + LoadDistribution + + Specifies the load balancing distribution type to be used by the Load Balancer. +Possible values are +Default – The load balancer is configured to use a 5 tuple hash to map traffic to available servers +SourceIP – The load balancer is configured to use a 2 tuple hash to map traffic to available servers +SourceIPProtocol– The load balancer is configured to use a 3 tuple hash to map traffic to available servers + + String + EnableFloatingIP - + Enables Direct Server Return for this Load Balancer Rule. SwitchParameter + + Profile + + + + AzureProfile + Name - The name of the Inbound NAT Rule + The name of the Load Balancer Rule String @@ -6763,7 +9774,7 @@ LoadBalancer - The Load Balancer in which this Inbound NAT Rule will be created + The Load Balancer with which this Load Balancer Rule will be associated. PSLoadBalancer @@ -6772,22 +9783,34 @@ - - FrontendIPConfigurationId + + FrontendIpConfigurationId - A list of Frontend Ip IDsto associate with this Inbound NAT Rule + A list of Frontend Ip Id's to associate with this Load Balancer Rule. - List`1[String] + String - List`1[String] + String - BackendIpConfigurationId + BackendAddressPoolId + + The Id of a Backend Address Pool to associate with this Load Balancer Rule. + + String + + String + + + + + + ProbeId - The ID of a BackendIpConfiguration to associate with this Inbound NAT Rule. + The Id of the Probe to associate with this Load Balancer Rule. String @@ -6799,9 +9822,8 @@ Protocol - The Protocol matched by this Inbound NAT Rule. - - Options: Tcp or Udp. + The protocol matched by this Load Balancer Rule. + Options: Tcp or Udp. String @@ -6813,7 +9835,7 @@ FrontendPort - The frontend port matched by this rule. + The frontend port matched by this Load Balancer Rule. Int32 @@ -6825,7 +9847,7 @@ BackendPort - The backend port for traffic matched by this rule. + The backend port for traffic matched by this Load Balancer Rule. Int32 @@ -6846,10 +9868,26 @@ + + LoadDistribution + + Specifies the load balancing distribution type to be used by the Load Balancer. +Possible values are +Default – The load balancer is configured to use a 5 tuple hash to map traffic to available servers +SourceIP – The load balancer is configured to use a 2 tuple hash to map traffic to available servers +SourceIPProtocol– The load balancer is configured to use a 3 tuple hash to map traffic to available servers + + String + + String + + + + EnableFloatingIP - + Enables Direct Server Return for this Load Balancer Rule. SwitchParameter @@ -6858,26 +9896,151 @@ - + + Profile + + + + AzureProfile + + AzureProfile + + + + + FrontendIpConfiguration - A list of Frontend Ips to associate with this Inbound NAT Rule + A list of Frontend Ips to associate with this Load Balancer Rule. + + PSFrontendIPConfiguration + + PSFrontendIPConfiguration + + + + + + BackendAddressPool + + The Backend Address Pool to associate with this Load Balancer Rule. + + PSBackendAddressPool + + PSBackendAddressPool + + + + + + Probe + + The probe to associate with this Load Balancer Rule. + + PSProbe + + PSProbe + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Set-AzureNetworkInterface + + Sets the goal state for an Azure Network Interface + + + + + Set + AzureNetworkInterface + + + + Sets the goal state for an Azure Network Interface + + + + Set-AzureNetworkInterface + + NetworkInterface + + A Network Interface object representing the goal state to which the Network Interface should be set. + + PSNetworkInterface + + + Profile + + + + AzureProfile + + + + + + NetworkInterface + + A Network Interface object representing the goal state to which the Network Interface should be set. - List`1[PSFrontendIpConfiguration] + PSNetworkInterface - List`1[PSFrontendIpConfiguration] + PSNetworkInterface - BackendIpConfiguration + Profile - The IpConfiguration to associate with the Backend Ip for this Inbound NAT Rule. + - PSNetworkInterfaceIpConfiguration + AzureProfile - PSNetworkInterfaceIpConfiguration + AzureProfile @@ -6887,32 +10050,34 @@ - - - - + + - + + + + - - - - + + - - - + + + + + + - + @@ -6920,163 +10085,63 @@ - + - Set-AzureLoadBalancerProbeConfig + Set-AzureNetworkSecurityGroup - Sets the goal state for a Probe configuration + Sets the goal state for an Network Security Group Set - AzureLoadBalancerProbeConfig + AzureNetworkSecurityGroup - - Sets the goal state for a Probe configuration + Sets the goal state for an Network Security Group - Set-AzureLoadBalancerProbeConfig - - Name - - The name of the Probe configuration. - - String - + Set-AzureNetworkSecurityGroup - LoadBalancer - - The Load Balancer with which this Probe configuration will be associated - - PSLoadBalancer - - - RequestPath + NetworkSecurityGroup - The path within the load balanced service to probe to determine health + A Network Security Group object representing the goal state to which the Network Security Group should be set. - String + PSNetworkSecurityGroup - Protocol - - The Protocol to use for the probing. - - Options: Tcp or Http. - - String - - - Port - - The port on which probes should connect to the load balanced service - - Int32 - - - IntervalInSeconds - - The interval between probes to each instance of the load balanced service - - Int32 - - - ProbeCount + Profile - The number of per-instance consecutive failures for an instance to be considered unhealthy + - Int32 + AzureProfile - - Name - - The name of the Probe configuration. - - String - - String - - - - - LoadBalancer - - The Load Balancer with which this Probe configuration will be associated - - PSLoadBalancer - - PSLoadBalancer - - - - - - RequestPath + NetworkSecurityGroup - The path within the load balanced service to probe to determine health + A Network Security Group object representing the goal state to which the Network Security Group should be set. - String + PSNetworkSecurityGroup - String + PSNetworkSecurityGroup - Protocol - - The Protocol to use for the probing. - - Options: Tcp or Http. - - String - - String - - - - - - Port - - The port on which probes should connect to the load balanced service - - Int32 - - Int32 - - - - - - IntervalInSeconds - - The interval between probes to each instance of the load balanced service - - Int32 - - Int32 - - - - - - ProbeCount + Profile - The number of per-instance consecutive failures for an instance to be considered unhealthy + - Int32 + AzureProfile - Int32 + AzureProfile @@ -7086,32 +10151,32 @@ - - - - + + - + + + - - - - + + - - - + + + + + - + @@ -7119,217 +10184,141 @@ - + - Set-AzureLoadBalancerRuleConfig + Set-AzureNetworkSecurityRuleConfig - Sets the goal state for a Load Balancer Rule configuration + Sets the goal state for an Network Security Rule Set - AzureLoadBalancerRuleConfig + AzureNetworkSecurityRuleConfig - - Sets the goal state for a Load Balancer Rule configuration + Sets the goal state for an Network Security Rule - Set-AzureLoadBalancerRuleConfig + Set-AzureNetworkSecurityRuleConfig Name - + The name of the Network Security Rule. String - LoadBalancer - - The Load Balancer with which this Load Balancer Rule will be associated - - PSLoadBalancer - - - FrontendIPConfigurationId - - A list of Frontend Ip ID's to associate with this Load Balancer Rule - - List`1[String] - - - BackendAddressPoolId + NetworkSecurityGroup - The ID of a BackendAddressPool to associate with this Load Balancer Rule. + The Network Security Group object containing the Network Security Rule. - String + PSNetworkSecurityGroup - ProbeId + Description - The ID of the Probe to associate with this Load Balancer Rule + A description for this rule. Restricted to 140 characters. String Protocol - The Protocol matched by this Load Balancer Rule. - - Options: Tcp or Udp. + Network protocol this rule applies to. Can be Tcp, Udp or * to match both. String - FrontendPort - - The frontend port matched by this Load Balancer Rule. - - Int32 - - - BackendPort - - The backend port for traffic matched by this Load Balancer Rule. - - Int32 - - - IdleTimeoutInMinutes - - The length of time in minutes for which state of conversations is maintained within the Load Balancer. - - Int32 - - - EnableFloatingIP - - - - SwitchParameter - - - - Set-AzureLoadBalancerRuleConfig - - Name + SourcePortRange - + Source Port or Range. Integer or range between 0 and 65535 or * to match any. String - - LoadBalancer - - The Load Balancer with which this Load Balancer Rule will be associated - - PSLoadBalancer - - - FrontendIpConfiguration - - A list of Frontend Ips to associate with this Load Balancer Rule. - - List`1[PSFrontendIpConfiguration] - - BackendAddressPool + DestinationPortRange - The Backend Address Pool to associate with this Load Balancer Rule. + Destination Port or Range. Integer or range between 0 and 65535 or * to match any. - PSBackendAddressPool + String - Probe + SourceAddressPrefix - The Probe to associate with this Load Balancer Rule. + CIDR or source IP range or * to match any IP. Tags such as ‘VirtualNetwork’, ‘AzureLoadBalancer’ and ‘Internet’ can also be used. - PSProbe + String - Protocol + DestinationAddressPrefix - The Protocol matched by this Load Balancer Rule. - - Options: Tcp or Udp. + CIDR or destination IP range or * to match any IP. Tags such as ‘VirtualNetwork’, ‘AzureLoadBalancer’ and ‘Internet’ can also be used. String - FrontendPort + Access - The frontend port matched by this Load Balancer Rule. + Specifies whether network traffic is allowed or denied. Possible values are “Allow” and “Deny”. - Int32 + String - BackendPort + Priority - The backend port for traffic matched by this Load Balancer Rule. + Specifies the priority of the rule. The value can be between 100 and 4096. The priority number must be unique for each rule in the collection. The lower the priority number, the higher the priority of the rule. Int32 - IdleTimeoutInMinutes + Direction - The length of time in minutes for which state of conversations is maintained within the Load Balancer. + The direction specifies if rule will be evaluated on incoming or outgoing traffic. Possible values are “Inbound” and “Outbound”. - Int32 + String - EnableFloatingIP + Profile - + - SwitchParameter + AzureProfile - Name - - - - String - - String - - - - - - LoadBalancer + Name - The Load Balancer with which this Load Balancer Rule will be associated + The name of the Network Security Rule. - PSLoadBalancer + String - PSLoadBalancer + String - - FrontendIPConfigurationId + + NetworkSecurityGroup - A list of Frontend Ip ID's to associate with this Load Balancer Rule + The Network Security Group object containing the Network Security Rule. - List`1[String] + PSNetworkSecurityGroup - List`1[String] + PSNetworkSecurityGroup - BackendAddressPoolId + Description - The ID of a BackendAddressPool to associate with this Load Balancer Rule. + A description for this rule. Restricted to 140 characters. String @@ -7339,9 +10328,9 @@ - ProbeId + Protocol - The ID of the Probe to associate with this Load Balancer Rule + Network protocol this rule applies to. Can be Tcp, Udp or * to match both. String @@ -7351,11 +10340,9 @@ - Protocol + SourcePortRange - The Protocol matched by this Load Balancer Rule. - - Options: Tcp or Udp. + Source Port or Range. Integer or range between 0 and 65535 or * to match any. String @@ -7365,85 +10352,85 @@ - FrontendPort + DestinationPortRange - The frontend port matched by this Load Balancer Rule. + Destination Port or Range. Integer or range between 0 and 65535 or * to match any. - Int32 + String - Int32 + String - BackendPort + SourceAddressPrefix - The backend port for traffic matched by this Load Balancer Rule. + CIDR or source IP range or * to match any IP. Tags such as ‘VirtualNetwork’, ‘AzureLoadBalancer’ and ‘Internet’ can also be used. - Int32 + String - Int32 + String - IdleTimeoutInMinutes + DestinationAddressPrefix - The length of time in minutes for which state of conversations is maintained within the Load Balancer. + CIDR or destination IP range or * to match any IP. Tags such as ‘VirtualNetwork’, ‘AzureLoadBalancer’ and ‘Internet’ can also be used. - Int32 + String - Int32 + String - EnableFloatingIP + Access - + Specifies whether network traffic is allowed or denied. Possible values are “Allow” and “Deny”. - SwitchParameter + String - SwitchParameter + String - - FrontendIpConfiguration + + Priority - A list of Frontend Ips to associate with this Load Balancer Rule. + Specifies the priority of the rule. The value can be between 100 and 4096. The priority number must be unique for each rule in the collection. The lower the priority number, the higher the priority of the rule. - List`1[PSFrontendIpConfiguration] + Int32 - List`1[PSFrontendIpConfiguration] + Int32 - BackendAddressPool + Direction - The Backend Address Pool to associate with this Load Balancer Rule. + The direction specifies if rule will be evaluated on incoming or outgoing traffic. Possible values are “Inbound” and “Outbound”. - PSBackendAddressPool + String - PSBackendAddressPool + String - Probe + Profile - The Probe to associate with this Load Balancer Rule. + - PSProbe + AzureProfile - PSProbe + AzureProfile @@ -7453,113 +10440,32 @@ - - - - - - - - - - - - - - - - + + - - - - - - - - - - - - - - - - - - - - Set-AzureNetworkInterface - - Sets the goal state for an Azure Network Interface - - - - - Set - AzureNetworkInterface - - - - - Sets the goal state for an Azure Network Interface - - - - Set-AzureNetworkInterface - - NetworkInterface - - A Network Interface object representing the goal state to which the Network Interface should be set - - PSNetworkInterface - - - - - - NetworkInterface - A Network Interface object representing the goal state to which the Network Interface should be set + - PSNetworkInterface - - PSNetworkInterface - - - - - - - - - - - - - - - - - - - + + - - - + + + + + - + @@ -7567,7 +10473,7 @@ - + Set-AzurePublicIpAddress @@ -7582,7 +10488,6 @@ - Sets the goal state for a Public Ip Address @@ -7591,17 +10496,24 @@ PublicIpAddress - A Public IP Address object representing the goal state to which the Public Ip Address should be set + A Public IP Address object representing the goal state to which the Public Ip Address should be set. PSPublicIpAddress + + Profile + + + + AzureProfile + PublicIpAddress - A Public IP Address object representing the goal state to which the Public Ip Address should be set + A Public IP Address object representing the goal state to which the Public Ip Address should be set. PSPublicIpAddress @@ -7610,37 +10522,51 @@ + + Profile + + + + AzureProfile + + AzureProfile + + + + - - - - + + - + + + + - - - - + + - - - + + + + + + - + @@ -7648,7 +10574,7 @@ - + Set-AzureVirtualNetwork @@ -7663,7 +10589,6 @@ - Sets the goal state for an Azure Virtual Network @@ -7672,17 +10597,24 @@ VirtualNetwork - A Virtual Network object representing the goal state to which the Virtual Network should be set + A Virtual Network object representing the goal state to which the Virtual Network should be set. PSVirtualNetwork + + Profile + + + + AzureProfile + VirtualNetwork - A Virtual Network object representing the goal state to which the Virtual Network should be set + A Virtual Network object representing the goal state to which the Virtual Network should be set. PSVirtualNetwork @@ -7691,37 +10623,51 @@ + + Profile + + + + AzureProfile + + AzureProfile + + + + - - - - + + - + + + + - - - - + + - - - + + + + + + - + @@ -7729,7 +10675,7 @@ - + Set-AzureVirtualNetworkSubnetConfig @@ -7744,7 +10690,6 @@ - Sets the goal state for a Subnet within an Azure Virtual Network @@ -7760,23 +10705,68 @@ VirtualNetwork - The Virtual Network containing the Subnet + The Virtual Network containing the Subnet. PSVirtualNetwork + + AddressPrefix + + The IP range covered by this Subnet. + + String + + + NetworkSecurityGroup + + The Network Security Group object containing ACLs that will apply to this Subnet. + + PSNetworkSecurityGroup + + Profile + + + + AzureProfile + + + + Set-AzureVirtualNetworkSubnetConfig + + Name + + The name of the Subnet. + + String + + + VirtualNetwork + + The Virtual Network containing the Subnet. + + PSVirtualNetwork + + AddressPrefix The IP range covered by this Subnet. String - - DnsServer + + NetworkSecurityGroupId - The DNS Servers to be used for performing DNS lookups from this Subnet + A reference to a Network Security Group containing ACLs that will apply to this Subnet. - List`1[String] + String + + + Profile + + + + AzureProfile @@ -7796,7 +10786,7 @@ VirtualNetwork - The Virtual Network containing the Subnet + The Virtual Network containing the Subnet. PSVirtualNetwork @@ -7805,7 +10795,7 @@ - + AddressPrefix The IP range covered by this Subnet. @@ -7817,14 +10807,50 @@ - + + NetworkSecurityGroup + + The Network Security Group object containing ACLs that will apply to this Subnet. + + PSNetworkSecurityGroup + + PSNetworkSecurityGroup + + + + + + Profile + + + + AzureProfile + + AzureProfile + + + + + + NetworkSecurityGroupId + + A reference to a Network Security Group containing ACLs that will apply to this Subnet. + + String + + String + + + + + DnsServer - The DNS Servers to be used for performing DNS lookups from this Subnet + The Dns servers to be used for performing Dns lookups from this Subnet. - List`1[String] + list`1[string] - List`1[String] + list`1[string] @@ -7834,32 +10860,34 @@ - - - - + + - + + + + - - - - + + - - - + + + + + + - + diff --git a/src/ResourceManager/Network/Commands.Network/Microsoft.Azure.Commands.Network.format.ps1xml b/src/ResourceManager/Network/Commands.Network/Microsoft.Azure.Commands.Network.format.ps1xml index 2e120166a211..4a811a7bbb56 100644 --- a/src/ResourceManager/Network/Commands.Network/Microsoft.Azure.Commands.Network.format.ps1xml +++ b/src/ResourceManager/Network/Commands.Network/Microsoft.Azure.Commands.Network.format.ps1xml @@ -44,11 +44,11 @@ - DhcpOptionsTest + DhcpOptionsText - NetworkInterfacesTest + NetworkInterfacesText diff --git a/src/ResourceManager/Network/Commands.Network/Microsoft.Azure.Commands.NetworkResourceProvider.dll-Help.psd1 b/src/ResourceManager/Network/Commands.Network/Microsoft.Azure.Commands.NetworkResourceProvider.dll-Help.psd1 deleted file mode 100644 index 900be9be3a6b..000000000000 --- a/src/ResourceManager/Network/Commands.Network/Microsoft.Azure.Commands.NetworkResourceProvider.dll-Help.psd1 +++ /dev/null @@ -1,87 +0,0 @@ -# -# Module manifest for module 'Microsoft.Azure.Commands.NetworkResourceProvider' -# -# Generated by: Microsoft Corporation -# -# Generated on: 12/13/2014 -# - -@{ - -# Version number of this module. -ModuleVersion = '0.8.12' - -# ID used to uniquely identify this module -GUID = '98CFD96B-A6BC-4F15-AE2C-603FC2B58981' - -# Author of this module -Author = 'Microsoft Corporation' - -# Company or vendor of this module -CompanyName = 'Microsoft Corporation' - -# Copyright statement for this module -Copyright = ' Microsoft Corporation. All rights reserved.' - -# Description of the functionality provided by this module -Description = '' - -# Minimum version of the Windows PowerShell engine required by this module -PowerShellVersion = '3.0' - -# Name of the Windows PowerShell host required by this module -PowerShellHostName = '' - -# Minimum version of the Windows PowerShell host required by this module -PowerShellHostVersion = '' - -# Minimum version of the .NET Framework required by this module -DotNetFrameworkVersion = '4.0' - -# Minimum version of the common language runtime (CLR) required by this module -CLRVersion='4.0' - -# Processor architecture (None, X86, Amd64, IA64) required by this module -ProcessorArchitecture = 'None' - -# Modules that must be imported into the global environment prior to importing this module -RequiredModules = @() - -# Assemblies that must be loaded prior to importing this module -RequiredAssemblies = @() - -# Script files (.ps1) that are run in the caller's environment prior to importing this module -ScriptsToProcess = @() - -# Format files (.ps1xml) to be loaded when importing this module -FormatsToProcess = @( - '.\Microsoft.Azure.Commands.NetworkResourceProvider.format.ps1xml' -) - -# Modules to import as nested modules of the module specified in ModuleToProcess -NestedModules = @( - '..\..\..\Package\Debug\ResourceManager\AzureResourceManager\NetworkResourceProvider\Microsoft.Azure.Commands.NetworkResourceProvider.dll' -) - -# Functions to export from this module -FunctionsToExport = '*' - -# Cmdlets to export from this module -CmdletsToExport = '*' - -# Variables to export from this module -VariablesToExport = '*' - -# Aliases to export from this module -AliasesToExport = @() - -# List of all modules packaged with this module -ModuleList = @() - -# List of all files packaged with this module -FileList = @() - -# Private data to pass to the module specified in ModuleToProcess -PrivateData = '' - -} diff --git a/src/ResourceManager/Network/Commands.Network/VirtualNetwork/VirtualNetworkBaseCmdlet.cs b/src/ResourceManager/Network/Commands.Network/VirtualNetwork/VirtualNetworkBaseCmdlet.cs index 39195c74ef7d..e6e3887eee38 100644 --- a/src/ResourceManager/Network/Commands.Network/VirtualNetwork/VirtualNetworkBaseCmdlet.cs +++ b/src/ResourceManager/Network/Commands.Network/VirtualNetwork/VirtualNetworkBaseCmdlet.cs @@ -64,6 +64,11 @@ public PSVirtualNetwork GetVirtualNetwork(string resourceGroupName, string name) virtualNetwork.Tag = TagsConversionHelper.CreateTagHashtable(getNetworkInterfaceResponse.VirtualNetwork.Tags); + if (virtualNetwork.DhcpOptions == null) + { + virtualNetwork.DhcpOptions = new PSDhcpOptions(); + } + return virtualNetwork; }