Edit

Share via


Get-AzNetworkCloudL3Network

Get properties of the provided layer 3 (L3) network.

Syntax

List (Default)

Get-AzNetworkCloudL3Network
    [-SubscriptionId <String[]>]
    [-DefaultProfile <PSObject>]
    [<CommonParameters>]

Get

Get-AzNetworkCloudL3Network
    -Name <String>
    -ResourceGroupName <String>
    [-SubscriptionId <String[]>]
    [-DefaultProfile <PSObject>]
    [<CommonParameters>]

List1

Get-AzNetworkCloudL3Network
    -ResourceGroupName <String>
    [-SubscriptionId <String[]>]
    [-DefaultProfile <PSObject>]
    [<CommonParameters>]

GetViaIdentity

Get-AzNetworkCloudL3Network
    -InputObject <INetworkCloudIdentity>
    [-DefaultProfile <PSObject>]
    [<CommonParameters>]

Description

Get properties of the provided layer 3 (L3) network.

Examples

Example 1: List Layer 3 (L3) networks by resource group

Get-AzNetworkCloudL3Network -ResourceGroupName resourceGroupName -SubscriptionId subscriptionId
Location    Name              SystemDataCreatedAt SystemDataCreatedBy   SystemDataCreatedByType SystemDataLastModifiedAt SystemDataLastModifiedBy   SystemDataLastModifiedByType AzureAsyncOperation ResourceGroupName
--------    ----              ------------------- -------------------   ----------------------- ------------------------ ------------------------   ---------------------------- ------------------- -----------------
eastus      l3NetworkName     05/08/2023 20:59:18 user1                 User                    05/08/2023 20:59:18      user2                      User                                             resourceGroupName

This command lists all L3Networks by resource group.

Example 2: Get Layer 3 (L3) network

Get-AzNetworkCloudL3Network -ResourceGroupName resourceGroupName -Name l3NetworkName -SubscriptionId subscriptionId
Location    Name              SystemDataCreatedAt SystemDataCreatedBy   SystemDataCreatedByType SystemDataLastModifiedAt SystemDataLastModifiedBy   SystemDataLastModifiedByType AzureAsyncOperation ResourceGroupName
--------    ----              ------------------- -------------------   ----------------------- ------------------------ ------------------------   ---------------------------- ------------------- -----------------
eastus      l3NetworkName     05/08/2023 20:59:18 user1                 User                    05/08/2023 20:59:18      user2                      User                                             resourceGroupName

This command gets details of an L3Network.

Example 3: List Layer 3 (L3) networks by subscription

Get-AzNetworkCloudL3Network -SubscriptionId subscriptionId
Location    Name              SystemDataCreatedAt SystemDataCreatedBy  SystemDataCreatedByType SystemDataLastModifiedAt SystemDataLastModifiedBy   SystemDataLastModifiedByType   Type                              AzureAsyncOperation
--------    ----              ------------------- -------------------  ----------------------- ------------------------ ------------------------    ----------------------------  ----                              -----------------
eastus      l3NetworkName      03/13/2023 16:09:59 user1               User                    03/13/2023 16:20:31     user2                       User                           microsoft.networkcloud/l3networks

This command lists L3Networks by subscription.

Parameters

-DefaultProfile

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

Parameter properties

Type:PSObject
Default value:None
Supports wildcards:False
DontShow:False
Aliases:AzureRMContext, AzureCredential

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-InputObject

Identity Parameter To construct, see NOTES section for INPUTOBJECT properties and create a hash table.

Parameter properties

Type:INetworkCloudIdentity
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

GetViaIdentity
Position:Named
Mandatory:True
Value from pipeline:True
Value from pipeline by property name:False
Value from remaining arguments:False

-Name

The name of the L3 network.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False
Aliases:L3NetworkName

Parameter sets

Get
Position:Named
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-ResourceGroupName

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

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

Get
Position:Named
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False
List1
Position:Named
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-SubscriptionId

The ID of the target subscription. The value must be an UUID.

Parameter properties

Type:

String[]

Default value:(Get-AzContext).Subscription.Id
Supports wildcards:False
DontShow:False

Parameter sets

List
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False
Get
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False
List1
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

Inputs

INetworkCloudIdentity

Outputs

IL3Network