azure-native.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",
    });
});
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
	})
}
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());
    }
}
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",
});
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")
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
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 string
- The unique name of the resource.
- args SolutionArgs
- 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 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 string
- The unique name of the resource.
- args SolutionArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args SolutionArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args 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 = new AzureNative.IoTOperationsOrchestrator.Inputs.ExtendedLocationArgs
    {
        Name = "string",
        Type = "string",
    },
    ResourceGroupName = "string",
    Components = new[]
    {
        new AzureNative.IoTOperationsOrchestrator.Inputs.ComponentPropertiesArgs
        {
            Name = "string",
            Type = "string",
            Dependencies = new[]
            {
                "string",
            },
            Properties = "any",
        },
    },
    Location = "string",
    Name = "string",
    Tags = 
    {
        { "string", "string" },
    },
    Version = "string",
});
example, err := iotoperationsorchestrator.NewSolution(ctx, "azure-nativeSolutionResource", &iotoperationsorchestrator.SolutionArgs{
	ExtendedLocation: &iotoperationsorchestrator.ExtendedLocationArgs{
		Name: pulumi.String("string"),
		Type: pulumi.String("string"),
	},
	ResourceGroupName: pulumi.String("string"),
	Components: iotoperationsorchestrator.ComponentPropertiesArray{
		&iotoperationsorchestrator.ComponentPropertiesArgs{
			Name: pulumi.String("string"),
			Type: pulumi.String("string"),
			Dependencies: pulumi.StringArray{
				pulumi.String("string"),
			},
			Properties: pulumi.Any("any"),
		},
	},
	Location: pulumi.String("string"),
	Name:     pulumi.String("string"),
	Tags: pulumi.StringMap{
		"string": pulumi.String("string"),
	},
	Version: pulumi.String("string"),
})
var azure_nativeSolutionResource = new Solution("azure-nativeSolutionResource", SolutionArgs.builder()
    .extendedLocation(ExtendedLocationArgs.builder()
        .name("string")
        .type("string")
        .build())
    .resourceGroupName("string")
    .components(ComponentPropertiesArgs.builder()
        .name("string")
        .type("string")
        .dependencies("string")
        .properties("any")
        .build())
    .location("string")
    .name("string")
    .tags(Map.of("string", "string"))
    .version("string")
    .build());
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")
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",
});
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
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 Pulumi.Azure Native. Io TOperations Orchestrator. Inputs. Extended Location 
- Edge location of the resource.
- ResourceGroup stringName 
- The name of the resource group. The name is case insensitive.
- Components
List<Pulumi.Azure Native. Io TOperations Orchestrator. Inputs. Component Properties> 
- A list of components
- Location string
- The geo-location where the resource lives
- Name string
- Name of solution.
- Dictionary<string, string>
- Resource tags.
- Version string
- Version of the particular resource.
- ExtendedLocation ExtendedLocation Args 
- Edge location of the resource.
- ResourceGroup stringName 
- The name of the resource group. The name is case insensitive.
- Components
[]ComponentProperties Args 
- A list of components
- Location string
- The geo-location where the resource lives
- Name string
- Name of solution.
- map[string]string
- Resource tags.
- Version string
- Version of the particular resource.
- extendedLocation ExtendedLocation 
- Edge location of the resource.
- resourceGroup StringName 
- The name of the resource group. The name is case insensitive.
- components
List<ComponentProperties> 
- A list of components
- location String
- The geo-location where the resource lives
- name String
- Name of solution.
- Map<String,String>
- Resource tags.
- version String
- Version of the particular resource.
- extendedLocation ExtendedLocation 
- Edge location of the resource.
- resourceGroup stringName 
- The name of the resource group. The name is case insensitive.
- components
ComponentProperties[] 
- A list of components
- location string
- The geo-location where the resource lives
- name string
- Name of solution.
- {[key: string]: string}
- Resource tags.
- version string
- Version of the particular resource.
- extended_location ExtendedLocation Args 
- Edge location of the resource.
- resource_group_ strname 
- The name of the resource group. The name is case insensitive.
- components
Sequence[ComponentProperties Args] 
- A list of components
- location str
- The geo-location where the resource lives
- name str
- Name of solution.
- Mapping[str, str]
- Resource tags.
- version str
- Version of the particular resource.
- extendedLocation Property Map
- Edge location of the resource.
- resourceGroup StringName 
- The name of the resource group. The name is case insensitive.
- components List<Property Map>
- A list of components
- location String
- The geo-location where the resource lives
- name String
- Name of solution.
- 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.Azure Native. Io TOperations Orchestrator. Outputs. System Data Response 
- 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 SystemData Response 
- 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 SystemData Response 
- 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 SystemData Response 
- 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 SystemData Response 
- 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 string
- Name of the component.
- Type string
- Component type.
- Dependencies List<string>
- Component dependencies.
- Properties object
- Properties of the component.
- Name string
- Name of the component.
- Type string
- Component type.
- Dependencies []string
- Component dependencies.
- Properties interface{}
- Properties of the component.
- name String
- Name of the component.
- type String
- Component type.
- dependencies List<String>
- Component dependencies.
- properties Object
- Properties of the component.
- name string
- Name of the component.
- type string
- Component type.
- dependencies string[]
- Component dependencies.
- properties any
- Properties of the component.
- name str
- Name of the component.
- type str
- Component type.
- dependencies Sequence[str]
- Component dependencies.
- properties Any
- Properties of the component.
- name String
- Name of the component.
- type String
- Component type.
- dependencies List<String>
- Component dependencies.
- properties Any
- Properties of the component.
ComponentPropertiesResponse, ComponentPropertiesResponseArgs      
- Name string
- Name of the component.
- Type string
- Component type.
- Dependencies List<string>
- Component dependencies.
- Properties object
- Properties of the component.
- Name string
- Name of the component.
- Type string
- Component type.
- Dependencies []string
- Component dependencies.
- Properties interface{}
- Properties of the component.
- name String
- Name of the component.
- type String
- Component type.
- dependencies List<String>
- Component dependencies.
- properties Object
- Properties of the component.
- name string
- Name of the component.
- type string
- Component type.
- dependencies string[]
- Component dependencies.
- properties any
- Properties of the component.
- name str
- Name of the component.
- type str
- Component type.
- dependencies Sequence[str]
- Component dependencies.
- properties Any
- Properties of the component.
- name String
- Name of the component.
- type String
- Component type.
- dependencies List<String>
- Component dependencies.
- properties Any
- Properties of the component.
ExtendedLocation, ExtendedLocationArgs    
ExtendedLocationResponse, ExtendedLocationResponseArgs      
SystemDataResponse, SystemDataResponseArgs      
- CreatedAt string
- The timestamp of resource creation (UTC).
- CreatedBy string
- The identity that created the resource.
- CreatedBy stringType 
- The type of identity that created the resource.
- LastModified stringAt 
- The timestamp of resource last modification (UTC)
- LastModified stringBy 
- The identity that last modified the resource.
- LastModified stringBy Type 
- 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.
- CreatedBy stringType 
- The type of identity that created the resource.
- LastModified stringAt 
- The timestamp of resource last modification (UTC)
- LastModified stringBy 
- The identity that last modified the resource.
- LastModified stringBy Type 
- 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.
- createdBy StringType 
- The type of identity that created the resource.
- lastModified StringAt 
- The timestamp of resource last modification (UTC)
- lastModified StringBy 
- The identity that last modified the resource.
- lastModified StringBy Type 
- 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.
- createdBy stringType 
- The type of identity that created the resource.
- lastModified stringAt 
- The timestamp of resource last modification (UTC)
- lastModified stringBy 
- The identity that last modified the resource.
- lastModified 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.
- createdAt String
- The timestamp of resource creation (UTC).
- createdBy String
- The identity that created the resource.
- createdBy StringType 
- The type of identity that created the resource.
- lastModified StringAt 
- The timestamp of resource last modification (UTC)
- lastModified StringBy 
- The identity that last modified the resource.
- lastModified 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:iotoperationsorchestrator:Solution l /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.IoTOperationsOrchestrator/solutions/{name} 
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0