Private Store Collection Offer Args
The privateStore offer data structure. Uses Azure REST API version 2023-01-01. In version 2.x of the Azure Native provider, it used API version 2023-01-01. Other available API versions: 2025-01-01. These can be accessed by generating a local SDK package using the CLI command pulumi package add azure-native marketplace [ApiVersion]
. See the ../../../version-guide/#accessing-any-api-version-via-local-packages for details.
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",
},
});
});
package main
import (
marketplace "github.com/pulumi/pulumi-azure-native-sdk/marketplace/v3"
"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
})
}
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());
}
}
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}
Constructors
Properties
The collection ID
Icon File Uris
The store ID - must use the tenant ID
Plan ids limitation for this offer
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.