共用方式為


Get-AzMarketplacePrivateStoreCollection

取得私人市集集合

語法

Get-AzMarketplacePrivateStoreCollection
   -PrivateStoreId <String>
   [-DefaultProfile <PSObject>]
   [<CommonParameters>]
Get-AzMarketplacePrivateStoreCollection
   -CollectionId <String>
   -PrivateStoreInputObject <IMarketplaceIdentity>
   [-DefaultProfile <PSObject>]
   [<CommonParameters>]
Get-AzMarketplacePrivateStoreCollection
   -CollectionId <String>
   -PrivateStoreId <String>
   [-DefaultProfile <PSObject>]
   [<CommonParameters>]
Get-AzMarketplacePrivateStoreCollection
   -InputObject <IMarketplaceIdentity>
   [-DefaultProfile <PSObject>]
   [<CommonParameters>]

Description

取得私人市集集合

範例

範例 1:取得私人市集集合的清單

Get-AzMarketplacePrivateStoreCollection -PrivateStoreId 53425a7b-4ac1-4729-8340-e1da5046212c

Name                                 SystemDataCreatedAt  SystemDataCreatedBy SystemDataCreatedByType SystemDataLastModifiedAt SystemDataLastModifiedBy SystemDataLastModifiedByType
----                                 -------------------  ------------------- ----------------------- ------------------------ ------------------------ ----------------------------
53425a7b-4ac1-4729-8340-e1da5046212c                                          User                    8/23/2021 6:06:52 AM                              User
23455a7b-4ac1-4729-8340-e1da5046212c 12/1/2021 9:01:33 PM                     User                    12/1/2021 9:01:33 PM                              User

此命令會取得私人市集集合的清單。

參數

-CollectionId

集合標識碼

類型:String
Position:Named
預設值:None
必要:True
接受管線輸入:False
接受萬用字元:False

-DefaultProfile

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

類型:PSObject
別名:AzureRMContext, AzureCredential
Position:Named
預設值:None
必要:False
接受管線輸入:False
接受萬用字元:False

-InputObject

Identity 參數

類型:IMarketplaceIdentity
Position:Named
預設值:None
必要:True
接受管線輸入:True
接受萬用字元:False

-PrivateStoreId

存放區標識碼 - 必須使用租用戶標識碼

類型:String
Position:Named
預設值:None
必要:True
接受管線輸入:False
接受萬用字元:False

-PrivateStoreInputObject

Identity 參數

類型:IMarketplaceIdentity
Position:Named
預設值:None
必要:True
接受管線輸入:True
接受萬用字元:False

輸入

IMarketplaceIdentity

輸出

ICollection

ICollectionsList