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

Get-AzGalleryApplicationVersion

检索有关库应用程序版本的信息。

语法

Get-AzGalleryApplicationVersion
   -GalleryApplicationName <String>
   -GalleryName <String>
   -ResourceGroupName <String>
   [-SubscriptionId <String[]>]
   [-DefaultProfile <PSObject>]
   [<CommonParameters>]
Get-AzGalleryApplicationVersion
   -GalleryApplicationName <String>
   -GalleryName <String>
   -Name <String>
   -ResourceGroupName <String>
   [-SubscriptionId <String[]>]
   [-Expand <ReplicationStatusTypes>]
   [-DefaultProfile <PSObject>]
   [<CommonParameters>]
Get-AzGalleryApplicationVersion
   -InputObject <IComputeIdentity>
   [-Expand <ReplicationStatusTypes>]
   [-DefaultProfile <PSObject>]
   [<CommonParameters>]

说明

检索有关库应用程序版本的信息。

示例

示例 1:获取库应用程序版本

Get-AzGalleryApplicationVersion -ResourceGroupName $rgName -GalleryName $galleryName -GalleryApplicationName $galleryAppName -Name $versionName

使用提供的资源组、库、库应用程序名称和版本名称检索库应用程序版本资源。

示例 2:获取 GalleryApplication 中的所有库应用程序版本

Get-AzGalleryApplicationVersion -GalleryName $GalleryName -ResourceGroupName $rgName -GalleryApplicationName $galleryAppName

检索提供的资源组、库和库应用程序名称中的所有库应用程序版本资源。

参数

-DefaultProfile

DefaultProfile 参数不起作用。 如果对其他订阅执行 cmdlet,请使用 SubscriptionId 参数。

Type:PSObject
Aliases:AzureRMContext, AzureCredential
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-Expand

要应用于操作的展开表达式。

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

-GalleryApplicationName

应用程序版本所在的库应用程序定义的名称。

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

-GalleryName

应用程序定义所在的共享应用程序库的名称。

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

-InputObject

要构造的标识参数,请参阅 INPUTOBJECT 属性的 NOTES 部分并创建哈希表。

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

-Name

要检索的库应用程序版本的名称。

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

-ResourceGroupName

资源组的名称。

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

-SubscriptionId

唯一标识 Microsoft Azure 订阅的订阅凭据。 此订阅 ID 是每个服务调用的 URI 的一部分。

Type:String[]
Position:Named
Default value:(Get-AzContext).Subscription.Id
Required:False
Accept pipeline input:False
Accept wildcard characters:False

输入

IComputeIdentity

输出

IGalleryApplicationVersion