New-SCGatewayRoleConfiguration
Vytvoří konfiguraci role brány.
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
Rutina New-SCGatewayRoleConfiguration vytvoří konfiguraci role brány v nástroji Virtual Machine Manager (VMM).
Příklady
Příklad 1: Vytvoření konfigurace role brány
PS C:\> $FabricRoleConfiguration = New-SCGatewayRoleConfiguration -GatewayCapacityKbps 1024000 -PublicIPAddresses $publicIPV4Address -RedundantResourceCount 1 -GreVipSubnets $SubnetVlansGreVip
PS C:\> $FabricRole = Set-SCFabricRole -FabricRole $FabricRole -GatewayConfiguration $FabricRoleConfiguration
První příkaz vytvoří konfiguraci role brány pomocí New-SCGatewayRoleConfiguration.
Druhý příkaz nakonfiguruje roli infrastruktury brány s danou konfigurací.
Parametry
-GatewayCapacityKbps
Určuje kapacitu brány v 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
Poznámka
Z roku 2019 UR2 je možné do tohoto parametru přidat také adresy IPv6.
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
Určuje objekt serveru VMM.
Type: | ServerConnection |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | True |
Accept wildcard characters: | False |