你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

New-AzExpressRoutePortLOA

下载快速路由端口的授权信。

语法

ResourceNameParameterSet (默认值)

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

ResourceObjectParameterSet

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

ResourceIdParameterSet

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

说明

New-AzExpressRoutePortLOA cmdlet 以 PDF 格式下载快速路由端口的授权文档。

示例

示例 1

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

下载快速路由端口“myPort”的授权文档,并将其存储在文件“loa.pdf”。

示例 2

下载快速路由端口的授权信。 (autogenerated)

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

参数

-AsJob

在后台运行 cmdlet

参数属性

类型:SwitchParameter
默认值:None
支持通配符:False
不显示:False

参数集

(All)
Position:Named
必需:False
来自管道的值:False
来自管道的值(按属性名称):False
来自剩余参数的值:False

-CustomerName

分配给此 Express Route 端口的客户名称。

参数属性

类型:String
默认值:None
支持通配符:False
不显示:False
别名:名称

参数集

(All)
Position:Named
必需:True
来自管道的值:False
来自管道的值(按属性名称):False
来自剩余参数的值:False

-DefaultProfile

用于与Azure通信的凭据、帐户、租户和订阅。

参数属性

类型:IAzureContextContainer
默认值:None
支持通配符:False
不显示:False
别名:AzContext, AzureRmContext, AzureCredential

参数集

(All)
Position:Named
必需:False
来自管道的值:False
来自管道的值(按属性名称):False
来自剩余参数的值:False

-Destination

要存储授权信的输出文件路径。

参数属性

类型:String
默认值:None
支持通配符:False
不显示:False

参数集

(All)
Position:Named
必需:False
来自管道的值:False
来自管道的值(按属性名称):False
来自剩余参数的值:False

-ExpressRoutePort

快速路由端口资源。

参数属性

类型:PSExpressRoutePort
默认值:None
支持通配符:False
不显示:False

参数集

ResourceObjectParameterSet
Position:Named
必需:True
来自管道的值:False
来自管道的值(按属性名称):False
来自剩余参数的值:False

-Id

快速路由端口的 ResourceId。

参数属性

类型:String
默认值:None
支持通配符:False
不显示:False
别名:ResourceId

参数集

ResourceIdParameterSet
Position:Named
必需:True
来自管道的值:False
来自管道的值(按属性名称):True
来自剩余参数的值:False

-PassThru

返回一个对象,该对象表示你正在处理的项目。 默认情况下,此 cmdlet 不生成任何输出。

参数属性

类型:SwitchParameter
默认值:None
支持通配符:False
不显示:False

参数集

(All)
Position:Named
必需:False
来自管道的值:False
来自管道的值(按属性名称):False
来自剩余参数的值:False

-PortName

快速路由端口名称。

参数属性

类型:String
默认值:None
支持通配符:False
不显示:False

参数集

ResourceNameParameterSet
Position:Named
必需:True
来自管道的值:False
来自管道的值(按属性名称):False
来自剩余参数的值:False

-ResourceGroupName

快速路由端口的资源组名称。

参数属性

类型:String
默认值:None
支持通配符:False
不显示:False

参数集

ResourceNameParameterSet
Position:Named
必需:True
来自管道的值:False
来自管道的值(按属性名称):False
来自剩余参数的值:False

CommonParameters

此 cmdlet 支持通用参数:-Debug、-ErrorAction、-ErrorVariable、-InformationAction、-InformationVariable、-OutBuffer、-OutVariable、-PipelineVariable、-ProgressAction、-Verbose、-WarningAction 和 -WarningVariable。 有关详细信息,请参阅 about_CommonParameters

输入

String

输出

Boolean