Editar

Compartilhar via


Enable-AzMarketplacePrivateStoreCollectionAllItem

Delete all existing offers from the collection and enable approve all items.

Syntax

Enable-AzMarketplacePrivateStoreCollectionAllItem
      -CollectionId <String>
      -PrivateStoreId <String>
      [-DefaultProfile <PSObject>]
      [-WhatIf]
      [-Confirm]
      [<CommonParameters>]
Enable-AzMarketplacePrivateStoreCollectionAllItem
      -CollectionId <String>
      -PrivateStoreInputObject <IMarketplaceIdentity>
      [-DefaultProfile <PSObject>]
      [-WhatIf]
      [-Confirm]
      [<CommonParameters>]
Enable-AzMarketplacePrivateStoreCollectionAllItem
      -InputObject <IMarketplaceIdentity>
      [-DefaultProfile <PSObject>]
      [-WhatIf]
      [-Confirm]
      [<CommonParameters>]

Description

Delete all existing offers from the collection and enable approve all items.

Examples

Example 1: Enable approve-all-items for a collection

Enable-AzMarketplacePrivateStoreCollectionAllItem -PrivateStoreId a260d38c-96cf-492d-a340-404d0c4b3ad6 -CollectionId fdb889a1-cf3e-49f0-95b8-2bb012fa0188

Delete all existing offers from the collection and enable approve all items.

Parameters

-CollectionId

The collection ID

Type:String
Position:Named
Default value:None
Required:True
Accept pipeline input:False
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

-InputObject

Identity Parameter

Type:IMarketplaceIdentity
Position:Named
Default value:None
Required:True
Accept pipeline input:True
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

-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

Outputs

ICollection