次の方法で共有


New-SCGatewayRoleConfiguration

ゲートウェイ ロールの構成を作成します。

構文

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>]

説明

New-SCGatewayRoleConfiguration コマンドレットは、Virtual Machine Manager (VMM) にゲートウェイ ロールの構成を作成します。

例 1: ゲートウェイ ロールの構成を作成する

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

最初のコマンドでは、New-SCGatewayRoleConfiguration使用してゲートウェイ ロール構成を作成します。

2 番目のコマンドは、その構成でゲートウェイ ファブリック ロールを構成します。

パラメーター

-GatewayCapacityKbps

ゲートウェイ容量を Kbps 単位で指定します。

型:UInt64
配置:Named
規定値:None
必須:True
パイプライン入力を受け取る:False
ワイルドカード文字を受け取る:False

-GreVipSubnets

型:System.Collections.Generic.List`1[Microsoft.SystemCenter.VirtualMachineManager.SubnetVLan]
配置:Named
規定値:None
必須:True
パイプライン入力を受け取る:False
ワイルドカード文字を受け取る:False

-PublicIPAddresses

手記

2019 UR2 以降では、このパラメーターに IPv6 アドレスを追加することもできます。

型:System.Collections.Generic.List`1[Microsoft.SystemCenter.VirtualMachineManager.AllocatedIPAddress]
配置:Named
規定値:None
必須:True
パイプライン入力を受け取る:False
ワイルドカード文字を受け取る:False

-RedundantResourceCount

型:UInt32
配置:Named
規定値:None
必須:True
パイプライン入力を受け取る:False
ワイルドカード文字を受け取る:False

-VMMServer

VMM サーバー オブジェクトを指定します。

型:ServerConnection
配置:Named
規定値:None
必須:False
パイプライン入力を受け取る:True
ワイルドカード文字を受け取る:False