New-AzCloudServiceLoadBalancerConfigurationObject
Create a in-memory object for LoadBalancerConfiguration
Syntax
New-AzCloudServiceLoadBalancerConfigurationObject
[-FrontendIPConfiguration <ILoadBalancerFrontendIPConfiguration[]>]
[-Name <String>]
[<CommonParameters>]
Description
Create a in-memory object for LoadBalancerConfiguration
Examples
Example 1: Create load balancer configuration object
$publicIP = Get-AzPublicIpAddress -ResourceGroupName 'ContosoOrg' -Name 'ContosoPublicIP'
$feIpConfig = New-AzCloudServiceLoadBalancerFrontendIPConfigurationObject -Name 'ContosoFe' -PublicIPAddressId $publicIP.Id
$loadBalancerConfig = New-AzCloudServiceLoadBalancerConfigurationObject -Name 'ContosoLB' -FrontendIPConfiguration $feIpConfig
This command creates load balancer configuration object which is used for creating or updating a cloud service. For more details see New-AzCloudService.
Parameters
-FrontendIPConfiguration
FrontendIPConfiguration. To construct, see NOTES section for FRONTENDIPCONFIGURATION properties and create a hash table.
Type: | ILoadBalancerFrontendIPConfiguration[] |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Name
Name of LoadBalancerConfiguration.
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Outputs
Zusammenarbeit auf GitHub
Die Quelle für diesen Inhalt finden Sie auf GitHub, wo Sie auch Issues und Pull Requests erstellen und überprüfen können. Weitere Informationen finden Sie in unserem Leitfaden für Mitwirkende.
Azure PowerShell