New-AzMobileNetworkSite

Creates or updates a mobile network site. Must be created in the same location as its parent mobile network.

Syntax

New-AzMobileNetworkSite
   -MobileNetworkName <String>
   -Name <String>
   -ResourceGroupName <String>
   [-SubscriptionId <String>]
   [-DataNetworkName <String>]
   -Location <String>
   [-Tag <Hashtable>]
   [-PlatformType <PlatformType>]
   [-ControlPlaneAccessInterfaceName <String>]
   [-ControlPlaneAccessInterfaceIpv4Address <String>]
   [-ControlPlaneAccessInterfaceIpv4Gateway <String>]
   [-ControlPlaneAccessInterfaceIpv4Subnet <String>]
   [-CustomLocationId <String>]
   [-AzureStackEdgeDeviceId <String>]
   [-LocalDiagnosticAccessAuthenticationType <AuthenticationType>]
   [-CoreNetworkTechnology <CoreNetworkType>]
   [-Sku <BillingSku>]
   [-UserPlaneAccessInterfaceIpv4Address <String>]
   [-UserPlaneAccessInterfaceIpv4Gateway <String>]
   [-UserPlaneAccessInterfaceIpv4Subnet <String>]
   [-UserPlaneAccessInterfaceName <String>]
   [-DnsAddress <String[]>]
   [-NaptConfigurationEnabled <NaptEnabled>]
   [-UserPlaneDataInterfaceIpv4Address <String>]
   [-UserPlaneDataInterfaceIpv4Gateway <String>]
   [-UserPlaneDataInterfaceIpv4Subnet <String>]
   [-UserPlaneDataInterfaceName <String>]
   [-UserEquipmentAddressPoolPrefix <String[]>]
   [-UserEquipmentStaticAddressPoolPrefix <String[]>]
   [-DefaultProfile <PSObject>]
   [-AsJob]
   [-NoWait]
   [-WhatIf]
   [-Confirm]
   [<CommonParameters>]

Description

Creates or updates a mobile network site. Must be created in the same location as its parent mobile network.

Examples

Example 1: Creates or updates a mobile network site.

New-AzMobileNetworkSite -MobileNetworkName azps-mn -Name azps-mn-site -ResourceGroupName azps_test_group -Location eastus -Tag @{"site"="123"}

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

Creates or updates a mobile network site. Must be created in the same location as its parent mobile network.

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

-AzureStackEdgeDeviceId

Azure Stack Edge device resource ID.

Type:String
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

-ControlPlaneAccessInterfaceIpv4Address

The IPv4 address.

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

-ControlPlaneAccessInterfaceIpv4Gateway

The default IPv4 gateway (router).

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

-ControlPlaneAccessInterfaceIpv4Subnet

The IPv4 subnet.

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

-ControlPlaneAccessInterfaceName

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

-CoreNetworkTechnology

The core network technology generation (5G core or EPC / 4G core).

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

-CustomLocationId

Azure Arc custom location resource ID.

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

-DataNetworkName

New-AzMobileNetworkDataNetwork The name of the data network.

Type:String
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

New-AzMobileNetworkAttachedDataNetwork 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

-LocalDiagnosticAccessAuthenticationType

How to authenticate users who access local diagnostics APIs.

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

-MobileNetworkName

The name of the mobile network.

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

-Name

The name of the mobile network site.

Type:String
Aliases:SiteName
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

-NoWait

Run the command asynchronously

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

-PlatformType

New-AzMobileNetworkPacketCoreControlPlane The platform type where packet core is deployed.

Type:PlatformType
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

-Sku

The SKU defining the throughput and SIM allowances for this packet core control plane deployment.

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

-UserPlaneAccessInterfaceIpv4Address

New-AzMobileNetworkPacketCoreDataPlane The IPv4 address.

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

-UserPlaneAccessInterfaceIpv4Gateway

The default IPv4 gateway (router).

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

-UserPlaneAccessInterfaceIpv4Subnet

The IPv4 subnet.

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

-UserPlaneAccessInterfaceName

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

-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

ISite