Cmdlets

Choose a cmdlet from the list on the left or search for a specific cmdlet. Choose a cmdlet from the list or search for a specific cmdlet.
About Help  Providers
 

Set-AzureEndpoint

Set-AzureEndpoint

microsoft.windowsazure.commands.servicemanagement.dll

Synopsis

The Set-AzureInputEndpoint cmdlet updates an existing endpoint assigned to a virtual machine. You can specify updates to an endpoint that is not load balanced, which only a single virtual machine uses.

Syntax

Set-AzureEndpoint [-Name] [-Protocol] [-LocalPort] [-PublicPort] [-DirectServerReturn] [-ACL] [-InternalLoadBalancerName] [-IdleTimeoutInMinutes] [-VM] [<CommonParameters>]

Detailed Description

Parameters

-Name <String>

Specifies the name of the endpoint.

Aliases

None

Required?

true

Position

0

Default value

None

Accept pipeline input?

false

Accept wildcard characters?

false

-Protocol <String>

Specifies the protocol of the endpoint. Acceptable values are "tcp" or "udp".

Aliases

None

Required?

false

Position

1

Default value

None

Accept pipeline input?

false

Accept wildcard characters?

false

-LocalPort <Int32>

Specifies the local (private) port that will be used for the endpoint. Applications within the virtual machine listen to this port to service input requests over the endpoint.

Aliases

None

Required?

false

Position

2

Default value

None

Accept pipeline input?

false

Accept wildcard characters?

false

-PublicPort <Nullable`1[Int32]>

Specifies the public port that the endpoint will use. If not specified, Microsoft Azure will assign an available free port.

Aliases

None

Required?

false

Position

named

Default value

None

Accept pipeline input?

false

Accept wildcard characters?

false

-DirectServerReturn <Nullable`1[Boolean]>

Enable/Disable Direct Server Return

Aliases

None

Required?

false

Position

named

Default value

None

Accept pipeline input?

false

Accept wildcard characters?

false

-ACL <NetworkAclObject>

An ACL to apply to the endpoint on update.

Aliases

None

Required?

false

Position

named

Default value

None

Accept pipeline input?

false

Accept wildcard characters?

false

-InternalLoadBalancerName <String>

Aliases

None

Required?

false

Position

named

Default value

None

Accept pipeline input?

false

Accept wildcard characters?

false

-IdleTimeoutInMinutes <Int32>

TCP Idle timeout in minutes

Aliases

None

Required?

false

Position

named

Default value

None

Accept pipeline input?

false

Accept wildcard characters?

false

-VM <IPersistentVM>

Specifies the virtual machine object for which the endpoint will be created.

Aliases

None

Required?

true

Position

named

Default value

None

Accept pipeline input?

true (ByValue, ByPropertyName)

Accept wildcard characters?

false

Input Type


Return Type

System.Object

Notes

Examples

-------------------------- EXAMPLE 1 --------------------------

Description

PS C:\> Get-AzureVM -ServiceName "MyService" -Name "MyVM" | Set-AzureEndpoint -Name "Web" -PublicPort 443 -LocalPort 443 -Protocol "tcp" | Update-AzureVM

Unknown