Get-AzGalleryApplicationVersion
擷取資源庫應用程式版本的相關信息。
Syntax
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>]
Description
擷取資源庫應用程式版本的相關信息。
範例
範例 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
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: | 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 訂用帳戶的訂用帳戶認證。 訂用帳戶識別碼會構成每個服務呼叫 URI 的一部分。
Type: | String[] |
Position: | Named |
Default value: | (Get-AzContext).Subscription.Id |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
輸入
輸出
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應