Szerkesztés

Megosztás a következőn keresztül:


New-AzMarketplacePrivateStoreCollectionOffer

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

Syntax

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

Description

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

Examples

Example 1: Creates or updates offer to private store collection

$acc = @{Accessibility = "azure_managedservices_professional"}
New-AzMarketplacePrivateStoreCollectionOffer -CollectionId fdb889a1-cf3e-49f0-95b8-2bb012fa01f1 -PrivateStoreId 7f5402e4-e8f4-46bd-9bd1-8d27866a606b  -OfferId aumatics.azure_managedservices -Plan $acc

Name                           SystemDataCreatedAt SystemDataCreatedBy SystemDataCreatedByType SystemDataLastModifiedAt SystemDataLastModifiedBy SystemDataLastModifiedByType
----                           ------------------- ------------------- ----------------------- ------------------------ ------------------------ ----------------------------
aumatics.azure_managedservices

This command creates or updates offer to private store collection.

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

-JsonFilePath

Path of Json file supplied to the Create operation

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

-JsonString

Json string supplied to the Create operation

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