New-SCGatewayRoleConfiguration
Ağ geçidi rolü yapılandırması oluşturur.
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
New-SCGatewayRoleConfiguration cmdlet'i Virtual Machine Manager'da (VMM) bir ağ geçidi rolü yapılandırması oluşturur.
Örnekler
Örnek 1: Ağ geçidi rol yapılandırması oluşturma
PS C:\> $FabricRoleConfiguration = New-SCGatewayRoleConfiguration -GatewayCapacityKbps 1024000 -PublicIPAddresses $publicIPV4Address -RedundantResourceCount 1 -GreVipSubnets $SubnetVlansGreVip
PS C:\> $FabricRole = Set-SCFabricRole -FabricRole $FabricRole -GatewayConfiguration $FabricRoleConfiguration
İlk komut , New-SCGatewayRoleConfiguration kullanarak bir ağ geçidi rolü yapılandırması oluşturur.
İkinci komut, ağ geçidi doku rolünü bu yapılandırmayla yapılandırıyor.
Parametreler
-GatewayCapacityKbps
Kbps cinsinden ağ geçidi kapasitesini belirtir.
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
Not
2019 UR2 ve sonraki sürümlerden bu parametreye IPv6 adresleri de eklenebilir.
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
BIR VMM sunucu nesnesi belirtir.
Type: | ServerConnection |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | True |
Accept wildcard characters: | False |