1. Packages
  2. Azure Native
  3. API Docs
  4. marketplace
  5. PrivateStoreCollectionOffer
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.1.0 published on Tuesday, Apr 8, 2025 by Pulumi

azure-native.marketplace.PrivateStoreCollectionOffer

Explore with Pulumi AI

This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.1.0 published on Tuesday, Apr 8, 2025 by Pulumi

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.

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",
        },
    });

});
Copy
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
	})
}
Copy
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());

    }
}
Copy
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";

const privateStoreCollectionOffer = new azure_native.marketplace.PrivateStoreCollectionOffer("privateStoreCollectionOffer", {
    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",
    ],
});
Copy
import pulumi
import pulumi_azure_native as azure_native

private_store_collection_offer = azure_native.marketplace.PrivateStoreCollectionOffer("privateStoreCollectionOffer",
    collection_id="56a1a02d-8cf8-45df-bf37-d5f7120fcb3d",
    e_tag="\"9301f4fd-0000-0100-0000-5e248b350666\"",
    offer_id="marketplacetestthirdparty.md-test-third-party-2",
    private_store_id="a0e28e55-90c4-41d8-8e34-bb7ef7775406",
    specific_plan_ids_limitation=[
        "0001",
        "0002",
    ])
Copy
resources:
  privateStoreCollectionOffer:
    type: azure-native:marketplace:PrivateStoreCollectionOffer
    properties:
      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'
Copy

Create PrivateStoreCollectionOffer Resource

Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

Constructor syntax

new PrivateStoreCollectionOffer(name: string, args: PrivateStoreCollectionOfferArgs, opts?: CustomResourceOptions);
@overload
def PrivateStoreCollectionOffer(resource_name: str,
                                args: PrivateStoreCollectionOfferArgs,
                                opts: Optional[ResourceOptions] = None)

@overload
def PrivateStoreCollectionOffer(resource_name: str,
                                opts: Optional[ResourceOptions] = None,
                                collection_id: Optional[str] = None,
                                private_store_id: Optional[str] = None,
                                e_tag: Optional[str] = None,
                                icon_file_uris: Optional[Mapping[str, str]] = None,
                                offer_id: Optional[str] = None,
                                plans: Optional[Sequence[PlanArgs]] = None,
                                specific_plan_ids_limitation: Optional[Sequence[str]] = None,
                                update_suppressed_due_idempotence: Optional[bool] = None)
func NewPrivateStoreCollectionOffer(ctx *Context, name string, args PrivateStoreCollectionOfferArgs, opts ...ResourceOption) (*PrivateStoreCollectionOffer, error)
public PrivateStoreCollectionOffer(string name, PrivateStoreCollectionOfferArgs args, CustomResourceOptions? opts = null)
public PrivateStoreCollectionOffer(String name, PrivateStoreCollectionOfferArgs args)
public PrivateStoreCollectionOffer(String name, PrivateStoreCollectionOfferArgs args, CustomResourceOptions options)
type: azure-native:marketplace:PrivateStoreCollectionOffer
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. PrivateStoreCollectionOfferArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. PrivateStoreCollectionOfferArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. PrivateStoreCollectionOfferArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. PrivateStoreCollectionOfferArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. PrivateStoreCollectionOfferArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

Constructor example

The following reference example uses placeholder values for all input properties.

var privateStoreCollectionOfferResource = new AzureNative.Marketplace.PrivateStoreCollectionOffer("privateStoreCollectionOfferResource", new()
{
    CollectionId = "string",
    PrivateStoreId = "string",
    ETag = "string",
    IconFileUris = 
    {
        { "string", "string" },
    },
    OfferId = "string",
    Plans = new[]
    {
        new AzureNative.Marketplace.Inputs.PlanArgs
        {
            Accessibility = "string",
        },
    },
    SpecificPlanIdsLimitation = new[]
    {
        "string",
    },
    UpdateSuppressedDueIdempotence = false,
});
Copy
example, err := marketplace.NewPrivateStoreCollectionOffer(ctx, "privateStoreCollectionOfferResource", &marketplace.PrivateStoreCollectionOfferArgs{
	CollectionId:   pulumi.String("string"),
	PrivateStoreId: pulumi.String("string"),
	ETag:           pulumi.String("string"),
	IconFileUris: pulumi.StringMap{
		"string": pulumi.String("string"),
	},
	OfferId: pulumi.String("string"),
	Plans: marketplace.PlanArray{
		&marketplace.PlanArgs{
			Accessibility: pulumi.String("string"),
		},
	},
	SpecificPlanIdsLimitation: pulumi.StringArray{
		pulumi.String("string"),
	},
	UpdateSuppressedDueIdempotence: pulumi.Bool(false),
})
Copy
var privateStoreCollectionOfferResource = new PrivateStoreCollectionOffer("privateStoreCollectionOfferResource", PrivateStoreCollectionOfferArgs.builder()
    .collectionId("string")
    .privateStoreId("string")
    .eTag("string")
    .iconFileUris(Map.of("string", "string"))
    .offerId("string")
    .plans(PlanArgs.builder()
        .accessibility("string")
        .build())
    .specificPlanIdsLimitation("string")
    .updateSuppressedDueIdempotence(false)
    .build());
Copy
private_store_collection_offer_resource = azure_native.marketplace.PrivateStoreCollectionOffer("privateStoreCollectionOfferResource",
    collection_id="string",
    private_store_id="string",
    e_tag="string",
    icon_file_uris={
        "string": "string",
    },
    offer_id="string",
    plans=[{
        "accessibility": "string",
    }],
    specific_plan_ids_limitation=["string"],
    update_suppressed_due_idempotence=False)
Copy
const privateStoreCollectionOfferResource = new azure_native.marketplace.PrivateStoreCollectionOffer("privateStoreCollectionOfferResource", {
    collectionId: "string",
    privateStoreId: "string",
    eTag: "string",
    iconFileUris: {
        string: "string",
    },
    offerId: "string",
    plans: [{
        accessibility: "string",
    }],
    specificPlanIdsLimitation: ["string"],
    updateSuppressedDueIdempotence: false,
});
Copy
type: azure-native:marketplace:PrivateStoreCollectionOffer
properties:
    collectionId: string
    eTag: string
    iconFileUris:
        string: string
    offerId: string
    plans:
        - accessibility: string
    privateStoreId: string
    specificPlanIdsLimitation:
        - string
    updateSuppressedDueIdempotence: false
Copy

PrivateStoreCollectionOffer Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

The PrivateStoreCollectionOffer resource accepts the following input properties:

CollectionId
This property is required.
Changes to this property will trigger replacement.
string
The collection ID
PrivateStoreId
This property is required.
Changes to this property will trigger replacement.
string
The store ID - must use the tenant ID
ETag string
Identifier for purposes of race condition
IconFileUris Dictionary<string, string>
Icon File Uris
OfferId Changes to this property will trigger replacement. string
The offer ID to update or delete
Plans List<Pulumi.AzureNative.Marketplace.Inputs.Plan>
Offer plans
SpecificPlanIdsLimitation List<string>
Plan ids limitation for this offer
UpdateSuppressedDueIdempotence bool
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.
CollectionId
This property is required.
Changes to this property will trigger replacement.
string
The collection ID
PrivateStoreId
This property is required.
Changes to this property will trigger replacement.
string
The store ID - must use the tenant ID
ETag string
Identifier for purposes of race condition
IconFileUris map[string]string
Icon File Uris
OfferId Changes to this property will trigger replacement. string
The offer ID to update or delete
Plans []PlanArgs
Offer plans
SpecificPlanIdsLimitation []string
Plan ids limitation for this offer
UpdateSuppressedDueIdempotence bool
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.
collectionId
This property is required.
Changes to this property will trigger replacement.
String
The collection ID
privateStoreId
This property is required.
Changes to this property will trigger replacement.
String
The store ID - must use the tenant ID
eTag String
Identifier for purposes of race condition
iconFileUris Map<String,String>
Icon File Uris
offerId Changes to this property will trigger replacement. String
The offer ID to update or delete
plans List<Plan>
Offer plans
specificPlanIdsLimitation List<String>
Plan ids limitation for this offer
updateSuppressedDueIdempotence Boolean
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.
collectionId
This property is required.
Changes to this property will trigger replacement.
string
The collection ID
privateStoreId
This property is required.
Changes to this property will trigger replacement.
string
The store ID - must use the tenant ID
eTag string
Identifier for purposes of race condition
iconFileUris {[key: string]: string}
Icon File Uris
offerId Changes to this property will trigger replacement. string
The offer ID to update or delete
plans Plan[]
Offer plans
specificPlanIdsLimitation string[]
Plan ids limitation for this offer
updateSuppressedDueIdempotence boolean
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.
collection_id
This property is required.
Changes to this property will trigger replacement.
str
The collection ID
private_store_id
This property is required.
Changes to this property will trigger replacement.
str
The store ID - must use the tenant ID
e_tag str
Identifier for purposes of race condition
icon_file_uris Mapping[str, str]
Icon File Uris
offer_id Changes to this property will trigger replacement. str
The offer ID to update or delete
plans Sequence[PlanArgs]
Offer plans
specific_plan_ids_limitation Sequence[str]
Plan ids limitation for this offer
update_suppressed_due_idempotence bool
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.
collectionId
This property is required.
Changes to this property will trigger replacement.
String
The collection ID
privateStoreId
This property is required.
Changes to this property will trigger replacement.
String
The store ID - must use the tenant ID
eTag String
Identifier for purposes of race condition
iconFileUris Map<String>
Icon File Uris
offerId Changes to this property will trigger replacement. String
The offer ID to update or delete
plans List<Property Map>
Offer plans
specificPlanIdsLimitation List<String>
Plan ids limitation for this offer
updateSuppressedDueIdempotence Boolean
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.

Outputs

All input properties are implicitly available as output properties. Additionally, the PrivateStoreCollectionOffer resource produces the following output properties:

AzureApiVersion string
The Azure API version of the resource.
CreatedAt string
Private store offer creation date
Id string
The provider-assigned unique ID for this managed resource.
ModifiedAt string
Private store offer modification date
Name string
The name of the resource.
OfferDisplayName string
It will be displayed prominently in the marketplace
PublisherDisplayName string
Publisher name that will be displayed prominently in the marketplace
SystemData Pulumi.AzureNative.Marketplace.Outputs.SystemDataResponse
Metadata pertaining to creation and last modification of the resource
Type string
The type of the resource.
UniqueOfferId string
Offers unique id
AzureApiVersion string
The Azure API version of the resource.
CreatedAt string
Private store offer creation date
Id string
The provider-assigned unique ID for this managed resource.
ModifiedAt string
Private store offer modification date
Name string
The name of the resource.
OfferDisplayName string
It will be displayed prominently in the marketplace
PublisherDisplayName string
Publisher name that will be displayed prominently in the marketplace
SystemData SystemDataResponse
Metadata pertaining to creation and last modification of the resource
Type string
The type of the resource.
UniqueOfferId string
Offers unique id
azureApiVersion String
The Azure API version of the resource.
createdAt String
Private store offer creation date
id String
The provider-assigned unique ID for this managed resource.
modifiedAt String
Private store offer modification date
name String
The name of the resource.
offerDisplayName String
It will be displayed prominently in the marketplace
publisherDisplayName String
Publisher name that will be displayed prominently in the marketplace
systemData SystemDataResponse
Metadata pertaining to creation and last modification of the resource
type String
The type of the resource.
uniqueOfferId String
Offers unique id
azureApiVersion string
The Azure API version of the resource.
createdAt string
Private store offer creation date
id string
The provider-assigned unique ID for this managed resource.
modifiedAt string
Private store offer modification date
name string
The name of the resource.
offerDisplayName string
It will be displayed prominently in the marketplace
publisherDisplayName string
Publisher name that will be displayed prominently in the marketplace
systemData SystemDataResponse
Metadata pertaining to creation and last modification of the resource
type string
The type of the resource.
uniqueOfferId string
Offers unique id
azure_api_version str
The Azure API version of the resource.
created_at str
Private store offer creation date
id str
The provider-assigned unique ID for this managed resource.
modified_at str
Private store offer modification date
name str
The name of the resource.
offer_display_name str
It will be displayed prominently in the marketplace
publisher_display_name str
Publisher name that will be displayed prominently in the marketplace
system_data SystemDataResponse
Metadata pertaining to creation and last modification of the resource
type str
The type of the resource.
unique_offer_id str
Offers unique id
azureApiVersion String
The Azure API version of the resource.
createdAt String
Private store offer creation date
id String
The provider-assigned unique ID for this managed resource.
modifiedAt String
Private store offer modification date
name String
The name of the resource.
offerDisplayName String
It will be displayed prominently in the marketplace
publisherDisplayName String
Publisher name that will be displayed prominently in the marketplace
systemData Property Map
Metadata pertaining to creation and last modification of the resource
type String
The type of the resource.
uniqueOfferId String
Offers unique id

Supporting Types

Accessibility
, AccessibilityArgs

Unknown
Unknown
Public
Public
PrivateTenantOnLevel
PrivateTenantOnLevel
PrivateSubscriptionOnLevel
PrivateSubscriptionOnLevel
AccessibilityUnknown
Unknown
AccessibilityPublic
Public
AccessibilityPrivateTenantOnLevel
PrivateTenantOnLevel
AccessibilityPrivateSubscriptionOnLevel
PrivateSubscriptionOnLevel
Unknown
Unknown
Public
Public
PrivateTenantOnLevel
PrivateTenantOnLevel
PrivateSubscriptionOnLevel
PrivateSubscriptionOnLevel
Unknown
Unknown
Public
Public
PrivateTenantOnLevel
PrivateTenantOnLevel
PrivateSubscriptionOnLevel
PrivateSubscriptionOnLevel
UNKNOWN
Unknown
PUBLIC
Public
PRIVATE_TENANT_ON_LEVEL
PrivateTenantOnLevel
PRIVATE_SUBSCRIPTION_ON_LEVEL
PrivateSubscriptionOnLevel
"Unknown"
Unknown
"Public"
Public
"PrivateTenantOnLevel"
PrivateTenantOnLevel
"PrivateSubscriptionOnLevel"
PrivateSubscriptionOnLevel

Plan
, PlanArgs

Accessibility string | Accessibility
Plan accessibility
accessibility String | Accessibility
Plan accessibility
accessibility string | Accessibility
Plan accessibility
accessibility str | Accessibility
Plan accessibility

PlanResponse
, PlanResponseArgs

AltStackReference This property is required. string
Alternative stack type
PlanDisplayName This property is required. string
Friendly name for the plan for display in the marketplace
PlanId This property is required. string
Text identifier for this plan
SkuId This property is required. string
Identifier for this plan
StackType This property is required. string
Stack type (classic or arm)
Accessibility string
Plan accessibility
AltStackReference This property is required. string
Alternative stack type
PlanDisplayName This property is required. string
Friendly name for the plan for display in the marketplace
PlanId This property is required. string
Text identifier for this plan
SkuId This property is required. string
Identifier for this plan
StackType This property is required. string
Stack type (classic or arm)
Accessibility string
Plan accessibility
altStackReference This property is required. String
Alternative stack type
planDisplayName This property is required. String
Friendly name for the plan for display in the marketplace
planId This property is required. String
Text identifier for this plan
skuId This property is required. String
Identifier for this plan
stackType This property is required. String
Stack type (classic or arm)
accessibility String
Plan accessibility
altStackReference This property is required. string
Alternative stack type
planDisplayName This property is required. string
Friendly name for the plan for display in the marketplace
planId This property is required. string
Text identifier for this plan
skuId This property is required. string
Identifier for this plan
stackType This property is required. string
Stack type (classic or arm)
accessibility string
Plan accessibility
alt_stack_reference This property is required. str
Alternative stack type
plan_display_name This property is required. str
Friendly name for the plan for display in the marketplace
plan_id This property is required. str
Text identifier for this plan
sku_id This property is required. str
Identifier for this plan
stack_type This property is required. str
Stack type (classic or arm)
accessibility str
Plan accessibility
altStackReference This property is required. String
Alternative stack type
planDisplayName This property is required. String
Friendly name for the plan for display in the marketplace
planId This property is required. String
Text identifier for this plan
skuId This property is required. String
Identifier for this plan
stackType This property is required. String
Stack type (classic or arm)
accessibility String
Plan accessibility

SystemDataResponse
, SystemDataResponseArgs

CreatedAt string
The timestamp of resource creation (UTC)
CreatedBy string
The identity that created the resource.
CreatedByType string
The type of identity that created the resource
LastModifiedAt string
The timestamp of resource last modification (UTC)
LastModifiedBy string
The identity that last modified the resource.
LastModifiedByType string
The type of identity that last modified the resource
CreatedAt string
The timestamp of resource creation (UTC)
CreatedBy string
The identity that created the resource.
CreatedByType string
The type of identity that created the resource
LastModifiedAt string
The timestamp of resource last modification (UTC)
LastModifiedBy string
The identity that last modified the resource.
LastModifiedByType string
The type of identity that last modified the resource
createdAt String
The timestamp of resource creation (UTC)
createdBy String
The identity that created the resource.
createdByType String
The type of identity that created the resource
lastModifiedAt String
The timestamp of resource last modification (UTC)
lastModifiedBy String
The identity that last modified the resource.
lastModifiedByType String
The type of identity that last modified the resource
createdAt string
The timestamp of resource creation (UTC)
createdBy string
The identity that created the resource.
createdByType string
The type of identity that created the resource
lastModifiedAt string
The timestamp of resource last modification (UTC)
lastModifiedBy string
The identity that last modified the resource.
lastModifiedByType string
The type of identity that last modified the resource
created_at str
The timestamp of resource creation (UTC)
created_by str
The identity that created the resource.
created_by_type str
The type of identity that created the resource
last_modified_at str
The timestamp of resource last modification (UTC)
last_modified_by str
The identity that last modified the resource.
last_modified_by_type str
The type of identity that last modified the resource
createdAt String
The timestamp of resource creation (UTC)
createdBy String
The identity that created the resource.
createdByType String
The type of identity that created the resource
lastModifiedAt String
The timestamp of resource last modification (UTC)
lastModifiedBy String
The identity that last modified the resource.
lastModifiedByType String
The type of identity that last modified the resource

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} 
Copy

To learn more about importing existing cloud resources, see Importing resources.

Package Details

Repository
Azure Native pulumi/pulumi-azure-native
License
Apache-2.0
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.1.0 published on Tuesday, Apr 8, 2025 by Pulumi