Private Store Collection Offer Args
data class PrivateStoreCollectionOfferArgs(val collectionId: Output<String>? = null, val eTag: Output<String>? = null, val iconFileUris: Output<Map<String, String>>? = null, val offerId: Output<String>? = null, val plans: Output<List<PlanArgs>>? = null, val privateStoreId: Output<String>? = null, val specificPlanIdsLimitation: Output<List<String>>? = null, val updateSuppressedDueIdempotence: Output<Boolean>? = null) : ConvertibleToJava<PrivateStoreCollectionOfferArgs>
The privateStore offer data structure. Uses Azure REST API version 2023-01-01. In version 1.x of the Azure Native provider, it used API version 2021-12-01.
Example Usage
PrivateStoreOffer_update
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var privateStoreCollectionOffer = new AzureNative.Marketplace.PrivateStoreCollectionOffer("privateStoreCollectionOffer", new()
{
CollectionId = "56a1a02d-8cf8-45df-bf37-d5f7120fcb3d",
ETag = "\"9301f4fd-0000-0100-0000-5e248b350666\"",
OfferId = "marketplacetestthirdparty.md-test-third-party-2",
PrivateStoreId = "a0e28e55-90c4-41d8-8e34-bb7ef7775406",
SpecificPlanIdsLimitation = new[]
{
"0001",
"0002",
},
});
});
Content copied to clipboard
package main
import (
marketplace "github.com/pulumi/pulumi-azure-native-sdk/marketplace/v2"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := marketplace.NewPrivateStoreCollectionOffer(ctx, "privateStoreCollectionOffer", &marketplace.PrivateStoreCollectionOfferArgs{
CollectionId: pulumi.String("56a1a02d-8cf8-45df-bf37-d5f7120fcb3d"),
ETag: pulumi.String("\"9301f4fd-0000-0100-0000-5e248b350666\""),
OfferId: pulumi.String("marketplacetestthirdparty.md-test-third-party-2"),
PrivateStoreId: pulumi.String("a0e28e55-90c4-41d8-8e34-bb7ef7775406"),
SpecificPlanIdsLimitation: pulumi.StringArray{
pulumi.String("0001"),
pulumi.String("0002"),
},
})
if err != nil {
return err
}
return nil
})
}
Content copied to clipboard
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.marketplace.PrivateStoreCollectionOffer;
import com.pulumi.azurenative.marketplace.PrivateStoreCollectionOfferArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var privateStoreCollectionOffer = new PrivateStoreCollectionOffer("privateStoreCollectionOffer", PrivateStoreCollectionOfferArgs.builder()
.collectionId("56a1a02d-8cf8-45df-bf37-d5f7120fcb3d")
.eTag("\"9301f4fd-0000-0100-0000-5e248b350666\"")
.offerId("marketplacetestthirdparty.md-test-third-party-2")
.privateStoreId("a0e28e55-90c4-41d8-8e34-bb7ef7775406")
.specificPlanIdsLimitation(
"0001",
"0002")
.build());
}
}
Content copied to clipboard
Import
An existing resource can be imported using its type token, name, and identifier, e.g.
$ pulumi import azure-native:marketplace:PrivateStoreCollectionOffer marketplacetestthirdparty.md-test-third-party-2 /providers/Microsoft.Marketplace/privateStores/{privateStoreId}/collections/{collectionId}/offers/{offerId}
Content copied to clipboard
Constructors
Link copied to clipboard
constructor(collectionId: Output<String>? = null, eTag: Output<String>? = null, iconFileUris: Output<Map<String, String>>? = null, offerId: Output<String>? = null, plans: Output<List<PlanArgs>>? = null, privateStoreId: Output<String>? = null, specificPlanIdsLimitation: Output<List<String>>? = null, updateSuppressedDueIdempotence: Output<Boolean>? = null)
Properties
Link copied to clipboard
The collection ID
Link copied to clipboard
Icon File Uris
Link copied to clipboard
The store ID - must use the tenant ID
Link copied to clipboard
Plan ids limitation for this offer
Link copied to clipboard
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.