New-AzNetworkCloudEgressEndpointObject

Create an in-memory object for EgressEndpoint.

Syntax

New-AzNetworkCloudEgressEndpointObject
   -Category <String>
   -Endpoint <IEndpointDependency[]>
   [<CommonParameters>]

Description

Create an in-memory object for EgressEndpoint.

Examples

Example 1: Create an in-memory object for EgressEndpointObject.

$endpointDependency=New-AzNetworkCloudEndpointDependencyObject -DomainName domainName -Port 1234

New-AzNetworkCloudEgressEndpointObject -Category "azure-resource-management" -Endpoint ($endpointDependency)

Category
--------
azure-resource-management

Create an in-memory object for EgressEndpoint.

Parameters

-Category

The descriptive category name of endpoints accessible by the AKS agent node. For example, azure-resource-management, API server, etc. The platform egress endpoints provided by default will use the category 'default'.

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

-Endpoint

The list of endpoint dependencies. To construct, see NOTES section for ENDPOINT properties and create a hash table.

Type:IEndpointDependency[]
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

Outputs

EgressEndpoint