azure-native.marketplace.PrivateStoreOffer
Explore with Pulumi AI
The privateStore offer data structure. API Version: 2020-01-01.
Example Usage
PrivateStoreOffer_update
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var privateStoreOffer = new AzureNative.Marketplace.PrivateStoreOffer("privateStoreOffer", new()
{
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"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := marketplace.NewPrivateStoreOffer(ctx, "privateStoreOffer", &marketplace.PrivateStoreOfferArgs{
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.PrivateStoreOffer;
import com.pulumi.azurenative.marketplace.PrivateStoreOfferArgs;
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 privateStoreOffer = new PrivateStoreOffer("privateStoreOffer", PrivateStoreOfferArgs.builder()
.eTag("\"9301f4fd-0000-0100-0000-5e248b350666\"")
.offerId("marketplacetestthirdparty.md-test-third-party-2")
.privateStoreId("a0e28e55-90c4-41d8-8e34-bb7ef7775406")
.specificPlanIdsLimitation(
"0001",
"0002")
.build());
}
}
import pulumi
import pulumi_azure_native as azure_native
private_store_offer = azure_native.marketplace.PrivateStoreOffer("privateStoreOffer",
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",
])
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const privateStoreOffer = new azure_native.marketplace.PrivateStoreOffer("privateStoreOffer", {
eTag: "\"9301f4fd-0000-0100-0000-5e248b350666\"",
offerId: "marketplacetestthirdparty.md-test-third-party-2",
privateStoreId: "a0e28e55-90c4-41d8-8e34-bb7ef7775406",
specificPlanIdsLimitation: [
"0001",
"0002",
],
});
resources:
privateStoreOffer:
type: azure-native:marketplace:PrivateStoreOffer
properties:
eTag: '"9301f4fd-0000-0100-0000-5e248b350666"'
offerId: marketplacetestthirdparty.md-test-third-party-2
privateStoreId: a0e28e55-90c4-41d8-8e34-bb7ef7775406
specificPlanIdsLimitation:
- '0001'
- '0002'
Create PrivateStoreOffer Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new PrivateStoreOffer(name: string, args: PrivateStoreOfferArgs, opts?: CustomResourceOptions);
@overload
def PrivateStoreOffer(resource_name: str,
args: PrivateStoreOfferArgs,
opts: Optional[ResourceOptions] = None)
@overload
def PrivateStoreOffer(resource_name: str,
opts: Optional[ResourceOptions] = 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 NewPrivateStoreOffer(ctx *Context, name string, args PrivateStoreOfferArgs, opts ...ResourceOption) (*PrivateStoreOffer, error)
public PrivateStoreOffer(string name, PrivateStoreOfferArgs args, CustomResourceOptions? opts = null)
public PrivateStoreOffer(String name, PrivateStoreOfferArgs args)
public PrivateStoreOffer(String name, PrivateStoreOfferArgs args, CustomResourceOptions options)
type: azure-native:marketplace:PrivateStoreOffer
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args PrivateStoreOfferArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args PrivateStoreOfferArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args PrivateStoreOfferArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args PrivateStoreOfferArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args PrivateStoreOfferArgs
- 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 privateStoreOfferResource = new AzureNative.Marketplace.PrivateStoreOffer("privateStoreOfferResource", new()
{
PrivateStoreId = "string",
ETag = "string",
IconFileUris =
{
{ "string", "string" },
},
OfferId = "string",
Plans = new[]
{
{
{ "accessibility", "string" },
},
},
SpecificPlanIdsLimitation = new[]
{
"string",
},
UpdateSuppressedDueIdempotence = false,
});
example, err := marketplace.NewPrivateStoreOffer(ctx, "privateStoreOfferResource", &marketplace.PrivateStoreOfferArgs{
PrivateStoreId: "string",
ETag: "string",
IconFileUris: map[string]interface{}{
"string": "string",
},
OfferId: "string",
Plans: []map[string]interface{}{
map[string]interface{}{
"accessibility": "string",
},
},
SpecificPlanIdsLimitation: []string{
"string",
},
UpdateSuppressedDueIdempotence: false,
})
var privateStoreOfferResource = new PrivateStoreOffer("privateStoreOfferResource", PrivateStoreOfferArgs.builder()
.privateStoreId("string")
.eTag("string")
.iconFileUris(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.offerId("string")
.plans(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.specificPlanIdsLimitation("string")
.updateSuppressedDueIdempotence(false)
.build());
private_store_offer_resource = azure_native.marketplace.PrivateStoreOffer("privateStoreOfferResource",
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)
const privateStoreOfferResource = new azure_native.marketplace.PrivateStoreOffer("privateStoreOfferResource", {
privateStoreId: "string",
eTag: "string",
iconFileUris: {
string: "string",
},
offerId: "string",
plans: [{
accessibility: "string",
}],
specificPlanIdsLimitation: ["string"],
updateSuppressedDueIdempotence: false,
});
type: azure-native:marketplace:PrivateStoreOffer
properties:
eTag: string
iconFileUris:
string: string
offerId: string
plans:
- accessibility: string
privateStoreId: string
specificPlanIdsLimitation:
- string
updateSuppressedDueIdempotence: false
PrivateStoreOffer 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 PrivateStoreOffer resource accepts the following input properties:
- Private
Store stringId - The store ID - must use the tenant ID
- ETag string
- Identifier for purposes of race condition
- Icon
File Dictionary<string, string>Uris - Icon File Uris
- Offer
Id string - The offer ID to update or delete
- Plans
List<Pulumi.
Azure Native. Marketplace. Inputs. Plan> - Offer plans
- Specific
Plan List<string>Ids Limitation - Plan ids limitation for this offer
- Update
Suppressed boolDue Idempotence - 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.
- Private
Store stringId - The store ID - must use the tenant ID
- ETag string
- Identifier for purposes of race condition
- Icon
File map[string]stringUris - Icon File Uris
- Offer
Id string - The offer ID to update or delete
- Plans
[]Plan
Args - Offer plans
- Specific
Plan []stringIds Limitation - Plan ids limitation for this offer
- Update
Suppressed boolDue Idempotence - 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.
- private
Store StringId - The store ID - must use the tenant ID
- e
Tag String - Identifier for purposes of race condition
- icon
File Map<String,String>Uris - Icon File Uris
- offer
Id String - The offer ID to update or delete
- plans List<Plan>
- Offer plans
- specific
Plan List<String>Ids Limitation - Plan ids limitation for this offer
- update
Suppressed BooleanDue Idempotence - 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.
- private
Store stringId - The store ID - must use the tenant ID
- e
Tag string - Identifier for purposes of race condition
- icon
File {[key: string]: string}Uris - Icon File Uris
- offer
Id string - The offer ID to update or delete
- plans Plan[]
- Offer plans
- specific
Plan string[]Ids Limitation - Plan ids limitation for this offer
- update
Suppressed booleanDue Idempotence - 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.
- private_
store_ strid - The store ID - must use the tenant ID
- e_
tag str - Identifier for purposes of race condition
- icon_
file_ Mapping[str, str]uris - Icon File Uris
- offer_
id str - The offer ID to update or delete
- plans
Sequence[Plan
Args] - Offer plans
- specific_
plan_ Sequence[str]ids_ limitation - Plan ids limitation for this offer
- update_
suppressed_ booldue_ idempotence - 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.
- private
Store StringId - The store ID - must use the tenant ID
- e
Tag String - Identifier for purposes of race condition
- icon
File Map<String>Uris - Icon File Uris
- offer
Id String - The offer ID to update or delete
- plans List<Property Map>
- Offer plans
- specific
Plan List<String>Ids Limitation - Plan ids limitation for this offer
- update
Suppressed BooleanDue Idempotence - 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 PrivateStoreOffer resource produces the following output properties:
- Created
At string - Private store offer creation date
- Id string
- The provider-assigned unique ID for this managed resource.
- Modified
At string - Private store offer modification date
- Name string
- The name of the resource.
- Offer
Display stringName - It will be displayed prominently in the marketplace
- Publisher
Display stringName - Publisher name that will be displayed prominently in the marketplace
- Type string
- The type of the resource.
- Unique
Offer stringId - Offers unique id
- Created
At string - Private store offer creation date
- Id string
- The provider-assigned unique ID for this managed resource.
- Modified
At string - Private store offer modification date
- Name string
- The name of the resource.
- Offer
Display stringName - It will be displayed prominently in the marketplace
- Publisher
Display stringName - Publisher name that will be displayed prominently in the marketplace
- Type string
- The type of the resource.
- Unique
Offer stringId - Offers unique id
- created
At String - Private store offer creation date
- id String
- The provider-assigned unique ID for this managed resource.
- modified
At String - Private store offer modification date
- name String
- The name of the resource.
- offer
Display StringName - It will be displayed prominently in the marketplace
- publisher
Display StringName - Publisher name that will be displayed prominently in the marketplace
- type String
- The type of the resource.
- unique
Offer StringId - Offers unique id
- created
At string - Private store offer creation date
- id string
- The provider-assigned unique ID for this managed resource.
- modified
At string - Private store offer modification date
- name string
- The name of the resource.
- offer
Display stringName - It will be displayed prominently in the marketplace
- publisher
Display stringName - Publisher name that will be displayed prominently in the marketplace
- type string
- The type of the resource.
- unique
Offer stringId - Offers unique id
- 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_ strname - It will be displayed prominently in the marketplace
- publisher_
display_ strname - Publisher name that will be displayed prominently in the marketplace
- type str
- The type of the resource.
- unique_
offer_ strid - Offers unique id
- created
At String - Private store offer creation date
- id String
- The provider-assigned unique ID for this managed resource.
- modified
At String - Private store offer modification date
- name String
- The name of the resource.
- offer
Display StringName - It will be displayed prominently in the marketplace
- publisher
Display StringName - Publisher name that will be displayed prominently in the marketplace
- type String
- The type of the resource.
- unique
Offer StringId - Offers unique id
Supporting Types
Accessibility, AccessibilityArgs
- Unknown
- Unknown
- Public
- Public
- Private
Tenant On Level - PrivateTenantOnLevel
- Private
Subscription On Level - PrivateSubscriptionOnLevel
- Accessibility
Unknown - Unknown
- Accessibility
Public - Public
- Accessibility
Private Tenant On Level - PrivateTenantOnLevel
- Accessibility
Private Subscription On Level - PrivateSubscriptionOnLevel
- Unknown
- Unknown
- Public
- Public
- Private
Tenant On Level - PrivateTenantOnLevel
- Private
Subscription On Level - PrivateSubscriptionOnLevel
- Unknown
- Unknown
- Public
- Public
- Private
Tenant On Level - PrivateTenantOnLevel
- Private
Subscription On Level - PrivateSubscriptionOnLevel
- UNKNOWN
- Unknown
- PUBLIC
- Public
- PRIVATE_TENANT_ON_LEVEL
- PrivateTenantOnLevel
- PRIVATE_SUBSCRIPTION_ON_LEVEL
- PrivateSubscriptionOnLevel
- "Unknown"
- Unknown
- "Public"
- Public
- "Private
Tenant On Level" - PrivateTenantOnLevel
- "Private
Subscription On Level" - PrivateSubscriptionOnLevel
Plan, PlanArgs
- Accessibility
string | Pulumi.
Azure Native. Marketplace. Accessibility - Plan accessibility
- Accessibility string | Accessibility
- Plan accessibility
- accessibility String | Accessibility
- Plan accessibility
- accessibility string | Accessibility
- Plan accessibility
- accessibility str | Accessibility
- Plan accessibility
- accessibility
String | "Unknown" | "Public" | "Private
Tenant On Level" | "Private Subscription On Level" - Plan accessibility
PlanResponse, PlanResponseArgs
- Alt
Stack stringReference - Alternative stack type
- Plan
Display stringName - Friendly name for the plan for display in the marketplace
- Plan
Id string - Text identifier for this plan
- Sku
Id string - Identifier for this plan
- Stack
Type string - Stack type (classic or arm)
- Accessibility string
- Plan accessibility
- Alt
Stack stringReference - Alternative stack type
- Plan
Display stringName - Friendly name for the plan for display in the marketplace
- Plan
Id string - Text identifier for this plan
- Sku
Id string - Identifier for this plan
- Stack
Type string - Stack type (classic or arm)
- Accessibility string
- Plan accessibility
- alt
Stack StringReference - Alternative stack type
- plan
Display StringName - Friendly name for the plan for display in the marketplace
- plan
Id String - Text identifier for this plan
- sku
Id String - Identifier for this plan
- stack
Type String - Stack type (classic or arm)
- accessibility String
- Plan accessibility
- alt
Stack stringReference - Alternative stack type
- plan
Display stringName - Friendly name for the plan for display in the marketplace
- plan
Id string - Text identifier for this plan
- sku
Id string - Identifier for this plan
- stack
Type string - Stack type (classic or arm)
- accessibility string
- Plan accessibility
- alt_
stack_ strreference - Alternative stack type
- plan_
display_ strname - Friendly name for the plan for display in the marketplace
- plan_
id str - Text identifier for this plan
- sku_
id str - Identifier for this plan
- stack_
type str - Stack type (classic or arm)
- accessibility str
- Plan accessibility
- alt
Stack StringReference - Alternative stack type
- plan
Display StringName - Friendly name for the plan for display in the marketplace
- plan
Id String - Text identifier for this plan
- sku
Id String - Identifier for this plan
- stack
Type String - Stack type (classic or arm)
- accessibility String
- Plan accessibility
Import
An existing resource can be imported using its type token, name, and identifier, e.g.
$ pulumi import azure-native:marketplace:PrivateStoreOffer marketplacetestthirdparty.md-test-third-party-2 /providers/Microsoft.Marketplace/privateStores/a0e28e55-90c4-41d8-8e34-bb7ef7775406/offers/marketplacetestthirdparty.md-test-third-party-2
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- azure-native-v1 pulumi/pulumi-azure-native
- License
- Apache-2.0