azure-native-v2.iotoperationsorchestrator.Target
Explore with Pulumi AI
A Target resource belonging to an Instance resource. Azure REST API version: 2023-10-04-preview.
Create Target Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Target(name: string, args: TargetArgs, opts?: CustomResourceOptions);
@overload
def Target(resource_name: str,
args: TargetArgs,
opts: Optional[ResourceOptions] = None)
@overload
def Target(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,
reconciliation_policy: Optional[ReconciliationPolicyArgs] = None,
scope: Optional[str] = None,
tags: Optional[Mapping[str, str]] = None,
topologies: Optional[Sequence[TopologiesPropertiesArgs]] = None,
version: Optional[str] = None)
func NewTarget(ctx *Context, name string, args TargetArgs, opts ...ResourceOption) (*Target, error)
public Target(string name, TargetArgs args, CustomResourceOptions? opts = null)
public Target(String name, TargetArgs args)
public Target(String name, TargetArgs args, CustomResourceOptions options)
type: azure-native:iotoperationsorchestrator:Target
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name
This property is required. string - The unique name of the resource.
- args
This property is required. TargetArgs - The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name
This property is required. str - The unique name of the resource.
- args
This property is required. TargetArgs - The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name
This property is required. string - The unique name of the resource.
- args
This property is required. TargetArgs - The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name
This property is required. string - The unique name of the resource.
- args
This property is required. TargetArgs - The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name
This property is required. String - The unique name of the resource.
- args
This property is required. TargetArgs - 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 exampletargetResourceResourceFromIotoperationsorchestrator = new AzureNative.Iotoperationsorchestrator.Target("exampletargetResourceResourceFromIotoperationsorchestrator", new()
{
ExtendedLocation =
{
{ "name", "string" },
{ "type", "string" },
},
ResourceGroupName = "string",
Components = new[]
{
{
{ "name", "string" },
{ "type", "string" },
{ "dependencies", new[]
{
"string",
} },
{ "properties", "any" },
},
},
Location = "string",
Name = "string",
ReconciliationPolicy =
{
{ "type", "string" },
{ "interval", "string" },
},
Scope = "string",
Tags =
{
{ "string", "string" },
},
Topologies = new[]
{
{
{ "bindings", new[]
{
{
{ "config", "any" },
{ "provider", "string" },
{ "role", "string" },
},
} },
},
},
Version = "string",
});
example, err := iotoperationsorchestrator.NewTarget(ctx, "exampletargetResourceResourceFromIotoperationsorchestrator", &iotoperationsorchestrator.TargetArgs{
ExtendedLocation: map[string]interface{}{
"name": "string",
"type": "string",
},
ResourceGroupName: "string",
Components: []map[string]interface{}{
map[string]interface{}{
"name": "string",
"type": "string",
"dependencies": []string{
"string",
},
"properties": "any",
},
},
Location: "string",
Name: "string",
ReconciliationPolicy: map[string]interface{}{
"type": "string",
"interval": "string",
},
Scope: "string",
Tags: map[string]interface{}{
"string": "string",
},
Topologies: []map[string]interface{}{
map[string]interface{}{
"bindings": []map[string]interface{}{
map[string]interface{}{
"config": "any",
"provider": "string",
"role": "string",
},
},
},
},
Version: "string",
})
var exampletargetResourceResourceFromIotoperationsorchestrator = new Target("exampletargetResourceResourceFromIotoperationsorchestrator", TargetArgs.builder()
.extendedLocation(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.resourceGroupName("string")
.components(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.location("string")
.name("string")
.reconciliationPolicy(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.scope("string")
.tags(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.topologies(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.version("string")
.build());
exampletarget_resource_resource_from_iotoperationsorchestrator = azure_native.iotoperationsorchestrator.Target("exampletargetResourceResourceFromIotoperationsorchestrator",
extended_location={
name: string,
type: string,
},
resource_group_name=string,
components=[{
name: string,
type: string,
dependencies: [string],
properties: any,
}],
location=string,
name=string,
reconciliation_policy={
type: string,
interval: string,
},
scope=string,
tags={
string: string,
},
topologies=[{
bindings: [{
config: any,
provider: string,
role: string,
}],
}],
version=string)
const exampletargetResourceResourceFromIotoperationsorchestrator = new azure_native.iotoperationsorchestrator.Target("exampletargetResourceResourceFromIotoperationsorchestrator", {
extendedLocation: {
name: "string",
type: "string",
},
resourceGroupName: "string",
components: [{
name: "string",
type: "string",
dependencies: ["string"],
properties: "any",
}],
location: "string",
name: "string",
reconciliationPolicy: {
type: "string",
interval: "string",
},
scope: "string",
tags: {
string: "string",
},
topologies: [{
bindings: [{
config: "any",
provider: "string",
role: "string",
}],
}],
version: "string",
});
type: azure-native:iotoperationsorchestrator:Target
properties:
components:
- dependencies:
- string
name: string
properties: any
type: string
extendedLocation:
name: string
type: string
location: string
name: string
reconciliationPolicy:
interval: string
type: string
resourceGroupName: string
scope: string
tags:
string: string
topologies:
- bindings:
- config: any
provider: string
role: string
version: string
Target 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 Target resource accepts the following input properties:
- Extended
Location This property is required. Changes to this property will trigger replacement.
Azure Native. Io TOperations Orchestrator. Inputs. Extended Location - Edge location of the resource.
- Resource
Group Name This property is required. Changes to this property will trigger replacement.
- The name of the resource group. The name is case insensitive.
- Components
List<Pulumi.
Azure Native. Io TOperations Orchestrator. Inputs. Component Properties> - A list of components.
- Location
Changes to this property will trigger replacement.
- The geo-location where the resource lives
- Name
Changes to this property will trigger replacement.
- Name of target.
- Reconciliation
Policy Pulumi.Azure Native. Io TOperations Orchestrator. Inputs. Reconciliation Policy - Reconciliation Policy.
- Scope string
- Deployment scope (such as Kubernetes namespace).
- Dictionary<string, string>
- Resource tags.
- Topologies
List<Pulumi.
Azure Native. Io TOperations Orchestrator. Inputs. Topologies Properties> - Defines the device topology for a target or instance.
- Version string
- Version of the particular resource.
- Extended
Location This property is required. Changes to this property will trigger replacement.
Location Args - Edge location of the resource.
- Resource
Group Name This property is required. Changes to this property will trigger replacement.
- The name of the resource group. The name is case insensitive.
- Components
[]Component
Properties Args - A list of components.
- Location
Changes to this property will trigger replacement.
- The geo-location where the resource lives
- Name
Changes to this property will trigger replacement.
- Name of target.
- Reconciliation
Policy ReconciliationPolicy Args - Reconciliation Policy.
- Scope string
- Deployment scope (such as Kubernetes namespace).
- map[string]string
- Resource tags.
- Topologies
[]Topologies
Properties Args - Defines the device topology for a target or instance.
- Version string
- Version of the particular resource.
- extended
Location This property is required. Changes to this property will trigger replacement.
Location - Edge location of the resource.
- resource
Group Name This property is required. Changes to this property will trigger replacement.
- The name of the resource group. The name is case insensitive.
- components
List<Component
Properties> - A list of components.
- location
Changes to this property will trigger replacement.
- The geo-location where the resource lives
- name
Changes to this property will trigger replacement.
- Name of target.
- reconciliation
Policy ReconciliationPolicy - Reconciliation Policy.
- scope String
- Deployment scope (such as Kubernetes namespace).
- Map<String,String>
- Resource tags.
- topologies
List<Topologies
Properties> - Defines the device topology for a target or instance.
- version String
- Version of the particular resource.
- extended
Location This property is required. Changes to this property will trigger replacement.
Location - Edge location of the resource.
- resource
Group Name This property is required. Changes to this property will trigger replacement.
- The name of the resource group. The name is case insensitive.
- components
Component
Properties[] - A list of components.
- location
Changes to this property will trigger replacement.
- The geo-location where the resource lives
- name
Changes to this property will trigger replacement.
- Name of target.
- reconciliation
Policy ReconciliationPolicy - Reconciliation Policy.
- scope string
- Deployment scope (such as Kubernetes namespace).
- {[key: string]: string}
- Resource tags.
- topologies
Topologies
Properties[] - Defines the device topology for a target or instance.
- version string
- Version of the particular resource.
- extended_
location This property is required. Changes to this property will trigger replacement.
Location Args - Edge location of the resource.
- resource_
group_ name This property is required. Changes to this property will trigger replacement.
- The name of the resource group. The name is case insensitive.
- components
Sequence[Component
Properties Args] - A list of components.
- location
Changes to this property will trigger replacement.
- The geo-location where the resource lives
- name
Changes to this property will trigger replacement.
- Name of target.
- reconciliation_
policy ReconciliationPolicy Args - Reconciliation Policy.
- scope str
- Deployment scope (such as Kubernetes namespace).
- Mapping[str, str]
- Resource tags.
- topologies
Sequence[Topologies
Properties Args] - Defines the device topology for a target or instance.
- version str
- Version of the particular resource.
- extended
Location This property is required. Changes to this property will trigger replacement.
- Edge location of the resource.
- resource
Group Name This property is required. Changes to this property will trigger replacement.
- The name of the resource group. The name is case insensitive.
- components List<Property Map>
- A list of components.
- location
Changes to this property will trigger replacement.
- The geo-location where the resource lives
- name
Changes to this property will trigger replacement.
- Name of target.
- reconciliation
Policy Property Map - Reconciliation Policy.
- scope String
- Deployment scope (such as Kubernetes namespace).
- Map<String>
- Resource tags.
- topologies List<Property Map>
- Defines the device topology for a target or instance.
- version String
- Version of the particular resource.
Outputs
All input properties are implicitly available as output properties. Additionally, the Target 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
BindingProperties, BindingPropertiesArgs
BindingPropertiesResponse, BindingPropertiesResponseArgs
ComponentProperties, ComponentPropertiesArgs
- Name
This property is required. string - Name of the component.
- Type
This property is required. string - Component type.
- Dependencies List<string>
- Component dependencies.
- Properties object
- Properties of the component.
- Name
This property is required. string - Name of the component.
- Type
This property is required. string - Component type.
- Dependencies []string
- Component dependencies.
- Properties interface{}
- Properties of the component.
- name
This property is required. String - Name of the component.
- type
This property is required. String - Component type.
- dependencies List<String>
- Component dependencies.
- properties Object
- Properties of the component.
- name
This property is required. string - Name of the component.
- type
This property is required. string - Component type.
- dependencies string[]
- Component dependencies.
- properties any
- Properties of the component.
- name
This property is required. str - Name of the component.
- type
This property is required. str - Component type.
- dependencies Sequence[str]
- Component dependencies.
- properties Any
- Properties of the component.
- name
This property is required. String - Name of the component.
- type
This property is required. String - Component type.
- dependencies List<String>
- Component dependencies.
- properties Any
- Properties of the component.
ComponentPropertiesResponse, ComponentPropertiesResponseArgs
- Name
This property is required. string - Name of the component.
- Type
This property is required. string - Component type.
- Dependencies List<string>
- Component dependencies.
- Properties object
- Properties of the component.
- Name
This property is required. string - Name of the component.
- Type
This property is required. string - Component type.
- Dependencies []string
- Component dependencies.
- Properties interface{}
- Properties of the component.
- name
This property is required. String - Name of the component.
- type
This property is required. String - Component type.
- dependencies List<String>
- Component dependencies.
- properties Object
- Properties of the component.
- name
This property is required. string - Name of the component.
- type
This property is required. string - Component type.
- dependencies string[]
- Component dependencies.
- properties any
- Properties of the component.
- name
This property is required. str - Name of the component.
- type
This property is required. str - Component type.
- dependencies Sequence[str]
- Component dependencies.
- properties Any
- Properties of the component.
- name
This property is required. String - Name of the component.
- type
This property is required. String - Component type.
- dependencies List<String>
- Component dependencies.
- properties Any
- Properties of the component.
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
This property is required. string | Pulumi.Azure Native. Io TOperations Orchestrator. Reconciliation Policies - Policy type
- Interval string
- Policy interval.
- Type
This property is required. string | ReconciliationPolicies - Policy type
- Interval string
- Policy interval.
- type
This property is required. String | ReconciliationPolicies - Policy type
- interval String
- Policy interval.
- type
This property is required. string | ReconciliationPolicies - Policy type
- interval string
- Policy interval.
- type
This property is required. str | ReconciliationPolicies - Policy type
- interval str
- Policy interval.
- type
This property is required. 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.
TopologiesProperties, TopologiesPropertiesArgs
- Bindings
List<Pulumi.
Azure Native. Io TOperations Orchestrator. Inputs. Binding Properties> - bindings description.
- Bindings
[]Binding
Properties - bindings description.
- bindings
List<Binding
Properties> - bindings description.
- bindings
Binding
Properties[] - bindings description.
- bindings
Sequence[Binding
Properties] - bindings description.
- bindings List<Property Map>
- bindings description.
TopologiesPropertiesResponse, TopologiesPropertiesResponseArgs
- Bindings
[]Binding
Properties Response - bindings description.
- bindings
List<Binding
Properties Response> - bindings description.
- bindings
Binding
Properties Response[] - bindings description.
- bindings
Sequence[Binding
Properties Response] - bindings description.
- bindings List<Property Map>
- bindings description.
Import
An existing resource can be imported using its type token, name, and identifier, e.g.
$ pulumi import azure-native:iotoperationsorchestrator:Target lrhoqxofrfoihqxmmxadhxeqzsnepc /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.IoTOperationsOrchestrator/targets/{name}
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- azure-native-v2 pulumi/pulumi-azure-native
- License
- Apache-2.0