published on Friday, Mar 20, 2026 by Pulumi
published on Friday, Mar 20, 2026 by Pulumi
The Solution data structure
Uses Azure REST API version 2023-03-01-preview.
Example Usage
CreateUserSolution
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var userSolution = new AzureNative.Marketplace.UserSolution("userSolution", new()
{
SolutionId = "starting_prices_23",
});
});
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.NewUserSolution(ctx, "userSolution", &marketplace.UserSolutionArgs{
SolutionId: pulumi.String("starting_prices_23"),
})
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.UserSolution;
import com.pulumi.azurenative.marketplace.UserSolutionArgs;
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 userSolution = new UserSolution("userSolution", UserSolutionArgs.builder()
.solutionId("starting_prices_23")
.build());
}
}
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const userSolution = new azure_native.marketplace.UserSolution("userSolution", {solutionId: "starting_prices_23"});
import pulumi
import pulumi_azure_native as azure_native
user_solution = azure_native.marketplace.UserSolution("userSolution", solution_id="starting_prices_23")
resources:
userSolution:
type: azure-native:marketplace:UserSolution
properties:
solutionId: starting_prices_23
Create UserSolution Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new UserSolution(name: string, args?: UserSolutionArgs, opts?: CustomResourceOptions);@overload
def UserSolution(resource_name: str,
args: Optional[UserSolutionArgs] = None,
opts: Optional[ResourceOptions] = None)
@overload
def UserSolution(resource_name: str,
opts: Optional[ResourceOptions] = None,
display_name: Optional[str] = None,
products: Optional[Sequence[ProductArgs]] = None,
solution_id: Optional[str] = None)func NewUserSolution(ctx *Context, name string, args *UserSolutionArgs, opts ...ResourceOption) (*UserSolution, error)public UserSolution(string name, UserSolutionArgs? args = null, CustomResourceOptions? opts = null)
public UserSolution(String name, UserSolutionArgs args)
public UserSolution(String name, UserSolutionArgs args, CustomResourceOptions options)
type: azure-native:marketplace:UserSolution
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 UserSolutionArgs
- 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 UserSolutionArgs
- 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 UserSolutionArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args UserSolutionArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args UserSolutionArgs
- 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 userSolutionResource = new AzureNative.Marketplace.UserSolution("userSolutionResource", new()
{
DisplayName = "string",
Products = new[]
{
new AzureNative.Marketplace.Inputs.ProductArgs
{
Description = "string",
DisplayName = "string",
PricingTypes = new[]
{
"string",
},
ProductType = "string",
PublisherDisplayName = "string",
RatingAverage = 0,
SmallIconUri = "string",
StoreFronts = new[]
{
"string",
},
Summary = "string",
UniqueProductId = "string",
},
},
SolutionId = "string",
});
example, err := marketplace.NewUserSolution(ctx, "userSolutionResource", &marketplace.UserSolutionArgs{
DisplayName: pulumi.String("string"),
Products: marketplace.ProductArray{
&marketplace.ProductArgs{
Description: pulumi.String("string"),
DisplayName: pulumi.String("string"),
PricingTypes: pulumi.StringArray{
pulumi.String("string"),
},
ProductType: pulumi.String("string"),
PublisherDisplayName: pulumi.String("string"),
RatingAverage: pulumi.Float64(0),
SmallIconUri: pulumi.String("string"),
StoreFronts: pulumi.StringArray{
pulumi.String("string"),
},
Summary: pulumi.String("string"),
UniqueProductId: pulumi.String("string"),
},
},
SolutionId: pulumi.String("string"),
})
var userSolutionResource = new UserSolution("userSolutionResource", UserSolutionArgs.builder()
.displayName("string")
.products(ProductArgs.builder()
.description("string")
.displayName("string")
.pricingTypes("string")
.productType("string")
.publisherDisplayName("string")
.ratingAverage(0.0)
.smallIconUri("string")
.storeFronts("string")
.summary("string")
.uniqueProductId("string")
.build())
.solutionId("string")
.build());
user_solution_resource = azure_native.marketplace.UserSolution("userSolutionResource",
display_name="string",
products=[{
"description": "string",
"display_name": "string",
"pricing_types": ["string"],
"product_type": "string",
"publisher_display_name": "string",
"rating_average": 0,
"small_icon_uri": "string",
"store_fronts": ["string"],
"summary": "string",
"unique_product_id": "string",
}],
solution_id="string")
const userSolutionResource = new azure_native.marketplace.UserSolution("userSolutionResource", {
displayName: "string",
products: [{
description: "string",
displayName: "string",
pricingTypes: ["string"],
productType: "string",
publisherDisplayName: "string",
ratingAverage: 0,
smallIconUri: "string",
storeFronts: ["string"],
summary: "string",
uniqueProductId: "string",
}],
solutionId: "string",
});
type: azure-native:marketplace:UserSolution
properties:
displayName: string
products:
- description: string
displayName: string
pricingTypes:
- string
productType: string
publisherDisplayName: string
ratingAverage: 0
smallIconUri: string
storeFronts:
- string
summary: string
uniqueProductId: string
solutionId: string
UserSolution 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 UserSolution resource accepts the following input properties:
- Display
Name string - Products
List<Pulumi.
Azure Native. Marketplace. Inputs. Product> - Solution
Id string - The solution id
- Display
Name string - Products
[]Product
Args - Solution
Id string - The solution id
- display
Name String - products List<Product>
- solution
Id String - The solution id
- display
Name string - products Product[]
- solution
Id string - The solution id
- display_
name str - products
Sequence[Product
Args] - solution_
id str - The solution id
- display
Name String - products List<Property Map>
- solution
Id String - The solution id
Outputs
All input properties are implicitly available as output properties. Additionally, the UserSolution resource produces the following output properties:
- Azure
Api stringVersion - The Azure API version of the resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- The name of the resource.
- System
Data Pulumi.Azure Native. Marketplace. Outputs. System Data Response - Metadata pertaining to creation and last modification of the resource
- Type string
- The type of the resource.
- Azure
Api stringVersion - The Azure API version of the resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- The name of the resource.
- System
Data SystemData Response - Metadata pertaining to creation and last modification of the resource
- Type string
- The type of the resource.
- azure
Api StringVersion - The Azure API version of the resource.
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- The name of the resource.
- system
Data SystemData Response - Metadata pertaining to creation and last modification of the resource
- type String
- The type of the resource.
- azure
Api stringVersion - The Azure API version of the resource.
- id string
- The provider-assigned unique ID for this managed resource.
- name string
- The name of the resource.
- system
Data SystemData Response - Metadata pertaining to creation and last modification of the resource
- type string
- The type of the resource.
- azure_
api_ strversion - The Azure API version of the resource.
- id str
- The provider-assigned unique ID for this managed resource.
- name str
- The name of the resource.
- system_
data SystemData Response - Metadata pertaining to creation and last modification of the resource
- type str
- The type of the resource.
- azure
Api StringVersion - The Azure API version of the resource.
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- The name of the resource.
- system
Data Property Map - Metadata pertaining to creation and last modification of the resource
- type String
- The type of the resource.
Supporting Types
Product, ProductArgs
- Description string
- Display
Name string - Pricing
Types List<string> - Product
Type string - Publisher
Display stringName - Rating
Average double - Small
Icon stringUri - Store
Fronts List<string> - Summary string
- Unique
Product stringId
- Description string
- Display
Name string - Pricing
Types []string - Product
Type string - Publisher
Display stringName - Rating
Average float64 - Small
Icon stringUri - Store
Fronts []string - Summary string
- Unique
Product stringId
- description String
- display
Name String - pricing
Types List<String> - product
Type String - publisher
Display StringName - rating
Average Double - small
Icon StringUri - store
Fronts List<String> - summary String
- unique
Product StringId
- description string
- display
Name string - pricing
Types string[] - product
Type string - publisher
Display stringName - rating
Average number - small
Icon stringUri - store
Fronts string[] - summary string
- unique
Product stringId
- description str
- display_
name str - pricing_
types Sequence[str] - product_
type str - publisher_
display_ strname - rating_
average float - small_
icon_ struri - store_
fronts Sequence[str] - summary str
- unique_
product_ strid
- description String
- display
Name String - pricing
Types List<String> - product
Type String - publisher
Display StringName - rating
Average Number - small
Icon StringUri - store
Fronts List<String> - summary String
- unique
Product StringId
ProductResponse, ProductResponseArgs
- Description string
- Display
Name string - Pricing
Types List<string> - Product
Type string - Publisher
Display stringName - Rating
Average double - Small
Icon stringUri - Store
Fronts List<string> - Summary string
- Unique
Product stringId
- Description string
- Display
Name string - Pricing
Types []string - Product
Type string - Publisher
Display stringName - Rating
Average float64 - Small
Icon stringUri - Store
Fronts []string - Summary string
- Unique
Product stringId
- description String
- display
Name String - pricing
Types List<String> - product
Type String - publisher
Display StringName - rating
Average Double - small
Icon StringUri - store
Fronts List<String> - summary String
- unique
Product StringId
- description string
- display
Name string - pricing
Types string[] - product
Type string - publisher
Display stringName - rating
Average number - small
Icon stringUri - store
Fronts string[] - summary string
- unique
Product stringId
- description str
- display_
name str - pricing_
types Sequence[str] - product_
type str - publisher_
display_ strname - rating_
average float - small_
icon_ struri - store_
fronts Sequence[str] - summary str
- unique_
product_ strid
- description String
- display
Name String - pricing
Types List<String> - product
Type String - publisher
Display StringName - rating
Average Number - small
Icon StringUri - store
Fronts List<String> - summary String
- unique
Product StringId
SystemDataResponse, SystemDataResponseArgs
Read only system data- Created
At string - The timestamp of resource creation (UTC)
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource
- Last
Modified stringAt - The timestamp of resource last modification (UTC)
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource
- Created
At string - The timestamp of resource creation (UTC)
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource
- Last
Modified stringAt - The timestamp of resource last modification (UTC)
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource
- created
At String - The timestamp of resource creation (UTC)
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource
- last
Modified StringAt - The timestamp of resource last modification (UTC)
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified StringBy Type - The type of identity that last modified the resource
- created
At string - The timestamp of resource creation (UTC)
- created
By string - The identity that created the resource.
- created
By stringType - The type of identity that created the resource
- last
Modified stringAt - The timestamp of resource last modification (UTC)
- last
Modified stringBy - The identity that last modified the resource.
- last
Modified stringBy Type - 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_ strtype - The type of identity that created the resource
- last_
modified_ strat - The timestamp of resource last modification (UTC)
- last_
modified_ strby - The identity that last modified the resource.
- last_
modified_ strby_ type - The type of identity that last modified the resource
- created
At String - The timestamp of resource creation (UTC)
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource
- last
Modified StringAt - The timestamp of resource last modification (UTC)
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified StringBy Type - 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:UserSolution starting_prices_23 /providers/Microsoft.Marketplace/mysolutions/{solutionId}
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0
published on Friday, Mar 20, 2026 by Pulumi
