1. Packages
  2. Azure Native
  3. API Docs
  4. iotoperationsdataprocessor
  5. Instance
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.63.0 published on Tuesday, Sep 24, 2024 by Pulumi

azure-native.iotoperationsdataprocessor.Instance

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.63.0 published on Tuesday, Sep 24, 2024 by Pulumi

    A Instance resource is a logical container for a set of child resources. Azure REST API version: 2023-10-04-preview.

    Example Usage

    Instances create or update - 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.IoTOperationsDataProcessor.Instance("instance", new()
        {
            Description = "ytazzjdwgnnwsmexqasgpyabrtkgtf",
            ExtendedLocation = new AzureNative.IoTOperationsDataProcessor.Inputs.ExtendedLocationArgs
            {
                Name = "/subscriptions/e0aaa3df-e9a4-456a-9824-3c3b5c438110/resourceGroups/IoTOperationsDataProcessor-rg/providers/Microsoft.ExtendedLocation/customLocations/dev-space",
                Type = "CustomLocation",
            },
            InstanceName = "15wp-47-e60s18w",
            Location = "westus",
            ResourceGroupName = "rgopenapi",
            Tags = null,
        });
    
    });
    
    package main
    
    import (
    	iotoperationsdataprocessor "github.com/pulumi/pulumi-azure-native-sdk/iotoperationsdataprocessor/v2"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := iotoperationsdataprocessor.NewInstance(ctx, "instance", &iotoperationsdataprocessor.InstanceArgs{
    			Description: pulumi.String("ytazzjdwgnnwsmexqasgpyabrtkgtf"),
    			ExtendedLocation: &iotoperationsdataprocessor.ExtendedLocationArgs{
    				Name: pulumi.String("/subscriptions/e0aaa3df-e9a4-456a-9824-3c3b5c438110/resourceGroups/IoTOperationsDataProcessor-rg/providers/Microsoft.ExtendedLocation/customLocations/dev-space"),
    				Type: pulumi.String("CustomLocation"),
    			},
    			InstanceName:      pulumi.String("15wp-47-e60s18w"),
    			Location:          pulumi.String("westus"),
    			ResourceGroupName: pulumi.String("rgopenapi"),
    			Tags:              nil,
    		})
    		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.iotoperationsdataprocessor.Instance;
    import com.pulumi.azurenative.iotoperationsdataprocessor.InstanceArgs;
    import com.pulumi.azurenative.iotoperationsdataprocessor.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 instance = new Instance("instance", InstanceArgs.builder()
                .description("ytazzjdwgnnwsmexqasgpyabrtkgtf")
                .extendedLocation(ExtendedLocationArgs.builder()
                    .name("/subscriptions/e0aaa3df-e9a4-456a-9824-3c3b5c438110/resourceGroups/IoTOperationsDataProcessor-rg/providers/Microsoft.ExtendedLocation/customLocations/dev-space")
                    .type("CustomLocation")
                    .build())
                .instanceName("15wp-47-e60s18w")
                .location("westus")
                .resourceGroupName("rgopenapi")
                .tags()
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_azure_native as azure_native
    
    instance = azure_native.iotoperationsdataprocessor.Instance("instance",
        description="ytazzjdwgnnwsmexqasgpyabrtkgtf",
        extended_location={
            "name": "/subscriptions/e0aaa3df-e9a4-456a-9824-3c3b5c438110/resourceGroups/IoTOperationsDataProcessor-rg/providers/Microsoft.ExtendedLocation/customLocations/dev-space",
            "type": "CustomLocation",
        },
        instance_name="15wp-47-e60s18w",
        location="westus",
        resource_group_name="rgopenapi",
        tags={})
    
    import * as pulumi from "@pulumi/pulumi";
    import * as azure_native from "@pulumi/azure-native";
    
    const instance = new azure_native.iotoperationsdataprocessor.Instance("instance", {
        description: "ytazzjdwgnnwsmexqasgpyabrtkgtf",
        extendedLocation: {
            name: "/subscriptions/e0aaa3df-e9a4-456a-9824-3c3b5c438110/resourceGroups/IoTOperationsDataProcessor-rg/providers/Microsoft.ExtendedLocation/customLocations/dev-space",
            type: "CustomLocation",
        },
        instanceName: "15wp-47-e60s18w",
        location: "westus",
        resourceGroupName: "rgopenapi",
        tags: {},
    });
    
    resources:
      instance:
        type: azure-native:iotoperationsdataprocessor:Instance
        properties:
          description: ytazzjdwgnnwsmexqasgpyabrtkgtf
          extendedLocation:
            name: /subscriptions/e0aaa3df-e9a4-456a-9824-3c3b5c438110/resourceGroups/IoTOperationsDataProcessor-rg/providers/Microsoft.ExtendedLocation/customLocations/dev-space
            type: CustomLocation
          instanceName: 15wp-47-e60s18w
          location: westus
          resourceGroupName: rgopenapi
          tags: {}
    

    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,
                 description: Optional[str] = None,
                 instance_name: Optional[str] = None,
                 location: Optional[str] = None,
                 tags: Optional[Mapping[str, 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:iotoperationsdataprocessor: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 exampleinstanceResourceResourceFromIotoperationsdataprocessor = new AzureNative.IoTOperationsDataProcessor.Instance("exampleinstanceResourceResourceFromIotoperationsdataprocessor", new()
    {
        ExtendedLocation = new AzureNative.IoTOperationsDataProcessor.Inputs.ExtendedLocationArgs
        {
            Name = "string",
            Type = "string",
        },
        ResourceGroupName = "string",
        Description = "string",
        InstanceName = "string",
        Location = "string",
        Tags = 
        {
            { "string", "string" },
        },
    });
    
    example, err := iotoperationsdataprocessor.NewInstance(ctx, "exampleinstanceResourceResourceFromIotoperationsdataprocessor", &iotoperationsdataprocessor.InstanceArgs{
    	ExtendedLocation: &iotoperationsdataprocessor.ExtendedLocationArgs{
    		Name: pulumi.String("string"),
    		Type: pulumi.String("string"),
    	},
    	ResourceGroupName: pulumi.String("string"),
    	Description:       pulumi.String("string"),
    	InstanceName:      pulumi.String("string"),
    	Location:          pulumi.String("string"),
    	Tags: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    })
    
    var exampleinstanceResourceResourceFromIotoperationsdataprocessor = new Instance("exampleinstanceResourceResourceFromIotoperationsdataprocessor", InstanceArgs.builder()
        .extendedLocation(ExtendedLocationArgs.builder()
            .name("string")
            .type("string")
            .build())
        .resourceGroupName("string")
        .description("string")
        .instanceName("string")
        .location("string")
        .tags(Map.of("string", "string"))
        .build());
    
    exampleinstance_resource_resource_from_iotoperationsdataprocessor = azure_native.iotoperationsdataprocessor.Instance("exampleinstanceResourceResourceFromIotoperationsdataprocessor",
        extended_location={
            "name": "string",
            "type": "string",
        },
        resource_group_name="string",
        description="string",
        instance_name="string",
        location="string",
        tags={
            "string": "string",
        })
    
    const exampleinstanceResourceResourceFromIotoperationsdataprocessor = new azure_native.iotoperationsdataprocessor.Instance("exampleinstanceResourceResourceFromIotoperationsdataprocessor", {
        extendedLocation: {
            name: "string",
            type: "string",
        },
        resourceGroupName: "string",
        description: "string",
        instanceName: "string",
        location: "string",
        tags: {
            string: "string",
        },
    });
    
    type: azure-native:iotoperationsdataprocessor:Instance
    properties:
        description: string
        extendedLocation:
            name: string
            type: string
        instanceName: string
        location: string
        resourceGroupName: string
        tags:
            string: 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:

    ExtendedLocation Pulumi.AzureNative.IoTOperationsDataProcessor.Inputs.ExtendedLocation
    Edge location of the resource.
    ResourceGroupName string
    The name of the resource group. The name is case insensitive.
    Description string
    Detailed description of the Instance.
    InstanceName string
    Name of instance.
    Location string
    The geo-location where the resource lives
    Tags Dictionary<string, string>
    Resource tags.
    ExtendedLocation ExtendedLocationArgs
    Edge location of the resource.
    ResourceGroupName string
    The name of the resource group. The name is case insensitive.
    Description string
    Detailed description of the Instance.
    InstanceName string
    Name of instance.
    Location string
    The geo-location where the resource lives
    Tags map[string]string
    Resource tags.
    extendedLocation ExtendedLocation
    Edge location of the resource.
    resourceGroupName String
    The name of the resource group. The name is case insensitive.
    description String
    Detailed description of the Instance.
    instanceName String
    Name of instance.
    location String
    The geo-location where the resource lives
    tags Map<String,String>
    Resource tags.
    extendedLocation ExtendedLocation
    Edge location of the resource.
    resourceGroupName string
    The name of the resource group. The name is case insensitive.
    description string
    Detailed description of the Instance.
    instanceName string
    Name of instance.
    location string
    The geo-location where the resource lives
    tags {[key: string]: string}
    Resource tags.
    extended_location ExtendedLocationArgs
    Edge location of the resource.
    resource_group_name str
    The name of the resource group. The name is case insensitive.
    description str
    Detailed description of the Instance.
    instance_name str
    Name of instance.
    location str
    The geo-location where the resource lives
    tags Mapping[str, str]
    Resource tags.
    extendedLocation Property Map
    Edge location of the resource.
    resourceGroupName String
    The name of the resource group. The name is case insensitive.
    description String
    Detailed description of the Instance.
    instanceName String
    Name of instance.
    location String
    The geo-location where the resource lives
    tags Map<String>
    Resource tags.

    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.
    Name string
    The name of the resource
    ProvisioningState string
    The status of the last operation.
    SystemData Pulumi.AzureNative.IoTOperationsDataProcessor.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.
    Name string
    The name of the 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.
    name String
    The name of the 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.
    name string
    The name of the 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.
    name str
    The name of the 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.
    name String
    The name of the 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

    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:iotoperationsdataprocessor:Instance IoTOperationsDataProcessor-instance-name /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.IoTOperationsDataProcessor/instances/{instanceName} 
    

    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.63.0 published on Tuesday, Sep 24, 2024 by Pulumi