Copy-AzMarketplacePrivateStoreCollectionOffer
transferring offers (copy or move) from source collection to target collection(s)
Syntax
Copy-AzMarketplacePrivateStoreCollectionOffer
-CollectionId <String>
-PrivateStoreId <String>
[-OfferIdList <String[]>]
[-Operation <String>]
[-TargetCollection <String[]>]
[-DefaultProfile <PSObject>]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
Copy-AzMarketplacePrivateStoreCollectionOffer
-CollectionId <String>
-PrivateStoreId <String>
-JsonString <String>
[-DefaultProfile <PSObject>]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
Copy-AzMarketplacePrivateStoreCollectionOffer
-CollectionId <String>
-PrivateStoreId <String>
-JsonFilePath <String>
[-DefaultProfile <PSObject>]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
Copy-AzMarketplacePrivateStoreCollectionOffer
-CollectionId <String>
-PrivateStoreInputObject <IMarketplaceIdentity>
[-OfferIdList <String[]>]
[-Operation <String>]
[-TargetCollection <String[]>]
[-DefaultProfile <PSObject>]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
Copy-AzMarketplacePrivateStoreCollectionOffer
-CollectionId <String>
-PrivateStoreInputObject <IMarketplaceIdentity>
-Payload <ITransferOffersProperties>
[-DefaultProfile <PSObject>]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
Copy-AzMarketplacePrivateStoreCollectionOffer
-CollectionId <String>
-PrivateStoreId <String>
-Payload <ITransferOffersProperties>
[-DefaultProfile <PSObject>]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
Copy-AzMarketplacePrivateStoreCollectionOffer
-InputObject <IMarketplaceIdentity>
[-OfferIdList <String[]>]
[-Operation <String>]
[-TargetCollection <String[]>]
[-DefaultProfile <PSObject>]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
Copy-AzMarketplacePrivateStoreCollectionOffer
-InputObject <IMarketplaceIdentity>
-Payload <ITransferOffersProperties>
[-DefaultProfile <PSObject>]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
Description
transferring offers (copy or move) from source collection to target collection(s)
Examples
Example 1: Copy offers from source collection to target collections.
$payload = @{OfferIdsList = "aumatics.azure_managedservices"; Operation = "Copy"; TargetCollection = "3ac32d8c-e888-4dc6-b4ff-be4d755af13a"}
Copy-AzMarketplacePrivateStoreCollectionOffer -PrivateStoreId 3ac32d8c-e888-4dc6-b4ff-be4d755af13a -CollectionId fdb889a1-cf3e-49f0-95b8-2bb012fa01f1 -Payload $payload
Failed Succeeded
------ ---------
{} {DefaultCollection}
This command copy offers from source collection to target collections.
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 |
-JsonFilePath
Path of Json file supplied to the Transfer operation
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-JsonString
Json string supplied to the Transfer operation
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-OfferIdList
Offers ids list to transfer from source collection to target collection(s)
Type: | String[] |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Operation
Operation to perform (For example: Copy or Move)
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Payload
Transfer offers properties
Type: | ITransferOffersProperties |
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 |
-TargetCollection
Target collections ids
Type: | String[] |
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
Outputs
Azure PowerShell