Get-AzDevCenterAdminAttachedNetwork

Gets an attached NetworkConnection.

Syntax

Get-AzDevCenterAdminAttachedNetwork
   -ProjectName <String>
   -ResourceGroupName <String>
   [-SubscriptionId <String[]>]
   [-DefaultProfile <PSObject>]
   [<CommonParameters>]
Get-AzDevCenterAdminAttachedNetwork
   -ConnectionName <String>
   -ResourceGroupName <String>
   [-SubscriptionId <String[]>]
   -DevCenterName <String>
   [-DefaultProfile <PSObject>]
   [<CommonParameters>]
Get-AzDevCenterAdminAttachedNetwork
   -ConnectionName <String>
   -ProjectName <String>
   -ResourceGroupName <String>
   [-SubscriptionId <String[]>]
   [-DefaultProfile <PSObject>]
   [<CommonParameters>]
Get-AzDevCenterAdminAttachedNetwork
   -ResourceGroupName <String>
   [-SubscriptionId <String[]>]
   -DevCenterName <String>
   [-DefaultProfile <PSObject>]
   [<CommonParameters>]
Get-AzDevCenterAdminAttachedNetwork
   -InputObject <IDevCenterIdentity>
   [-DefaultProfile <PSObject>]
   [<CommonParameters>]

Description

Gets an attached NetworkConnection.

Examples

Example 1: List attached networks in a dev center

Get-AzDevCenterAdminAttachedNetwork -ResourceGroupName testRg -DevCenterName Contoso

This command lists the attached networks in the dev center "Contoso" under the resource group "testRg".

Example 2: List attached networks in a project

Get-AzDevCenterAdminAttachedNetwork -ProjectName DevProject -ResourceGroupName testRg

This command lists the attached networks in the project "DevProject" under the resource group "testRg".

Example 3: Get a dev center attached network

Get-AzDevCenterAdminAttachedNetwork -ConnectionName network-uswest3 -ResourceGroupName testRg -DevCenterName Contoso

This command gets the attached network named "network-uswest3" in the dev center "Contoso" under the resource group "testRg".

Example 4: Get a project attached network

Get-AzDevCenterAdminAttachedNetwork -ConnectionName network-uswest3 -ProjectName DevProject -ResourceGroupName testRg

This command gets the attached network named "network-uswest3" in the project "DevProject" under the resource group "testRg".

Parameters

-ConnectionName

The name of the attached NetworkConnection.

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

-DevCenterName

The name of the devcenter.

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

-InputObject

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

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

-ProjectName

The name of the project.

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

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

Inputs

IDevCenterIdentity

Outputs

Microsoft.Azure.PowerShell.Cmdlets.DevCenter.Models.Api20240501Preview.IAttachedNetworkConnection