azure-native.iotoperationsorchestrator.Instance
Explore with Pulumi AI
A Instance resource belonging to an Instance resource. Azure REST API version: 2023-10-04-preview.
Example Usage
Instances_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 instance = new AzureNative.IoTOperationsOrchestrator.Instance("instance", new()
    {
        ExtendedLocation = new AzureNative.IoTOperationsOrchestrator.Inputs.ExtendedLocationArgs
        {
            Name = "bjjhfqsplgzdlbdlddleetyg",
            Type = "sosibrbmmrfbbyp",
        },
        Location = "uzehbktba",
        Name = "j6-r05-43h--55-q97-9ig--6w44a-2--3g-k53-13263ncl6-2q-h0-q5",
        ReconciliationPolicy = new AzureNative.IoTOperationsOrchestrator.Inputs.ReconciliationPolicyArgs
        {
            Interval = "wyrrzydmfgzymvzbppscxyfobku",
            Type = AzureNative.IoTOperationsOrchestrator.ReconciliationPolicies.Periodic,
        },
        ResourceGroupName = "rgopenapi",
        Scope = "rkargnjeljnivwjly",
        Solution = "p",
        Tags = null,
        Target = new AzureNative.IoTOperationsOrchestrator.Inputs.TargetSelectorPropertiesArgs
        {
            Name = "mqxcv",
        },
        Version = "nf",
    });
});
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.NewInstance(ctx, "instance", &iotoperationsorchestrator.InstanceArgs{
			ExtendedLocation: &iotoperationsorchestrator.ExtendedLocationArgs{
				Name: pulumi.String("bjjhfqsplgzdlbdlddleetyg"),
				Type: pulumi.String("sosibrbmmrfbbyp"),
			},
			Location: pulumi.String("uzehbktba"),
			Name:     pulumi.String("j6-r05-43h--55-q97-9ig--6w44a-2--3g-k53-13263ncl6-2q-h0-q5"),
			ReconciliationPolicy: &iotoperationsorchestrator.ReconciliationPolicyArgs{
				Interval: pulumi.String("wyrrzydmfgzymvzbppscxyfobku"),
				Type:     pulumi.String(iotoperationsorchestrator.ReconciliationPoliciesPeriodic),
			},
			ResourceGroupName: pulumi.String("rgopenapi"),
			Scope:             pulumi.String("rkargnjeljnivwjly"),
			Solution:          pulumi.String("p"),
			Tags:              pulumi.StringMap{},
			Target: &iotoperationsorchestrator.TargetSelectorPropertiesArgs{
				Name: pulumi.String("mqxcv"),
			},
			Version: pulumi.String("nf"),
		})
		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.Instance;
import com.pulumi.azurenative.iotoperationsorchestrator.InstanceArgs;
import com.pulumi.azurenative.iotoperationsorchestrator.inputs.ExtendedLocationArgs;
import com.pulumi.azurenative.iotoperationsorchestrator.inputs.ReconciliationPolicyArgs;
import com.pulumi.azurenative.iotoperationsorchestrator.inputs.TargetSelectorPropertiesArgs;
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 instance = new Instance("instance", InstanceArgs.builder()
            .extendedLocation(ExtendedLocationArgs.builder()
                .name("bjjhfqsplgzdlbdlddleetyg")
                .type("sosibrbmmrfbbyp")
                .build())
            .location("uzehbktba")
            .name("j6-r05-43h--55-q97-9ig--6w44a-2--3g-k53-13263ncl6-2q-h0-q5")
            .reconciliationPolicy(ReconciliationPolicyArgs.builder()
                .interval("wyrrzydmfgzymvzbppscxyfobku")
                .type("periodic")
                .build())
            .resourceGroupName("rgopenapi")
            .scope("rkargnjeljnivwjly")
            .solution("p")
            .tags()
            .target(TargetSelectorPropertiesArgs.builder()
                .name("mqxcv")
                .build())
            .version("nf")
            .build());
    }
}
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const instance = new azure_native.iotoperationsorchestrator.Instance("instance", {
    extendedLocation: {
        name: "bjjhfqsplgzdlbdlddleetyg",
        type: "sosibrbmmrfbbyp",
    },
    location: "uzehbktba",
    name: "j6-r05-43h--55-q97-9ig--6w44a-2--3g-k53-13263ncl6-2q-h0-q5",
    reconciliationPolicy: {
        interval: "wyrrzydmfgzymvzbppscxyfobku",
        type: azure_native.iotoperationsorchestrator.ReconciliationPolicies.Periodic,
    },
    resourceGroupName: "rgopenapi",
    scope: "rkargnjeljnivwjly",
    solution: "p",
    tags: {},
    target: {
        name: "mqxcv",
    },
    version: "nf",
});
import pulumi
import pulumi_azure_native as azure_native
instance = azure_native.iotoperationsorchestrator.Instance("instance",
    extended_location={
        "name": "bjjhfqsplgzdlbdlddleetyg",
        "type": "sosibrbmmrfbbyp",
    },
    location="uzehbktba",
    name="j6-r05-43h--55-q97-9ig--6w44a-2--3g-k53-13263ncl6-2q-h0-q5",
    reconciliation_policy={
        "interval": "wyrrzydmfgzymvzbppscxyfobku",
        "type": azure_native.iotoperationsorchestrator.ReconciliationPolicies.PERIODIC,
    },
    resource_group_name="rgopenapi",
    scope="rkargnjeljnivwjly",
    solution="p",
    tags={},
    target={
        "name": "mqxcv",
    },
    version="nf")
resources:
  instance:
    type: azure-native:iotoperationsorchestrator:Instance
    properties:
      extendedLocation:
        name: bjjhfqsplgzdlbdlddleetyg
        type: sosibrbmmrfbbyp
      location: uzehbktba
      name: j6-r05-43h--55-q97-9ig--6w44a-2--3g-k53-13263ncl6-2q-h0-q5
      reconciliationPolicy:
        interval: wyrrzydmfgzymvzbppscxyfobku
        type: periodic
      resourceGroupName: rgopenapi
      scope: rkargnjeljnivwjly
      solution: p
      tags: {}
      target:
        name: mqxcv
      version: nf
Create Instance Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Instance(name: string, args: InstanceArgs, opts?: CustomResourceOptions);@overload
def Instance(resource_name: str,
             args: InstanceArgs,
             opts: Optional[ResourceOptions] = None)
@overload
def Instance(resource_name: str,
             opts: Optional[ResourceOptions] = None,
             extended_location: Optional[ExtendedLocationArgs] = None,
             resource_group_name: Optional[str] = None,
             location: Optional[str] = None,
             name: Optional[str] = None,
             reconciliation_policy: Optional[ReconciliationPolicyArgs] = None,
             scope: Optional[str] = None,
             solution: Optional[str] = None,
             tags: Optional[Mapping[str, str]] = None,
             target: Optional[TargetSelectorPropertiesArgs] = None,
             version: Optional[str] = None)func NewInstance(ctx *Context, name string, args InstanceArgs, opts ...ResourceOption) (*Instance, error)public Instance(string name, InstanceArgs args, CustomResourceOptions? opts = null)
public Instance(String name, InstanceArgs args)
public Instance(String name, InstanceArgs args, CustomResourceOptions options)
type: azure-native:iotoperationsorchestrator:Instance
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 InstanceArgs
- 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 InstanceArgs
- 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 InstanceArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args InstanceArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args InstanceArgs
- 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 exampleinstanceResourceResourceFromIotoperationsorchestrator = new AzureNative.IoTOperationsOrchestrator.Instance("exampleinstanceResourceResourceFromIotoperationsorchestrator", new()
{
    ExtendedLocation = new AzureNative.IoTOperationsOrchestrator.Inputs.ExtendedLocationArgs
    {
        Name = "string",
        Type = "string",
    },
    ResourceGroupName = "string",
    Location = "string",
    Name = "string",
    ReconciliationPolicy = new AzureNative.IoTOperationsOrchestrator.Inputs.ReconciliationPolicyArgs
    {
        Type = "string",
        Interval = "string",
    },
    Scope = "string",
    Solution = "string",
    Tags = 
    {
        { "string", "string" },
    },
    Target = new AzureNative.IoTOperationsOrchestrator.Inputs.TargetSelectorPropertiesArgs
    {
        Name = "string",
    },
    Version = "string",
});
example, err := iotoperationsorchestrator.NewInstance(ctx, "exampleinstanceResourceResourceFromIotoperationsorchestrator", &iotoperationsorchestrator.InstanceArgs{
	ExtendedLocation: &iotoperationsorchestrator.ExtendedLocationArgs{
		Name: pulumi.String("string"),
		Type: pulumi.String("string"),
	},
	ResourceGroupName: pulumi.String("string"),
	Location:          pulumi.String("string"),
	Name:              pulumi.String("string"),
	ReconciliationPolicy: &iotoperationsorchestrator.ReconciliationPolicyArgs{
		Type:     pulumi.String("string"),
		Interval: pulumi.String("string"),
	},
	Scope:    pulumi.String("string"),
	Solution: pulumi.String("string"),
	Tags: pulumi.StringMap{
		"string": pulumi.String("string"),
	},
	Target: &iotoperationsorchestrator.TargetSelectorPropertiesArgs{
		Name: pulumi.String("string"),
	},
	Version: pulumi.String("string"),
})
var exampleinstanceResourceResourceFromIotoperationsorchestrator = new Instance("exampleinstanceResourceResourceFromIotoperationsorchestrator", InstanceArgs.builder()
    .extendedLocation(ExtendedLocationArgs.builder()
        .name("string")
        .type("string")
        .build())
    .resourceGroupName("string")
    .location("string")
    .name("string")
    .reconciliationPolicy(ReconciliationPolicyArgs.builder()
        .type("string")
        .interval("string")
        .build())
    .scope("string")
    .solution("string")
    .tags(Map.of("string", "string"))
    .target(TargetSelectorPropertiesArgs.builder()
        .name("string")
        .build())
    .version("string")
    .build());
exampleinstance_resource_resource_from_iotoperationsorchestrator = azure_native.iotoperationsorchestrator.Instance("exampleinstanceResourceResourceFromIotoperationsorchestrator",
    extended_location={
        "name": "string",
        "type": "string",
    },
    resource_group_name="string",
    location="string",
    name="string",
    reconciliation_policy={
        "type": "string",
        "interval": "string",
    },
    scope="string",
    solution="string",
    tags={
        "string": "string",
    },
    target={
        "name": "string",
    },
    version="string")
const exampleinstanceResourceResourceFromIotoperationsorchestrator = new azure_native.iotoperationsorchestrator.Instance("exampleinstanceResourceResourceFromIotoperationsorchestrator", {
    extendedLocation: {
        name: "string",
        type: "string",
    },
    resourceGroupName: "string",
    location: "string",
    name: "string",
    reconciliationPolicy: {
        type: "string",
        interval: "string",
    },
    scope: "string",
    solution: "string",
    tags: {
        string: "string",
    },
    target: {
        name: "string",
    },
    version: "string",
});
type: azure-native:iotoperationsorchestrator:Instance
properties:
    extendedLocation:
        name: string
        type: string
    location: string
    name: string
    reconciliationPolicy:
        interval: string
        type: string
    resourceGroupName: string
    scope: string
    solution: string
    tags:
        string: string
    target:
        name: string
    version: string
Instance 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 Instance 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.
- Location string
- The geo-location where the resource lives
- Name string
- Name of Instance.
- ReconciliationPolicy Pulumi.Azure Native. Io TOperations Orchestrator. Inputs. Reconciliation Policy 
- Reconciliation Policy.
- Scope string
- Deployment scope (such as Kubernetes namespace).
- Solution string
- Name of the solution.
- Dictionary<string, string>
- Resource tags.
- Target
Pulumi.Azure Native. Io TOperations Orchestrator. Inputs. Target Selector Properties 
- Defines the Target the Instance will deploy to.
- 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.
- Location string
- The geo-location where the resource lives
- Name string
- Name of Instance.
- ReconciliationPolicy ReconciliationPolicy Args 
- Reconciliation Policy.
- Scope string
- Deployment scope (such as Kubernetes namespace).
- Solution string
- Name of the solution.
- map[string]string
- Resource tags.
- Target
TargetSelector Properties Args 
- Defines the Target the Instance will deploy to.
- 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.
- location String
- The geo-location where the resource lives
- name String
- Name of Instance.
- reconciliationPolicy ReconciliationPolicy 
- Reconciliation Policy.
- scope String
- Deployment scope (such as Kubernetes namespace).
- solution String
- Name of the solution.
- Map<String,String>
- Resource tags.
- target
TargetSelector Properties 
- Defines the Target the Instance will deploy to.
- 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.
- location string
- The geo-location where the resource lives
- name string
- Name of Instance.
- reconciliationPolicy ReconciliationPolicy 
- Reconciliation Policy.
- scope string
- Deployment scope (such as Kubernetes namespace).
- solution string
- Name of the solution.
- {[key: string]: string}
- Resource tags.
- target
TargetSelector Properties 
- Defines the Target the Instance will deploy to.
- 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.
- location str
- The geo-location where the resource lives
- name str
- Name of Instance.
- reconciliation_policy ReconciliationPolicy Args 
- Reconciliation Policy.
- scope str
- Deployment scope (such as Kubernetes namespace).
- solution str
- Name of the solution.
- Mapping[str, str]
- Resource tags.
- target
TargetSelector Properties Args 
- Defines the Target the Instance will deploy to.
- 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.
- location String
- The geo-location where the resource lives
- name String
- Name of Instance.
- reconciliationPolicy Property Map
- Reconciliation Policy.
- scope String
- Deployment scope (such as Kubernetes namespace).
- solution String
- Name of the solution.
- Map<String>
- Resource tags.
- target Property Map
- Defines the Target the Instance will deploy to.
- version String
- Version of the particular resource.
Outputs
All input properties are implicitly available as output properties. Additionally, the Instance 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
ExtendedLocation, ExtendedLocationArgs    
ExtendedLocationResponse, ExtendedLocationResponseArgs      
ReconciliationPolicies, ReconciliationPoliciesArgs    
- Periodic
- periodicAllows resource to reconcile periodically.
- ReconciliationPolicies Periodic 
- periodicAllows resource to reconcile periodically.
- Periodic
- periodicAllows resource to reconcile periodically.
- Periodic
- periodicAllows resource to reconcile periodically.
- PERIODIC
- periodicAllows resource to reconcile periodically.
- "periodic"
- periodicAllows resource to reconcile periodically.
ReconciliationPolicy, ReconciliationPolicyArgs    
- Type
string | Pulumi.Azure Native. Io TOperations Orchestrator. Reconciliation Policies 
- Policy type
- Interval string
- Policy interval.
- Type
string | ReconciliationPolicies 
- Policy type
- Interval string
- Policy interval.
- type
String | ReconciliationPolicies 
- Policy type
- interval String
- Policy interval.
- type
string | ReconciliationPolicies 
- Policy type
- interval string
- Policy interval.
- type
str | ReconciliationPolicies 
- Policy type
- interval str
- Policy interval.
- type String | "periodic"
- Policy type
- interval String
- Policy interval.
ReconciliationPolicyResponse, ReconciliationPolicyResponseArgs      
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.
TargetSelectorProperties, TargetSelectorPropertiesArgs      
- Name string
- Name of the target.
- Name string
- Name of the target.
- name String
- Name of the target.
- name string
- Name of the target.
- name str
- Name of the target.
- name String
- Name of the target.
TargetSelectorPropertiesResponse, TargetSelectorPropertiesResponseArgs        
- Name string
- Name of the target.
- Name string
- Name of the target.
- name String
- Name of the target.
- name string
- Name of the target.
- name str
- Name of the target.
- name String
- Name of the target.
Import
An existing resource can be imported using its type token, name, and identifier, e.g.
$ pulumi import azure-native:iotoperationsorchestrator:Instance sauintupvjhadznpynqhfjdzjgu /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.IoTOperationsOrchestrator/instances/{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