Delen via


New-SCGatewayRoleConfiguration

Hiermee maakt u een configuratie van een gatewayrol.

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

De cmdlet New-SCGatewayRoleConfiguration maakt een gatewayrolconfiguratie in Virtual Machine Manager (VMM).

Voorbeelden

Voorbeeld 1: Configuratie van gatewayrol maken

PS C:\> $FabricRoleConfiguration = New-SCGatewayRoleConfiguration -GatewayCapacityKbps 1024000 -PublicIPAddresses $publicIPV4Address -RedundantResourceCount 1 -GreVipSubnets $SubnetVlansGreVip
PS C:\> $FabricRole = Set-SCFabricRole -FabricRole $FabricRole -GatewayConfiguration $FabricRoleConfiguration

Met de eerste opdracht maakt u een gatewayrolconfiguratie met behulp van New-SCGatewayRoleConfiguration.

Met de tweede opdracht configureert u de rol gateway-infrastructuur met die configuratie.

Parameters

-GatewayCapacityKbps

Hiermee geeft u de gatewaycapaciteit in 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

Notitie

Vanaf 2019 UR2 en hoger kunnen IPv6-adressen ook worden toegevoegd aan deze parameter.

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

Hiermee geeft u een VMM-serverobject op.

Type:ServerConnection
Position:Named
Default value:None
Required:False
Accept pipeline input:True
Accept wildcard characters:False