SolutionArgs

data class SolutionArgs(val components: Output<List<ComponentPropertiesArgs>>? = null, val extendedLocation: Output<ExtendedLocationArgs>? = null, val location: Output<String>? = null, val name: Output<String>? = null, val resourceGroupName: Output<String>? = null, val tags: Output<Map<String, String>>? = null, val version: Output<String>? = null) : ConvertibleToJava<SolutionArgs>

A Solution resource belonging to an Instance resource. Uses Azure REST API version 2023-10-04-preview. In version 2.x of the Azure Native provider, it used 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

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}

Constructors

Link copied to clipboard
constructor(components: Output<List<ComponentPropertiesArgs>>? = null, extendedLocation: Output<ExtendedLocationArgs>? = null, location: Output<String>? = null, name: Output<String>? = null, resourceGroupName: Output<String>? = null, tags: Output<Map<String, String>>? = null, version: Output<String>? = null)

Properties

Link copied to clipboard

A list of components

Link copied to clipboard

Edge location of the resource.

Link copied to clipboard
val location: Output<String>? = null

The geo-location where the resource lives

Link copied to clipboard
val name: Output<String>? = null

Name of solution.

Link copied to clipboard
val resourceGroupName: Output<String>? = null

The name of the resource group. The name is case insensitive.

Link copied to clipboard
val tags: Output<Map<String, String>>? = null

Resource tags.

Link copied to clipboard
val version: Output<String>? = null

Version of the particular resource.

Functions

Link copied to clipboard
open override fun toJava(): SolutionArgs