New-SCGatewayRoleConfiguration
Cria uma configuração de função de gateway.
Syntax
New-SCGatewayRoleConfiguration
[-VMMServer <ServerConnection>]
-RedundantResourceCount <UInt32>
-GatewayCapacityKbps <UInt64>
-PublicIPAddresses <System.Collections.Generic.List`1[Microsoft.SystemCenter.VirtualMachineManager.AllocatedIPAddress]>
-GreVipSubnets <System.Collections.Generic.List`1[Microsoft.SystemCenter.VirtualMachineManager.SubnetVLan]>
[<CommonParameters>]
Description
O cmdlet New-SCGatewayRoleConfiguration cria uma configuração de função de gateway no Virtual Machine Manager (VMM).
Exemplos
Exemplo 1: Criar configuração de função de gateway
PS C:\> $FabricRoleConfiguration = New-SCGatewayRoleConfiguration -GatewayCapacityKbps 1024000 -PublicIPAddresses $publicIPV4Address -RedundantResourceCount 1 -GreVipSubnets $SubnetVlansGreVip
PS C:\> $FabricRole = Set-SCFabricRole -FabricRole $FabricRole -GatewayConfiguration $FabricRoleConfiguration
O primeiro comando cria uma configuração de função de gateway com New-SCGatewayRoleConfiguration.
O segundo comando configura a função de recursos de infraestrutura do gateway com essa configuração.
Parâmetros
-GatewayCapacityKbps
Especifica a capacidade do gateway em Kbps.
Type: | UInt64 |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-GreVipSubnets
Type: | System.Collections.Generic.List`1[Microsoft.SystemCenter.VirtualMachineManager.SubnetVLan] |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-PublicIPAddresses
Nota
A partir do UR2 de 2019 e posterior, os endereços IPv6 também podem ser adicionados a este parâmetro.
Type: | System.Collections.Generic.List`1[Microsoft.SystemCenter.VirtualMachineManager.AllocatedIPAddress] |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-RedundantResourceCount
Type: | UInt32 |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-VMMServer
Especifica um objeto de servidor VMM.
Type: | ServerConnection |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | True |
Accept wildcard characters: | False |