你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
Get-AzManagedServicesMarketplaceDefinition
获取市场标识符的市场注册定义。
语法
Get-AzManagedServicesMarketplaceDefinition
[-Scope <String>]
[-Filter <String>]
[-DefaultProfile <PSObject>]
[<CommonParameters>]
Get-AzManagedServicesMarketplaceDefinition
[-Scope <String>]
-MarketplaceIdentifier <String>
[-DefaultProfile <PSObject>]
[<CommonParameters>]
Get-AzManagedServicesMarketplaceDefinition
-MarketplaceIdentifier <String>
[-Tenant]
[-DefaultProfile <PSObject>]
[<CommonParameters>]
Get-AzManagedServicesMarketplaceDefinition
-InputObject <IManagedServicesIdentity>
[-DefaultProfile <PSObject>]
[<CommonParameters>]
Get-AzManagedServicesMarketplaceDefinition
[-Filter <String>]
[-Tenant]
[-DefaultProfile <PSObject>]
[<CommonParameters>]
说明
获取市场标识符的市场注册定义。
示例
示例 1:获取 Azure Lighthouse 市场注册定义产品/服务详细信息
Get-AzManagedServicesMarketplaceDefinition -MarketplaceIdentifier marketplace_test.managed_offer.managed_plan1.1.0.1 | Format-List Id, PlanProduct, PlanPublisher, PlanName, PlanVersion
Id : /providers/Microsoft.ManagedServices/marketplaceRegistrationDefinitions/marketplace_test.managed_offer.managed_plan1.1.0.1
PlanProduct : managed_offer
PlanPublisher : marketplace_test
PlanName : managed_plan1
PlanVersion : 1.0.1
获取 Azure Lighthouse 市场注册定义产品/服务详细信息。
参数
-DefaultProfile
用于与 Azure 通信的凭据、帐户、租户和订阅。
类型: | PSObject |
别名: | AzureRMContext, AzureCredential |
Position: | Named |
默认值: | None |
必需: | False |
接受管道输入: | False |
接受通配符: | False |
-Filter
按计划标识符、发布者、版本等筛选市场注册定义的筛选器查询参数。
类型: | String |
Position: | Named |
默认值: | None |
必需: | False |
接受管道输入: | False |
接受通配符: | False |
-InputObject
要构造的标识参数,请参阅 INPUTOBJECT 属性的 NOTES 部分并创建哈希表。
类型: | IManagedServicesIdentity |
Position: | Named |
默认值: | None |
必需: | True |
接受管道输入: | True |
接受通配符: | False |
-MarketplaceIdentifier
Azure 市场标识符。 预期格式:{publisher}。{product[-preview]}。{planName}。{version} 或 {publisher}。{product[-preview]}。{planName} 或 {publisher}。{product[-preview]} 或 {publisher}。
类型: | String |
Position: | Named |
默认值: | None |
必需: | True |
接受管道输入: | False |
接受通配符: | False |
-Scope
资源的范围。
类型: | String |
Position: | Named |
默认值: | "subscriptions/" + (Get-AzContext).Subscription.Id |
必需: | False |
接受管道输入: | False |
接受通配符: | False |
-Tenant
按计划标识符、发布者、版本等筛选市场注册定义的筛选器查询参数。
类型: | SwitchParameter |
Position: | Named |
默认值: | None |
必需: | True |
接受管道输入: | False |
接受通配符: | False |