Solution

class Solution : KotlinCustomResource

A Solution resource belonging to an Instance resource. Uses 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

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}

Properties

Link copied to clipboard

A list of components

Link copied to clipboard

Edge location of the resource.

Link copied to clipboard
val id: Output<String>
Link copied to clipboard
val location: Output<String>

The geo-location where the resource lives

Link copied to clipboard
val name: Output<String>

The name of the resource

Link copied to clipboard

The status of the last operation.

Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Azure Resource Manager metadata containing createdBy and modifiedBy information.

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

Resource tags.

Link copied to clipboard
val type: Output<String>

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

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

Version of the particular resource.