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 VMM (Virtual Machine Manager).
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 usando New-SCGatewayRoleConfiguration.
O segundo comando configura a função de malha 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
Observação
A partir da UR2 de 2019, os endereços IPv6 também podem ser adicionados a esse 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 do VMM.
Type: | ServerConnection |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | True |
Accept wildcard characters: | False |