1. Packages
  2. Azure Native v2
  3. API Docs
  4. iotoperationsorchestrator
  5. Solution
These are the docs for Azure Native v2. We recommenend using the latest version, Azure Native v3.
Azure Native v2 v2.90.0 published on Thursday, Mar 27, 2025 by Pulumi

azure-native-v2.iotoperationsorchestrator.Solution

Explore with Pulumi AI

A Solution resource belonging to an Instance resource. Azure REST API version: 2023-10-04-preview.

Example Usage

Solutions_CreateOrUpdate - generated by [MaximumSet] rule - generated by [MaximumSet] rule

using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;

return await Deployment.RunAsync(() => 
{
    var solution = new AzureNative.IoTOperationsOrchestrator.Solution("solution", new()
    {
        Components = new[]
        {
            new AzureNative.IoTOperationsOrchestrator.Inputs.ComponentPropertiesArgs
            {
                Dependencies = new[]
                {
                    "x",
                },
                Name = "yhnelpxsobdyurwvhkq",
                Properties = null,
                Type = "wiabwsfqhhxru",
            },
        },
        ExtendedLocation = new AzureNative.IoTOperationsOrchestrator.Inputs.ExtendedLocationArgs
        {
            Name = "bjjhfqsplgzdlbdlddleetyg",
            Type = "sosibrbmmrfbbyp",
        },
        Location = "svzwmojzvarczmvgfhjk",
        Name = "49-gj2-mwgt--1m611----35u",
        ResourceGroupName = "rgopenapi",
        Tags = null,
        Version = "jwxk",
    });

});
Copy
package main

import (
	iotoperationsorchestrator "github.com/pulumi/pulumi-azure-native-sdk/iotoperationsorchestrator/v2"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := iotoperationsorchestrator.NewSolution(ctx, "solution", &iotoperationsorchestrator.SolutionArgs{
			Components: iotoperationsorchestrator.ComponentPropertiesArray{
				&iotoperationsorchestrator.ComponentPropertiesArgs{
					Dependencies: pulumi.StringArray{
						pulumi.String("x"),
					},
					Name:       pulumi.String("yhnelpxsobdyurwvhkq"),
					Properties: pulumi.Any(map[string]interface{}{}),
					Type:       pulumi.String("wiabwsfqhhxru"),
				},
			},
			ExtendedLocation: &iotoperationsorchestrator.ExtendedLocationArgs{
				Name: pulumi.String("bjjhfqsplgzdlbdlddleetyg"),
				Type: pulumi.String("sosibrbmmrfbbyp"),
			},
			Location:          pulumi.String("svzwmojzvarczmvgfhjk"),
			Name:              pulumi.String("49-gj2-mwgt--1m611----35u"),
			ResourceGroupName: pulumi.String("rgopenapi"),
			Tags:              pulumi.StringMap{},
			Version:           pulumi.String("jwxk"),
		})
		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.iotoperationsorchestrator.Solution;
import com.pulumi.azurenative.iotoperationsorchestrator.SolutionArgs;
import com.pulumi.azurenative.iotoperationsorchestrator.inputs.ComponentPropertiesArgs;
import com.pulumi.azurenative.iotoperationsorchestrator.inputs.ExtendedLocationArgs;
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 solution = new Solution("solution", SolutionArgs.builder()
            .components(ComponentPropertiesArgs.builder()
                .dependencies("x")
                .name("yhnelpxsobdyurwvhkq")
                .properties()
                .type("wiabwsfqhhxru")
                .build())
            .extendedLocation(ExtendedLocationArgs.builder()
                .name("bjjhfqsplgzdlbdlddleetyg")
                .type("sosibrbmmrfbbyp")
                .build())
            .location("svzwmojzvarczmvgfhjk")
            .name("49-gj2-mwgt--1m611----35u")
            .resourceGroupName("rgopenapi")
            .tags()
            .version("jwxk")
            .build());

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

const solution = new azure_native.iotoperationsorchestrator.Solution("solution", {
    components: [{
        dependencies: ["x"],
        name: "yhnelpxsobdyurwvhkq",
        properties: {},
        type: "wiabwsfqhhxru",
    }],
    extendedLocation: {
        name: "bjjhfqsplgzdlbdlddleetyg",
        type: "sosibrbmmrfbbyp",
    },
    location: "svzwmojzvarczmvgfhjk",
    name: "49-gj2-mwgt--1m611----35u",
    resourceGroupName: "rgopenapi",
    tags: {},
    version: "jwxk",
});
Copy
import pulumi
import pulumi_azure_native as azure_native

solution = azure_native.iotoperationsorchestrator.Solution("solution",
    components=[{
        "dependencies": ["x"],
        "name": "yhnelpxsobdyurwvhkq",
        "properties": {},
        "type": "wiabwsfqhhxru",
    }],
    extended_location={
        "name": "bjjhfqsplgzdlbdlddleetyg",
        "type": "sosibrbmmrfbbyp",
    },
    location="svzwmojzvarczmvgfhjk",
    name="49-gj2-mwgt--1m611----35u",
    resource_group_name="rgopenapi",
    tags={},
    version="jwxk")
Copy
resources:
  solution:
    type: azure-native:iotoperationsorchestrator:Solution
    properties:
      components:
        - dependencies:
            - x
          name: yhnelpxsobdyurwvhkq
          properties: {}
          type: wiabwsfqhhxru
      extendedLocation:
        name: bjjhfqsplgzdlbdlddleetyg
        type: sosibrbmmrfbbyp
      location: svzwmojzvarczmvgfhjk
      name: 49-gj2-mwgt--1m611----35u
      resourceGroupName: rgopenapi
      tags: {}
      version: jwxk
Copy

Create Solution Resource

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

Constructor syntax

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

@overload
def Solution(resource_name: str,
             opts: Optional[ResourceOptions] = None,
             extended_location: Optional[ExtendedLocationArgs] = None,
             resource_group_name: Optional[str] = None,
             components: Optional[Sequence[ComponentPropertiesArgs]] = None,
             location: Optional[str] = None,
             name: Optional[str] = None,
             tags: Optional[Mapping[str, str]] = None,
             version: Optional[str] = None)
func NewSolution(ctx *Context, name string, args SolutionArgs, opts ...ResourceOption) (*Solution, error)
public Solution(string name, SolutionArgs args, CustomResourceOptions? opts = null)
public Solution(String name, SolutionArgs args)
public Solution(String name, SolutionArgs args, CustomResourceOptions options)
type: azure-native:iotoperationsorchestrator:Solution
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. SolutionArgs
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. SolutionArgs
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. SolutionArgs
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. SolutionArgs
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. SolutionArgs
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 azure_nativeSolutionResource = new AzureNative.Iotoperationsorchestrator.Solution("azure-nativeSolutionResource", new()
{
    ExtendedLocation = 
    {
        { "name", "string" },
        { "type", "string" },
    },
    ResourceGroupName = "string",
    Components = new[]
    {
        
        {
            { "name", "string" },
            { "type", "string" },
            { "dependencies", new[]
            {
                "string",
            } },
            { "properties", "any" },
        },
    },
    Location = "string",
    Name = "string",
    Tags = 
    {
        { "string", "string" },
    },
    Version = "string",
});
Copy
example, err := iotoperationsorchestrator.NewSolution(ctx, "azure-nativeSolutionResource", &iotoperationsorchestrator.SolutionArgs{
	ExtendedLocation: map[string]interface{}{
		"name": "string",
		"type": "string",
	},
	ResourceGroupName: "string",
	Components: []map[string]interface{}{
		map[string]interface{}{
			"name": "string",
			"type": "string",
			"dependencies": []string{
				"string",
			},
			"properties": "any",
		},
	},
	Location: "string",
	Name:     "string",
	Tags: map[string]interface{}{
		"string": "string",
	},
	Version: "string",
})
Copy
var azure_nativeSolutionResource = new Solution("azure-nativeSolutionResource", SolutionArgs.builder()
    .extendedLocation(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
    .resourceGroupName("string")
    .components(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
    .location("string")
    .name("string")
    .tags(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
    .version("string")
    .build());
Copy
azure_native_solution_resource = azure_native.iotoperationsorchestrator.Solution("azure-nativeSolutionResource",
    extended_location={
        name: string,
        type: string,
    },
    resource_group_name=string,
    components=[{
        name: string,
        type: string,
        dependencies: [string],
        properties: any,
    }],
    location=string,
    name=string,
    tags={
        string: string,
    },
    version=string)
Copy
const azure_nativeSolutionResource = new azure_native.iotoperationsorchestrator.Solution("azure-nativeSolutionResource", {
    extendedLocation: {
        name: "string",
        type: "string",
    },
    resourceGroupName: "string",
    components: [{
        name: "string",
        type: "string",
        dependencies: ["string"],
        properties: "any",
    }],
    location: "string",
    name: "string",
    tags: {
        string: "string",
    },
    version: "string",
});
Copy
type: azure-native:iotoperationsorchestrator:Solution
properties:
    components:
        - dependencies:
            - string
          name: string
          properties: any
          type: string
    extendedLocation:
        name: string
        type: string
    location: string
    name: string
    resourceGroupName: string
    tags:
        string: string
    version: string
Copy

Solution 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 Solution resource accepts the following input properties:

ExtendedLocation
This property is required.
Changes to this property will trigger replacement.
Pulumi.AzureNative.IoTOperationsOrchestrator.Inputs.ExtendedLocation
Edge location of the resource.
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group. The name is case insensitive.
Components List<Pulumi.AzureNative.IoTOperationsOrchestrator.Inputs.ComponentProperties>
A list of components
Location Changes to this property will trigger replacement. string
The geo-location where the resource lives
Name Changes to this property will trigger replacement. string
Name of solution.
Tags Dictionary<string, string>
Resource tags.
Version string
Version of the particular resource.
ExtendedLocation
This property is required.
Changes to this property will trigger replacement.
ExtendedLocationArgs
Edge location of the resource.
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group. The name is case insensitive.
Components []ComponentPropertiesArgs
A list of components
Location Changes to this property will trigger replacement. string
The geo-location where the resource lives
Name Changes to this property will trigger replacement. string
Name of solution.
Tags map[string]string
Resource tags.
Version string
Version of the particular resource.
extendedLocation
This property is required.
Changes to this property will trigger replacement.
ExtendedLocation
Edge location of the resource.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
The name of the resource group. The name is case insensitive.
components List<ComponentProperties>
A list of components
location Changes to this property will trigger replacement. String
The geo-location where the resource lives
name Changes to this property will trigger replacement. String
Name of solution.
tags Map<String,String>
Resource tags.
version String
Version of the particular resource.
extendedLocation
This property is required.
Changes to this property will trigger replacement.
ExtendedLocation
Edge location of the resource.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group. The name is case insensitive.
components ComponentProperties[]
A list of components
location Changes to this property will trigger replacement. string
The geo-location where the resource lives
name Changes to this property will trigger replacement. string
Name of solution.
tags {[key: string]: string}
Resource tags.
version string
Version of the particular resource.
extended_location
This property is required.
Changes to this property will trigger replacement.
ExtendedLocationArgs
Edge location of the resource.
resource_group_name
This property is required.
Changes to this property will trigger replacement.
str
The name of the resource group. The name is case insensitive.
components Sequence[ComponentPropertiesArgs]
A list of components
location Changes to this property will trigger replacement. str
The geo-location where the resource lives
name Changes to this property will trigger replacement. str
Name of solution.
tags Mapping[str, str]
Resource tags.
version str
Version of the particular resource.
extendedLocation
This property is required.
Changes to this property will trigger replacement.
Property Map
Edge location of the resource.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
The name of the resource group. The name is case insensitive.
components List<Property Map>
A list of components
location Changes to this property will trigger replacement. String
The geo-location where the resource lives
name Changes to this property will trigger replacement. String
Name of solution.
tags Map<String>
Resource tags.
version String
Version of the particular resource.

Outputs

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

Id string
The provider-assigned unique ID for this managed resource.
ProvisioningState string
The status of the last operation.
SystemData Pulumi.AzureNative.IoTOperationsOrchestrator.Outputs.SystemDataResponse
Azure Resource Manager metadata containing createdBy and modifiedBy information.
Type string
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
Id string
The provider-assigned unique ID for this managed resource.
ProvisioningState string
The status of the last operation.
SystemData SystemDataResponse
Azure Resource Manager metadata containing createdBy and modifiedBy information.
Type string
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
id String
The provider-assigned unique ID for this managed resource.
provisioningState String
The status of the last operation.
systemData SystemDataResponse
Azure Resource Manager metadata containing createdBy and modifiedBy information.
type String
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
id string
The provider-assigned unique ID for this managed resource.
provisioningState string
The status of the last operation.
systemData SystemDataResponse
Azure Resource Manager metadata containing createdBy and modifiedBy information.
type string
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
id str
The provider-assigned unique ID for this managed resource.
provisioning_state str
The status of the last operation.
system_data SystemDataResponse
Azure Resource Manager metadata containing createdBy and modifiedBy information.
type str
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
id String
The provider-assigned unique ID for this managed resource.
provisioningState String
The status of the last operation.
systemData Property Map
Azure Resource Manager metadata containing createdBy and modifiedBy information.
type String
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

Supporting Types

ComponentProperties
, ComponentPropertiesArgs

Name This property is required. string
Name of the component.
Type This property is required. string
Component type.
Dependencies List<string>
Component dependencies.
Properties object
Properties of the component.
Name This property is required. string
Name of the component.
Type This property is required. string
Component type.
Dependencies []string
Component dependencies.
Properties interface{}
Properties of the component.
name This property is required. String
Name of the component.
type This property is required. String
Component type.
dependencies List<String>
Component dependencies.
properties Object
Properties of the component.
name This property is required. string
Name of the component.
type This property is required. string
Component type.
dependencies string[]
Component dependencies.
properties any
Properties of the component.
name This property is required. str
Name of the component.
type This property is required. str
Component type.
dependencies Sequence[str]
Component dependencies.
properties Any
Properties of the component.
name This property is required. String
Name of the component.
type This property is required. String
Component type.
dependencies List<String>
Component dependencies.
properties Any
Properties of the component.

ComponentPropertiesResponse
, ComponentPropertiesResponseArgs

Name This property is required. string
Name of the component.
Type This property is required. string
Component type.
Dependencies List<string>
Component dependencies.
Properties object
Properties of the component.
Name This property is required. string
Name of the component.
Type This property is required. string
Component type.
Dependencies []string
Component dependencies.
Properties interface{}
Properties of the component.
name This property is required. String
Name of the component.
type This property is required. String
Component type.
dependencies List<String>
Component dependencies.
properties Object
Properties of the component.
name This property is required. string
Name of the component.
type This property is required. string
Component type.
dependencies string[]
Component dependencies.
properties any
Properties of the component.
name This property is required. str
Name of the component.
type This property is required. str
Component type.
dependencies Sequence[str]
Component dependencies.
properties Any
Properties of the component.
name This property is required. String
Name of the component.
type This property is required. String
Component type.
dependencies List<String>
Component dependencies.
properties Any
Properties of the component.

ExtendedLocation
, ExtendedLocationArgs

Name This property is required. string
The name of the extended location.
Type This property is required. string
The type of the extended location.
Name This property is required. string
The name of the extended location.
Type This property is required. string
The type of the extended location.
name This property is required. String
The name of the extended location.
type This property is required. String
The type of the extended location.
name This property is required. string
The name of the extended location.
type This property is required. string
The type of the extended location.
name This property is required. str
The name of the extended location.
type This property is required. str
The type of the extended location.
name This property is required. String
The name of the extended location.
type This property is required. String
The type of the extended location.

ExtendedLocationResponse
, ExtendedLocationResponseArgs

Name This property is required. string
The name of the extended location.
Type This property is required. string
The type of the extended location.
Name This property is required. string
The name of the extended location.
Type This property is required. string
The type of the extended location.
name This property is required. String
The name of the extended location.
type This property is required. String
The type of the extended location.
name This property is required. string
The name of the extended location.
type This property is required. string
The type of the extended location.
name This property is required. str
The name of the extended location.
type This property is required. str
The type of the extended location.
name This property is required. String
The name of the extended location.
type This property is required. String
The type of the extended location.

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:iotoperationsorchestrator:Solution l /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.IoTOperationsOrchestrator/solutions/{name} 
Copy

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

Package Details

Repository
azure-native-v2 pulumi/pulumi-azure-native
License
Apache-2.0