Redigera

Dela via


Update-AzMobileNetworkAttachedDataNetwork

Updates an attached data network.

Syntax

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

Description

Updates an attached data network.

Examples

Example 1: Updates an attached data network.

Update-AzMobileNetworkAttachedDataNetwork -AttachedDataNetworkName azps-mn-adn -PacketCoreControlPlaneName azps-mn-pccp -PacketCoreDataPlaneName azps_test_group -ResourceGroupName -Tag @{"abc"="123"}

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

Updates an attached data network.

Parameters

-AttachedDataNetworkName

The name of the attached data network.

Type:String
Position:Named
Default value:None
Required:True
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:False
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

-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

Inputs

IMobileNetworkIdentity

Outputs

IAttachedDataNetwork