New-SCGatewayRoleConfiguration

Creates a gateway role configuration.

Syntax

New-SCGatewayRoleConfiguration -GatewayCapacityKbps <UInt64>
 -GreVipSubnets <System.Collections.Generic.List`1[Microsoft.SystemCenter.VirtualMachineManager.SubnetVLan]>
 -PublicIPAddresses <System.Collections.Generic.List`1[Microsoft.SystemCenter.VirtualMachineManager.AllocatedIPAddress]>
 -RedundantResourceCount <UInt32> [-VMMServer <ServerConnection>] [<CommonParameters>]

Description

The New-SCGatewayRoleConfiguration cmdlet creates a gateway role configuration in Virtual Machine Manager (VMM).

Examples

Example 1: Create gateway role configuration

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

The first command creates a gateway role configuration by using New-SCGatewayRoleConfiguration.

The second command configures the gateway fabric role with that configuration.

Parameters

-GatewayCapacityKbps

Specifies the gateway capacity in Kbps.

Type:UInt64
Required:True
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-GreVipSubnets
Type:System.Collections.Generic.List`1[Microsoft.SystemCenter.VirtualMachineManager.SubnetVLan]
Required:True
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-PublicIPAddresses
Type:System.Collections.Generic.List`1[Microsoft.SystemCenter.VirtualMachineManager.AllocatedIPAddress]
Required:True
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-RedundantResourceCount
Type:UInt32
Required:True
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-VMMServer

Specifies a VMM server object.

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