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: nil,
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 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")
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",
});
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
The Instance resource accepts the following input properties:
- Extended
Location Pulumi.Azure Native. Io TOperations Orchestrator. Inputs. Extended Location - Edge location of the resource.
- Resource
Group 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.
- Reconciliation
Policy 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.
- Extended
Location ExtendedLocation Args - Edge location of the resource.
- Resource
Group 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.
- Reconciliation
Policy ReconciliationPolicy Args - Reconciliation Policy.
- Scope string
- Deployment scope (such as Kubernetes namespace).
- Solution string
- Name of the solution.
- map[string]string
- Resource tags.
- Target
Target
Selector Properties Args - Defines the Target the Instance will deploy to.
- Version string
- Version of the particular resource.
- extended
Location ExtendedLocation - Edge location of the resource.
- resource
Group 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.
- reconciliation
Policy ReconciliationPolicy - Reconciliation Policy.
- scope String
- Deployment scope (such as Kubernetes namespace).
- solution String
- Name of the solution.
- Map<String,String>
- Resource tags.
- target
Target
Selector Properties - Defines the Target the Instance will deploy to.
- version String
- Version of the particular resource.
- extended
Location ExtendedLocation - Edge location of the resource.
- resource
Group 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.
- reconciliation
Policy ReconciliationPolicy - Reconciliation Policy.
- scope string
- Deployment scope (such as Kubernetes namespace).
- solution string
- Name of the solution.
- {[key: string]: string}
- Resource tags.
- target
Target
Selector 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
Target
Selector Properties Args - Defines the Target the Instance will deploy to.
- version str
- Version of the particular resource.
- extended
Location Property Map - Edge location of the resource.
- resource
Group 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.
- reconciliation
Policy 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.
- Provisioning
State string - The status of the last operation.
- System
Data 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.
- Provisioning
State string - The status of the last operation.
- System
Data 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.
- provisioning
State String - The status of the last operation.
- system
Data 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.
- provisioning
State string - The status of the last operation.
- system
Data 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.
- provisioning
State String - The status of the last operation.
- system
Data 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.
- Reconciliation
Policies 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 | Reconciliation
Policies - Policy type
- Interval string
- Policy interval.
- type
String | Reconciliation
Policies - Policy type
- interval String
- Policy interval.
- type
string | Reconciliation
Policies - Policy type
- interval string
- Policy interval.
- type
str | Reconciliation
Policies - Policy type
- interval str
- Policy interval.
- type String | "periodic"
- Policy type
- interval String
- Policy interval.
ReconciliationPolicyResponse, ReconciliationPolicyResponseArgs
SystemDataResponse, SystemDataResponseArgs
- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The timestamp of resource last modification (UTC)
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The timestamp of resource last modification (UTC)
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The timestamp of resource last modification (UTC)
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified StringBy Type - The type of identity that last modified the resource.
- created
At string - The timestamp of resource creation (UTC).
- created
By string - The identity that created the resource.
- created
By stringType - The type of identity that created the resource.
- last
Modified stringAt - The timestamp of resource last modification (UTC)
- last
Modified stringBy - The identity that last modified the resource.
- last
Modified 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.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The timestamp of resource last modification (UTC)
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified 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