Editar

Compartilhar via


Update-AzMarketplacePrivateStoreCollectionOffer

Update or add an offer to a specific collection of the private store.

Syntax

Update-AzMarketplacePrivateStoreCollectionOffer
      -CollectionId <String>
      -OfferId <String>
      -PrivateStoreId <String>
      [-ETag <String>]
      [-IconFileUri <Hashtable>]
      [-Plan <IPlan[]>]
      [-SpecificPlanIdLimitation <String[]>]
      [-UpdateSuppressedDueIdempotence]
      [-DefaultProfile <PSObject>]
      [-WhatIf]
      [-Confirm]
      [<CommonParameters>]
Update-AzMarketplacePrivateStoreCollectionOffer
      -CollectionId <String>
      -OfferId <String>
      -PrivateStoreInputObject <IMarketplaceIdentity>
      [-ETag <String>]
      [-IconFileUri <Hashtable>]
      [-Plan <IPlan[]>]
      [-SpecificPlanIdLimitation <String[]>]
      [-UpdateSuppressedDueIdempotence]
      [-DefaultProfile <PSObject>]
      [-WhatIf]
      [-Confirm]
      [<CommonParameters>]
Update-AzMarketplacePrivateStoreCollectionOffer
      -CollectionId <String>
      -OfferId <String>
      -PrivateStoreInputObject <IMarketplaceIdentity>
      -Payload <IOffer>
      [-DefaultProfile <PSObject>]
      [-WhatIf]
      [-Confirm]
      [<CommonParameters>]
Update-AzMarketplacePrivateStoreCollectionOffer
      -OfferId <String>
      -CollectionInputObject <IMarketplaceIdentity>
      [-ETag <String>]
      [-IconFileUri <Hashtable>]
      [-Plan <IPlan[]>]
      [-SpecificPlanIdLimitation <String[]>]
      [-UpdateSuppressedDueIdempotence]
      [-DefaultProfile <PSObject>]
      [-WhatIf]
      [-Confirm]
      [<CommonParameters>]
Update-AzMarketplacePrivateStoreCollectionOffer
      -OfferId <String>
      -CollectionInputObject <IMarketplaceIdentity>
      -Payload <IOffer>
      [-DefaultProfile <PSObject>]
      [-WhatIf]
      [-Confirm]
      [<CommonParameters>]
Update-AzMarketplacePrivateStoreCollectionOffer
      -InputObject <IMarketplaceIdentity>
      [-ETag <String>]
      [-IconFileUri <Hashtable>]
      [-Plan <IPlan[]>]
      [-SpecificPlanIdLimitation <String[]>]
      [-UpdateSuppressedDueIdempotence]
      [-DefaultProfile <PSObject>]
      [-WhatIf]
      [-Confirm]
      [<CommonParameters>]

Description

Update or add an offer to a specific collection of the private store.

Examples

Example 1: Update private store collection offer

Update-AzMarketplacePrivateStoreCollectionOffer -PrivateStoreId a260d38c-96cf-492d-a340-404d0c4b3ad6 -CollectionId 8c7a91db-cd41-43b6-af47-2e869654126d -OfferId "aumatics.azure_managedservices" -SpecificPlanIdLimitation $null

Update private store collection offer.

Parameters

-CollectionId

The collection ID

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

-CollectionInputObject

Identity Parameter

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

-Confirm

Prompts you for confirmation before running the cmdlet.

Type:SwitchParameter
Aliases:cf
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-DefaultProfile

The DefaultProfile parameter is not functional. Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription.

Type:PSObject
Aliases:AzureRMContext, AzureCredential
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-ETag

Identifier for purposes of race condition

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

-IconFileUri

Icon File Uris

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

-InputObject

Identity Parameter

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

-OfferId

The offer ID to update or delete

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

-Payload

The privateStore offer data structure.

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

-Plan

Offer plans

Type:IPlan[]
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-PrivateStoreId

The store ID - must use the tenant ID

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

-PrivateStoreInputObject

Identity Parameter

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

-SpecificPlanIdLimitation

Plan ids limitation for this offer

Type:String[]
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-UpdateSuppressedDueIdempotence

Indicating whether the offer was not updated to db (true = not updated). If the allow list is identical to the existed one in db, the offer would not be updated.

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

-WhatIf

Shows what would happen if the cmdlet runs. The cmdlet is not run.

Type:SwitchParameter
Aliases:wi
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

Inputs

IMarketplaceIdentity

IOffer

Outputs

IOffer