Get-AzGalleryApplication

擷取資源庫應用程式定義的相關信息。

Syntax

Get-AzGalleryApplication
   -GalleryName <String>
   -ResourceGroupName <String>
   [-SubscriptionId <String[]>]
   [-DefaultProfile <PSObject>]
   [<CommonParameters>]
Get-AzGalleryApplication
   -GalleryName <String>
   -Name <String>
   -ResourceGroupName <String>
   [-SubscriptionId <String[]>]
   [-DefaultProfile <PSObject>]
   [<CommonParameters>]
Get-AzGalleryApplication
   -InputObject <IComputeIdentity>
   [-DefaultProfile <PSObject>]
   [<CommonParameters>]

Description

擷取資源庫應用程式定義的相關信息。

範例

範例 1:取得資源庫中的資源庫應用程式

Get-AzGalleryApplication -ResourceGroupName $rgName -GalleryName $galleryName -name $galleryAppName

使用所提供的資源群組、資源庫和資源庫應用程式名稱擷取資源庫應用程序資源。

範例 2:取得資源庫中的所有資源庫應用程式

Get-AzGalleryApplication -GalleryName $GalleryName -ResourceGroupName $rgName

擷取所提供資源群組和資源庫中的所有資源庫應用程序資源。

參數

-DefaultProfile

DefaultProfile 參數無法運作。 如果針對不同的訂用帳戶執行 Cmdlet,請使用 SubscriptionId 參數。

Type:PSObject
Aliases:AzureRMContext, AzureCredential
Position:Named
Default value:None
Required:False
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

Identity Parameter To construct, see NOTES section for INPUTOBJECT properties and create a hash table.

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

-Name

要擷取的資源庫應用程式定義名稱。

Type:String
Aliases:GalleryApplicationName
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 訂用帳戶的訂用帳戶認證。 訂用帳戶識別碼會構成每個服務呼叫 URI 的一部分。

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

輸入

IComputeIdentity

輸出

IGalleryApplication