1. Packages
  2. Azure Native
  3. API Docs
  4. iotoperationsorchestrator
  5. Solution
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.73.0 published on Wednesday, Nov 20, 2024 by Pulumi

azure-native.iotoperationsorchestrator.Solution

Explore with Pulumi AI

azure-native logo
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.73.0 published on Wednesday, Nov 20, 2024 by Pulumi

    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 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")
    
    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",
    });
    
    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.AzureNative.IoTOperationsOrchestrator.Inputs.ExtendedLocation
    Edge location of the resource.
    ResourceGroupName string
    The name of the resource group. The name is case insensitive.
    Components List<Pulumi.AzureNative.IoTOperationsOrchestrator.Inputs.ComponentProperties>
    A list of components
    Location string
    The geo-location where the resource lives
    Name string
    Name of solution.
    Tags Dictionary<string, string>
    Resource tags.
    Version string
    Version of the particular resource.
    ExtendedLocation ExtendedLocationArgs
    Edge location of the resource.
    ResourceGroupName string
    The name of the resource group. The name is case insensitive.
    Components []ComponentPropertiesArgs
    A list of components
    Location string
    The geo-location where the resource lives
    Name string
    Name of solution.
    Tags map[string]string
    Resource tags.
    Version string
    Version of the particular resource.
    extendedLocation ExtendedLocation
    Edge location of the resource.
    resourceGroupName String
    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.
    tags Map<String,String>
    Resource tags.
    version String
    Version of the particular resource.
    extendedLocation ExtendedLocation
    Edge location of the resource.
    resourceGroupName string
    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.
    tags {[key: string]: string}
    Resource tags.
    version string
    Version of the particular resource.
    extended_location ExtendedLocationArgs
    Edge location of the resource.
    resource_group_name str
    The name of the resource group. The name is case insensitive.
    components Sequence[ComponentPropertiesArgs]
    A list of components
    location str
    The geo-location where the resource lives
    name str
    Name of solution.
    tags Mapping[str, str]
    Resource tags.
    version str
    Version of the particular resource.
    extendedLocation Property Map
    Edge location of the resource.
    resourceGroupName String
    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.
    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 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

    Name string
    The name of the extended location.
    Type string
    The type of the extended location.
    Name string
    The name of the extended location.
    Type string
    The type of the extended location.
    name String
    The name of the extended location.
    type String
    The type of the extended location.
    name string
    The name of the extended location.
    type string
    The type of the extended location.
    name str
    The name of the extended location.
    type str
    The type of the extended location.
    name String
    The name of the extended location.
    type String
    The type of the extended location.

    ExtendedLocationResponse, ExtendedLocationResponseArgs

    Name string
    The name of the extended location.
    Type string
    The type of the extended location.
    Name string
    The name of the extended location.
    Type string
    The type of the extended location.
    name String
    The name of the extended location.
    type String
    The type of the extended location.
    name string
    The name of the extended location.
    type string
    The type of the extended location.
    name str
    The name of the extended location.
    type str
    The type of the extended location.
    name String
    The name of the extended location.
    type 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} 
    

    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 v1 docs if using the v1 version of this package.
    Azure Native v2.73.0 published on Wednesday, Nov 20, 2024 by Pulumi