Azure Classic

v5.24.0 published on Wednesday, Nov 9, 2022 by Pulumi

IntegrationRuntimeSelfHosted

Manages a Data Factory Self-hosted Integration Runtime.

Example Usage

using System.Collections.Generic;
using Pulumi;
using Azure = Pulumi.Azure;

return await Deployment.RunAsync(() => 
{
    var exampleResourceGroup = new Azure.Core.ResourceGroup("exampleResourceGroup", new()
    {
        Location = "West Europe",
    });

    var exampleFactory = new Azure.DataFactory.Factory("exampleFactory", new()
    {
        Location = exampleResourceGroup.Location,
        ResourceGroupName = exampleResourceGroup.Name,
    });

    var exampleIntegrationRuntimeSelfHosted = new Azure.DataFactory.IntegrationRuntimeSelfHosted("exampleIntegrationRuntimeSelfHosted", new()
    {
        DataFactoryId = exampleFactory.Id,
    });

});
package main

import (
	"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core"
	"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/datafactory"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		exampleResourceGroup, err := core.NewResourceGroup(ctx, "exampleResourceGroup", &core.ResourceGroupArgs{
			Location: pulumi.String("West Europe"),
		})
		if err != nil {
			return err
		}
		exampleFactory, err := datafactory.NewFactory(ctx, "exampleFactory", &datafactory.FactoryArgs{
			Location:          exampleResourceGroup.Location,
			ResourceGroupName: exampleResourceGroup.Name,
		})
		if err != nil {
			return err
		}
		_, err = datafactory.NewIntegrationRuntimeSelfHosted(ctx, "exampleIntegrationRuntimeSelfHosted", &datafactory.IntegrationRuntimeSelfHostedArgs{
			DataFactoryId: exampleFactory.ID(),
		})
		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.azure.core.ResourceGroup;
import com.pulumi.azure.core.ResourceGroupArgs;
import com.pulumi.azure.datafactory.Factory;
import com.pulumi.azure.datafactory.FactoryArgs;
import com.pulumi.azure.datafactory.IntegrationRuntimeSelfHosted;
import com.pulumi.azure.datafactory.IntegrationRuntimeSelfHostedArgs;
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 exampleResourceGroup = new ResourceGroup("exampleResourceGroup", ResourceGroupArgs.builder()        
            .location("West Europe")
            .build());

        var exampleFactory = new Factory("exampleFactory", FactoryArgs.builder()        
            .location(exampleResourceGroup.location())
            .resourceGroupName(exampleResourceGroup.name())
            .build());

        var exampleIntegrationRuntimeSelfHosted = new IntegrationRuntimeSelfHosted("exampleIntegrationRuntimeSelfHosted", IntegrationRuntimeSelfHostedArgs.builder()        
            .dataFactoryId(exampleFactory.id())
            .build());

    }
}
import pulumi
import pulumi_azure as azure

example_resource_group = azure.core.ResourceGroup("exampleResourceGroup", location="West Europe")
example_factory = azure.datafactory.Factory("exampleFactory",
    location=example_resource_group.location,
    resource_group_name=example_resource_group.name)
example_integration_runtime_self_hosted = azure.datafactory.IntegrationRuntimeSelfHosted("exampleIntegrationRuntimeSelfHosted", data_factory_id=example_factory.id)
import * as pulumi from "@pulumi/pulumi";
import * as azure from "@pulumi/azure";

const exampleResourceGroup = new azure.core.ResourceGroup("exampleResourceGroup", {location: "West Europe"});
const exampleFactory = new azure.datafactory.Factory("exampleFactory", {
    location: exampleResourceGroup.location,
    resourceGroupName: exampleResourceGroup.name,
});
const exampleIntegrationRuntimeSelfHosted = new azure.datafactory.IntegrationRuntimeSelfHosted("exampleIntegrationRuntimeSelfHosted", {dataFactoryId: exampleFactory.id});
resources:
  exampleResourceGroup:
    type: azure:core:ResourceGroup
    properties:
      location: West Europe
  exampleFactory:
    type: azure:datafactory:Factory
    properties:
      location: ${exampleResourceGroup.location}
      resourceGroupName: ${exampleResourceGroup.name}
  exampleIntegrationRuntimeSelfHosted:
    type: azure:datafactory:IntegrationRuntimeSelfHosted
    properties:
      dataFactoryId: ${exampleFactory.id}

Create IntegrationRuntimeSelfHosted Resource

new IntegrationRuntimeSelfHosted(name: string, args: IntegrationRuntimeSelfHostedArgs, opts?: CustomResourceOptions);
@overload
def IntegrationRuntimeSelfHosted(resource_name: str,
                                 opts: Optional[ResourceOptions] = None,
                                 data_factory_id: Optional[str] = None,
                                 description: Optional[str] = None,
                                 name: Optional[str] = None,
                                 rbac_authorizations: Optional[Sequence[IntegrationRuntimeSelfHostedRbacAuthorizationArgs]] = None)
@overload
def IntegrationRuntimeSelfHosted(resource_name: str,
                                 args: IntegrationRuntimeSelfHostedArgs,
                                 opts: Optional[ResourceOptions] = None)
func NewIntegrationRuntimeSelfHosted(ctx *Context, name string, args IntegrationRuntimeSelfHostedArgs, opts ...ResourceOption) (*IntegrationRuntimeSelfHosted, error)
public IntegrationRuntimeSelfHosted(string name, IntegrationRuntimeSelfHostedArgs args, CustomResourceOptions? opts = null)
public IntegrationRuntimeSelfHosted(String name, IntegrationRuntimeSelfHostedArgs args)
public IntegrationRuntimeSelfHosted(String name, IntegrationRuntimeSelfHostedArgs args, CustomResourceOptions options)
type: azure:datafactory:IntegrationRuntimeSelfHosted
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

name string
The unique name of the resource.
args IntegrationRuntimeSelfHostedArgs
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 IntegrationRuntimeSelfHostedArgs
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 IntegrationRuntimeSelfHostedArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args IntegrationRuntimeSelfHostedArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name String
The unique name of the resource.
args IntegrationRuntimeSelfHostedArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

IntegrationRuntimeSelfHosted 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 IntegrationRuntimeSelfHosted resource accepts the following input properties:

DataFactoryId string

The Data Factory ID in which to associate the Linked Service with. Changing this forces a new resource.

Description string

Integration runtime description.

Name string

The name which should be used for this Data Factory. Changing this forces a new Data Factory Self-hosted Integration Runtime to be created.

RbacAuthorizations List<IntegrationRuntimeSelfHostedRbacAuthorizationArgs>

A rbac_authorization block as defined below.

DataFactoryId string

The Data Factory ID in which to associate the Linked Service with. Changing this forces a new resource.

Description string

Integration runtime description.

Name string

The name which should be used for this Data Factory. Changing this forces a new Data Factory Self-hosted Integration Runtime to be created.

RbacAuthorizations []IntegrationRuntimeSelfHostedRbacAuthorizationArgs

A rbac_authorization block as defined below.

dataFactoryId String

The Data Factory ID in which to associate the Linked Service with. Changing this forces a new resource.

description String

Integration runtime description.

name String

The name which should be used for this Data Factory. Changing this forces a new Data Factory Self-hosted Integration Runtime to be created.

rbacAuthorizations List<IntegrationRuntimeSelfHostedRbacAuthorizationArgs>

A rbac_authorization block as defined below.

dataFactoryId string

The Data Factory ID in which to associate the Linked Service with. Changing this forces a new resource.

description string

Integration runtime description.

name string

The name which should be used for this Data Factory. Changing this forces a new Data Factory Self-hosted Integration Runtime to be created.

rbacAuthorizations IntegrationRuntimeSelfHostedRbacAuthorizationArgs[]

A rbac_authorization block as defined below.

data_factory_id str

The Data Factory ID in which to associate the Linked Service with. Changing this forces a new resource.

description str

Integration runtime description.

name str

The name which should be used for this Data Factory. Changing this forces a new Data Factory Self-hosted Integration Runtime to be created.

rbac_authorizations Sequence[IntegrationRuntimeSelfHostedRbacAuthorizationArgs]

A rbac_authorization block as defined below.

dataFactoryId String

The Data Factory ID in which to associate the Linked Service with. Changing this forces a new resource.

description String

Integration runtime description.

name String

The name which should be used for this Data Factory. Changing this forces a new Data Factory Self-hosted Integration Runtime to be created.

rbacAuthorizations List<Property Map>

A rbac_authorization block as defined below.

Outputs

All input properties are implicitly available as output properties. Additionally, the IntegrationRuntimeSelfHosted resource produces the following output properties:

Id string

The provider-assigned unique ID for this managed resource.

PrimaryAuthorizationKey string

The primary integration runtime authentication key.

SecondaryAuthorizationKey string

The secondary integration runtime authentication key.

Id string

The provider-assigned unique ID for this managed resource.

PrimaryAuthorizationKey string

The primary integration runtime authentication key.

SecondaryAuthorizationKey string

The secondary integration runtime authentication key.

id String

The provider-assigned unique ID for this managed resource.

primaryAuthorizationKey String

The primary integration runtime authentication key.

secondaryAuthorizationKey String

The secondary integration runtime authentication key.

id string

The provider-assigned unique ID for this managed resource.

primaryAuthorizationKey string

The primary integration runtime authentication key.

secondaryAuthorizationKey string

The secondary integration runtime authentication key.

id str

The provider-assigned unique ID for this managed resource.

primary_authorization_key str

The primary integration runtime authentication key.

secondary_authorization_key str

The secondary integration runtime authentication key.

id String

The provider-assigned unique ID for this managed resource.

primaryAuthorizationKey String

The primary integration runtime authentication key.

secondaryAuthorizationKey String

The secondary integration runtime authentication key.

Look up Existing IntegrationRuntimeSelfHosted Resource

Get an existing IntegrationRuntimeSelfHosted resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

public static get(name: string, id: Input<ID>, state?: IntegrationRuntimeSelfHostedState, opts?: CustomResourceOptions): IntegrationRuntimeSelfHosted
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        data_factory_id: Optional[str] = None,
        description: Optional[str] = None,
        name: Optional[str] = None,
        primary_authorization_key: Optional[str] = None,
        rbac_authorizations: Optional[Sequence[IntegrationRuntimeSelfHostedRbacAuthorizationArgs]] = None,
        secondary_authorization_key: Optional[str] = None) -> IntegrationRuntimeSelfHosted
func GetIntegrationRuntimeSelfHosted(ctx *Context, name string, id IDInput, state *IntegrationRuntimeSelfHostedState, opts ...ResourceOption) (*IntegrationRuntimeSelfHosted, error)
public static IntegrationRuntimeSelfHosted Get(string name, Input<string> id, IntegrationRuntimeSelfHostedState? state, CustomResourceOptions? opts = null)
public static IntegrationRuntimeSelfHosted get(String name, Output<String> id, IntegrationRuntimeSelfHostedState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
resource_name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
The following state arguments are supported:
DataFactoryId string

The Data Factory ID in which to associate the Linked Service with. Changing this forces a new resource.

Description string

Integration runtime description.

Name string

The name which should be used for this Data Factory. Changing this forces a new Data Factory Self-hosted Integration Runtime to be created.

PrimaryAuthorizationKey string

The primary integration runtime authentication key.

RbacAuthorizations List<IntegrationRuntimeSelfHostedRbacAuthorizationArgs>

A rbac_authorization block as defined below.

SecondaryAuthorizationKey string

The secondary integration runtime authentication key.

DataFactoryId string

The Data Factory ID in which to associate the Linked Service with. Changing this forces a new resource.

Description string

Integration runtime description.

Name string

The name which should be used for this Data Factory. Changing this forces a new Data Factory Self-hosted Integration Runtime to be created.

PrimaryAuthorizationKey string

The primary integration runtime authentication key.

RbacAuthorizations []IntegrationRuntimeSelfHostedRbacAuthorizationArgs

A rbac_authorization block as defined below.

SecondaryAuthorizationKey string

The secondary integration runtime authentication key.

dataFactoryId String

The Data Factory ID in which to associate the Linked Service with. Changing this forces a new resource.

description String

Integration runtime description.

name String

The name which should be used for this Data Factory. Changing this forces a new Data Factory Self-hosted Integration Runtime to be created.

primaryAuthorizationKey String

The primary integration runtime authentication key.

rbacAuthorizations List<IntegrationRuntimeSelfHostedRbacAuthorizationArgs>

A rbac_authorization block as defined below.

secondaryAuthorizationKey String

The secondary integration runtime authentication key.

dataFactoryId string

The Data Factory ID in which to associate the Linked Service with. Changing this forces a new resource.

description string

Integration runtime description.

name string

The name which should be used for this Data Factory. Changing this forces a new Data Factory Self-hosted Integration Runtime to be created.

primaryAuthorizationKey string

The primary integration runtime authentication key.

rbacAuthorizations IntegrationRuntimeSelfHostedRbacAuthorizationArgs[]

A rbac_authorization block as defined below.

secondaryAuthorizationKey string

The secondary integration runtime authentication key.

data_factory_id str

The Data Factory ID in which to associate the Linked Service with. Changing this forces a new resource.

description str

Integration runtime description.

name str

The name which should be used for this Data Factory. Changing this forces a new Data Factory Self-hosted Integration Runtime to be created.

primary_authorization_key str

The primary integration runtime authentication key.

rbac_authorizations Sequence[IntegrationRuntimeSelfHostedRbacAuthorizationArgs]

A rbac_authorization block as defined below.

secondary_authorization_key str

The secondary integration runtime authentication key.

dataFactoryId String

The Data Factory ID in which to associate the Linked Service with. Changing this forces a new resource.

description String

Integration runtime description.

name String

The name which should be used for this Data Factory. Changing this forces a new Data Factory Self-hosted Integration Runtime to be created.

primaryAuthorizationKey String

The primary integration runtime authentication key.

rbacAuthorizations List<Property Map>

A rbac_authorization block as defined below.

secondaryAuthorizationKey String

The secondary integration runtime authentication key.

Supporting Types

IntegrationRuntimeSelfHostedRbacAuthorization

ResourceId string

The resource identifier of the integration runtime to be shared. Changing this forces a new Data Factory to be created.

ResourceId string

The resource identifier of the integration runtime to be shared. Changing this forces a new Data Factory to be created.

resourceId String

The resource identifier of the integration runtime to be shared. Changing this forces a new Data Factory to be created.

resourceId string

The resource identifier of the integration runtime to be shared. Changing this forces a new Data Factory to be created.

resource_id str

The resource identifier of the integration runtime to be shared. Changing this forces a new Data Factory to be created.

resourceId String

The resource identifier of the integration runtime to be shared. Changing this forces a new Data Factory to be created.

Import

Data Factories can be imported using the resource id, e.g.

 $ pulumi import azure:datafactory/integrationRuntimeSelfHosted:IntegrationRuntimeSelfHosted example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/example/providers/Microsoft.DataFactory/factories/example/integrationruntimes/example

Package Details

Repository
https://github.com/pulumi/pulumi-azure
License
Apache-2.0
Notes

This Pulumi package is based on the azurerm Terraform Provider.