Get-AzMarketplaceTerms
Get marketplace terms.
Syntax
Get-AzMarketplaceTerms
-Name <String>
-Product <String>
-Publisher <String>
[-SubscriptionId <String[]>]
[-DefaultProfile <PSObject>]
[<CommonParameters>]
Get-AzMarketplaceTerms
-Name <String>
-Product <String>
-Publisher <String>
[-SubscriptionId <String[]>]
-OfferType <OfferType>
[-DefaultProfile <PSObject>]
[<CommonParameters>]
Description
Get marketplace terms.
Examples
Example 1: Get marketplace terms
Get-AzMarketplaceTerms -Publisher "microsoft-ads" -Product "windows-data-science-vm" -Name "windows2016"
Name Product Publisher Accepted Signature PrivacyPolicyLink
---- ------- --------- -------- --------- -----------------
windows2016 microsoft-ads
This command gets marketplace terms.
Example 2: Get marketplace terms with offer type
Get-AzMarketplaceTerms -Publisher "microsoft-ads" -Product "windows-data-science-vm" -Name "windows2016" -OfferType 'virtualmachine'
Name Product Publisher Accepted Signature PrivacyPolicyLink
---- ------- --------- -------- --------- -----------------
windows2016 windows-data-science-vm microsoft-ads True 523GN576A2S5OTTOGVFEZWYIWCUIQN2VE3I4WW3H2MER3ERJGDXZESHHQF5ZB2II2VUYXLRK6NE2A7EPF7GH6LWMQ6ECSYSPOD2SHFQ https://www.microsoft.com/EN-US/privacystatement/OnlineS
This command gets marketplace terms with offer type.
Parameters
-DefaultProfile
The credentials, account, tenant, and subscription used for communication with Azure.
Type: | PSObject |
Aliases: | AzureRMContext, AzureCredential |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Name
Plan identifier string of image being deployed.
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-OfferType
Publisher identifier string of image being deployed.
Type: | OfferType |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Product
Offer identifier string of image being deployed.
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Publisher
Publisher identifier string of image being deployed.
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-SubscriptionId
The subscription ID that identifies an Azure subscription.
Type: | String[] |
Position: | Named |
Default value: | (Get-AzContext).Subscription.Id |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Inputs
Outputs
Colabore connosco no GitHub
A origem deste conteúdo pode ser encontrada no GitHub, onde também pode criar e rever problemas e pedidos Pull. Para mais informações, consulte o nosso guia do contribuidor.
Azure PowerShell