Edit

Share via


New-AzNetworkCloudEgressEndpointObject

Create an in-memory object for EgressEndpoint.

Syntax

Default (Default)

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'.

Parameter properties

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

Parameter sets

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

-Endpoint

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

Parameter properties

Type:

IEndpointDependency[]

Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:True
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.

Outputs

EgressEndpoint