編輯

共用方式為


Get-AzAksManagedClusterOutboundNetworkDependencyEndpoint

Gets a list of egress endpoints (network endpoints of all outbound dependencies) in the specified managed cluster. The operation returns properties of each egress endpoint.

Syntax

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

Description

Gets a list of egress endpoints (network endpoints of all outbound dependencies) in the specified managed cluster. The operation returns properties of each egress endpoint.

Examples

Example 1: List egress endpoints (network endpoints of all outbound dependencies) in the specified managed cluster

$result = Get-AzAksManagedClusterOutboundNetworkDependencyEndpoint -ResourceGroupName mygroup -ResourceName mycluster
$result | select Category,Endpoint

Category                  Endpoint
--------                  --------
azure-resource-management {management.azure.com, login.microsoftonline.com}
images                    {mcr.microsoft.com, *.data.mcr.microsoft.com}
artifacts                 {packages.microsoft.com, acs-mirror.azureedge.net}
time-sync                 {ntp.ubuntu.com}
ubuntu-optional           {security.ubuntu.com, azure.archive.ubuntu.com, changelogs.ubuntu.com}
apiserver                 {aks0b1f-idb7vuoi.hcp.eastus.azmk8s.io}

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

-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

-ResourceName

The name of the managed cluster resource.

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

Outputs

IOutboundEnvironmentEndpoint