Redigera

Dela via


New-AzExpressRoutePortLOA

Download letter of authorization document for an express route port.

Syntax

New-AzExpressRoutePortLOA
   -PortName <String>
   -ResourceGroupName <String>
   -CustomerName <String>
   [-Destination <String>]
   [-PassThru]
   [-AsJob]
   [-DefaultProfile <IAzureContextContainer>]
   [<CommonParameters>]
New-AzExpressRoutePortLOA
   -ExpressRoutePort <PSExpressRoutePort>
   -CustomerName <String>
   [-Destination <String>]
   [-PassThru]
   [-AsJob]
   [-DefaultProfile <IAzureContextContainer>]
   [<CommonParameters>]
New-AzExpressRoutePortLOA
   -Id <String>
   -CustomerName <String>
   [-Destination <String>]
   [-PassThru]
   [-AsJob]
   [-DefaultProfile <IAzureContextContainer>]
   [<CommonParameters>]

Description

New-AzExpressRoutePortLOA cmdlet downloads a letter of authorization document in PDF format for an express route port.

Examples

Example 1

New-AzExpressRoutePortLOA -ResourceGroupName myRg -PortName myPort -CustomerName Contoso -Destination loa.pdf

Download the letter of authorization document for express route port 'myPort' and store it in file 'loa.pdf'.

Example 2

Download letter of authorization document for an express route port. (autogenerated)

New-AzExpressRoutePortLOA -CustomerName Contoso -Destination loa.pdf -ExpressRoutePort <PSExpressRoutePort>

Parameters

-AsJob

Run cmdlet in the background

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

-CustomerName

The customer name to whom this Express Route Port is assigned to.

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

-DefaultProfile

The credentials, account, tenant, and subscription used for communication with Azure.

Type:IAzureContextContainer
Aliases:AzContext, AzureRmContext, AzureCredential
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-Destination

The output filepath to store the Letter of Authorization to.

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

-ExpressRoutePort

The express route port resource.

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

-Id

ResourceId of the express route port.

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

-PassThru

Returns an object representing the item with which you are working. By default, this cmdlet does not generate any output.

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

-PortName

The express route port name.

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

-ResourceGroupName

The resource group name of the express route port.

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

Inputs

String

Outputs

Boolean