你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

Get-AzNetworkFabricExternalNetwork

Implements ExternalNetworks GET method.

Syntax

Get-AzNetworkFabricExternalNetwork
   -L3IsolationDomainName <String>
   -ResourceGroupName <String>
   [-SubscriptionId <String[]>]
   [-DefaultProfile <PSObject>]
   [<CommonParameters>]
Get-AzNetworkFabricExternalNetwork
   -L3IsolationDomainName <String>
   -Name <String>
   -ResourceGroupName <String>
   [-SubscriptionId <String[]>]
   [-DefaultProfile <PSObject>]
   [<CommonParameters>]
Get-AzNetworkFabricExternalNetwork
   -Name <String>
   -L3IsolationDomainInputObject <IManagedNetworkFabricIdentity>
   [-DefaultProfile <PSObject>]
   [<CommonParameters>]
Get-AzNetworkFabricExternalNetwork
   -InputObject <IManagedNetworkFabricIdentity>
   [-DefaultProfile <PSObject>]
   [<CommonParameters>]

Description

Implements ExternalNetworks GET method.

Examples

Example 1: List External Networks

Get-AzNetworkFabricExternalNetwork -L3IsolationDomainName $l3name -ResourceGroupName $resourceGroupName

Name                 SystemDataCreatedAt SystemDataCreatedBy        SystemDataCreatedByType SystemDataLastModifiedAt SystemDataLastModifiedBy   SystemDataLastModifiedByType ResourceGroupNam
                                                                                                                                                                             e
----                 ------------------- -------------------        ----------------------- ------------------------ ------------------------   ---------------------------- ----------------
externalNetworkName  09/25/2023 05:26:03 <identity>                 User                    09/25/2023 05:26:03      <identity>                User                         nfa-tool-ts-pow…
externalNetworkName1 09/25/2023 05:26:37 <identity>                 User                    09/25/2023 05:26:37      <identity>                User                         nfa-tool-ts-pow…

This command lists all the External Networks.

Example 2: Get External Network

Get-AzNetworkFabricExternalNetwork -L3IsolationDomainName $l3name -Name $name -ResourceGroupName $resourceGroupName

AdministrativeState Annotation ConfigurationState ExportRoutePolicy
------------------- ---------- ------------------ -----------------
Enabled

This command gets details of the given External Network.

Parameters

-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

-InputObject

Identity Parameter

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

-L3IsolationDomainInputObject

Identity Parameter

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

-L3IsolationDomainName

Name of the L3 Isolation Domain.

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

-Name

Name of the External Network.

Type:String
Aliases:ExternalNetworkName
Position:Named
Default value:None
Required:True
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. The value must be an UUID.

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

Inputs

IManagedNetworkFabricIdentity

Outputs

IExternalNetwork