편집

다음을 통해 공유


New-AzMobileNetworkAttachedDataNetwork

Creates or updates an attached data network. Must be created in the same location as its parent packet core data plane.

Syntax

New-AzMobileNetworkAttachedDataNetwork
   -Name <String>
   -PacketCoreControlPlaneName <String>
   -PacketCoreDataPlaneName <String>
   -ResourceGroupName <String>
   [-SubscriptionId <String>]
   -DnsAddress <String[]>
   -Location <String>
   [-NaptConfigurationEnabled <NaptEnabled>]
   [-NaptConfigurationPinholeLimit <Int32>]
   [-PinholeTimeoutIcmp <Int32>]
   [-PinholeTimeoutTcp <Int32>]
   [-PinholeTimeoutUdp <Int32>]
   [-PortRangeMaxPort <Int32>]
   [-PortRangeMinPort <Int32>]
   [-PortReuseHoldTimeTcp <Int32>]
   [-PortReuseHoldTimeUdp <Int32>]
   [-Tag <Hashtable>]
   [-UserEquipmentAddressPoolPrefix <String[]>]
   [-UserEquipmentStaticAddressPoolPrefix <String[]>]
   [-UserPlaneDataInterfaceIpv4Address <String>]
   [-UserPlaneDataInterfaceIpv4Gateway <String>]
   [-UserPlaneDataInterfaceIpv4Subnet <String>]
   [-UserPlaneDataInterfaceName <String>]
   [-DefaultProfile <PSObject>]
   [-AsJob]
   [-NoWait]
   [-WhatIf]
   [-Confirm]
   [<CommonParameters>]

Description

Creates or updates an attached data network. Must be created in the same location as its parent packet core data plane.

Examples

Example 1: Creates or updates an attached data network.

$dns=@("1.1.1.1", "1.1.1.2")

New-AzMobileNetworkAttachedDataNetwork -Name azps-mn-adn -PacketCoreControlPlaneName azps-mn-pccp -PacketCoreDataPlaneName azps-mn-pcdp -ResourceGroupName azps_test_group -DnsAddress $dns -Location eastus -UserPlaneDataInterfaceIpv4Address 10.0.0.10 -UserPlaneDataInterfaceIpv4Gateway 10.0.0.1 -UserPlaneDataInterfaceIpv4Subnet 10.0.0.0/24 -UserPlaneDataInterfaceName N6

Location Name        ResourceGroupName ProvisioningState
-------- ----        ----------------- -----------------
eastus   azps-mn-adn azps_test_group   Succeeded

Creates or updates an attached data network. Must be created in the same location as its parent packet core data plane.

Parameters

-AsJob

Run the command as a job

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

-Confirm

Prompts you for confirmation before running the cmdlet.

Type:SwitchParameter
Aliases:cf
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-DefaultProfile

The DefaultProfile parameter is not functional. Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription.

Type:PSObject
Aliases:AzureRMContext, AzureCredential
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-DnsAddress

The DNS servers to signal to UEs to use for this attached data network. This configuration is mandatory - if you don't want DNS servers, you must provide an empty array.

Type:String[]
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

-Location

The geo-location where the resource lives

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

-Name

The name of the attached data network.

Type:String
Aliases:AttachedDataNetworkName
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

-NaptConfigurationEnabled

Whether NAPT is enabled for connections to this attached data network.

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

-NaptConfigurationPinholeLimit

Maximum number of UDP and TCP pinholes that can be open simultaneously on the core interface. For 5G networks, this is the N6 interface. For 4G networks, this is the SGi interface.

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

-NoWait

Run the command asynchronously

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

-PacketCoreControlPlaneName

The name of the packet core control plane.

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

-PacketCoreDataPlaneName

The name of the packet core data plane.

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

-PinholeTimeoutIcmp

Pinhole timeout for ICMP pinholes in seconds. Default for ICMP Echo is 30 seconds.

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

-PinholeTimeoutTcp

Pinhole timeout for TCP pinholes in seconds. Default for TCP is 3 minutes.

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

-PinholeTimeoutUdp

Pinhole timeout for UDP pinholes in seconds. Default for UDP is 30 seconds.

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

-PortRangeMaxPort

The maximum port number

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

-PortRangeMinPort

The minimum port number

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

-PortReuseHoldTimeTcp

Minimum time in seconds that will pass before a TCP port that was used by a closed pinhole can be reused. Default for TCP is 2 minutes.

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

-PortReuseHoldTimeUdp

Minimum time in seconds that will pass before a UDP port that was used by a closed pinhole can be reused. Default for UDP is 1 minute.

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

-ResourceGroupName

The name of the resource group. The name is case insensitive.

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

-SubscriptionId

The ID of the target subscription.

Type:String
Position:Named
Default value:(Get-AzContext).Subscription.Id
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-Tag

Resource tags.

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

-UserEquipmentAddressPoolPrefix

The user equipment (UE) address pool prefixes for the attached data network from which the packet core instance will dynamically assign IP addresses to UEs.The packet core instance assigns an IP address to a UE when the UE sets up a PDU session. You must define at least one of userEquipmentAddressPoolPrefix and userEquipmentStaticAddressPoolPrefix. If you define both, they must be of the same size.

Type:String[]
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-UserEquipmentStaticAddressPoolPrefix

The user equipment (UE) address pool prefixes for the attached data network from which the packet core instance will assign static IP addresses to UEs.The packet core instance assigns an IP address to a UE when the UE sets up a PDU session. The static IP address for a specific UE is set in StaticIPConfiguration on the corresponding SIM resource.At least one of userEquipmentAddressPoolPrefix and userEquipmentStaticAddressPoolPrefix must be defined. If both are defined, they must be of the same size.

Type:String[]
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-UserPlaneDataInterfaceIpv4Address

The IPv4 address.

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

-UserPlaneDataInterfaceIpv4Gateway

The default IPv4 gateway (router).

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

-UserPlaneDataInterfaceIpv4Subnet

The IPv4 subnet.

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

-UserPlaneDataInterfaceName

The logical name for this interface. This should match one of the interfaces configured on your Azure Stack Edge device.

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

-WhatIf

Shows what would happen if the cmdlet runs. The cmdlet is not run.

Type:SwitchParameter
Aliases:wi
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

Outputs

IAttachedDataNetwork