1. Packages
  2. Azure Native
  3. API Docs
  4. marketplace
  5. UserSolution
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Viewing docs for Azure Native v3.16.0
published on Friday, Mar 20, 2026 by Pulumi
azure-native logo
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Viewing docs for Azure Native v3.16.0
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:

    DisplayName string
    Products []ProductArgs
    SolutionId string
    The solution id
    displayName String
    products List<Product>
    solutionId String
    The solution id
    displayName string
    products Product[]
    solutionId string
    The solution id

    Outputs

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

    AzureApiVersion string
    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.
    SystemData Pulumi.AzureNative.Marketplace.Outputs.SystemDataResponse
    Metadata pertaining to creation and last modification of the resource
    Type string
    The type of the resource.
    AzureApiVersion string
    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.
    SystemData SystemDataResponse
    Metadata pertaining to creation and last modification of the resource
    Type string
    The type of the resource.
    azureApiVersion String
    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.
    systemData SystemDataResponse
    Metadata pertaining to creation and last modification of the resource
    type String
    The type of the resource.
    azureApiVersion string
    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.
    systemData SystemDataResponse
    Metadata pertaining to creation and last modification of the resource
    type string
    The type of the resource.
    azure_api_version str
    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 SystemDataResponse
    Metadata pertaining to creation and last modification of the resource
    type str
    The type of the resource.
    azureApiVersion String
    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.
    systemData 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
    DisplayName string
    PricingTypes List<string>
    ProductType string
    PublisherDisplayName string
    RatingAverage double
    SmallIconUri string
    StoreFronts List<string>
    Summary string
    UniqueProductId string
    description String
    displayName String
    pricingTypes List<String>
    productType String
    publisherDisplayName String
    ratingAverage Double
    smallIconUri String
    storeFronts List<String>
    summary String
    uniqueProductId String
    description String
    displayName String
    pricingTypes List<String>
    productType String
    publisherDisplayName String
    ratingAverage Number
    smallIconUri String
    storeFronts List<String>
    summary String
    uniqueProductId String

    ProductResponse, ProductResponseArgs

    Description string
    DisplayName string
    PricingTypes List<string>
    ProductType string
    PublisherDisplayName string
    RatingAverage double
    SmallIconUri string
    StoreFronts List<string>
    Summary string
    UniqueProductId string
    description String
    displayName String
    pricingTypes List<String>
    productType String
    publisherDisplayName String
    ratingAverage Double
    smallIconUri String
    storeFronts List<String>
    summary String
    uniqueProductId String
    description String
    displayName String
    pricingTypes List<String>
    productType String
    publisherDisplayName String
    ratingAverage Number
    smallIconUri String
    storeFronts List<String>
    summary String
    uniqueProductId String

    SystemDataResponse, SystemDataResponseArgs

    Read only system data
    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: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
    azure-native logo
    This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
    Viewing docs for Azure Native v3.16.0
    published on Friday, Mar 20, 2026 by Pulumi
      Try Pulumi Cloud free. Your team will thank you.