com.pulumi.azure.datafactory.kotlin.IntegrationRuntimeSelfHostedArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-azure-kotlin Show documentation
Show all versions of pulumi-azure-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azure.datafactory.kotlin
import com.pulumi.azure.datafactory.IntegrationRuntimeSelfHostedArgs.builder
import com.pulumi.azure.datafactory.kotlin.inputs.IntegrationRuntimeSelfHostedRbacAuthorizationArgs
import com.pulumi.azure.datafactory.kotlin.inputs.IntegrationRuntimeSelfHostedRbacAuthorizationArgsBuilder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.Boolean
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
* Manages a Data Factory Self-hosted Integration Runtime.
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as azure from "@pulumi/azure";
* const example = new azure.core.ResourceGroup("example", {
* name: "example-resources",
* location: "West Europe",
* });
* const exampleFactory = new azure.datafactory.Factory("example", {
* name: "example",
* location: example.location,
* resourceGroupName: example.name,
* });
* const exampleIntegrationRuntimeSelfHosted = new azure.datafactory.IntegrationRuntimeSelfHosted("example", {
* name: "example",
* dataFactoryId: exampleFactory.id,
* });
* ```
* ```python
* import pulumi
* import pulumi_azure as azure
* example = azure.core.ResourceGroup("example",
* name="example-resources",
* location="West Europe")
* example_factory = azure.datafactory.Factory("example",
* name="example",
* location=example.location,
* resource_group_name=example.name)
* example_integration_runtime_self_hosted = azure.datafactory.IntegrationRuntimeSelfHosted("example",
* name="example",
* data_factory_id=example_factory.id)
* ```
* ```csharp
* using System.Collections.Generic;
* using System.Linq;
* using Pulumi;
* using Azure = Pulumi.Azure;
* return await Deployment.RunAsync(() =>
* {
* var example = new Azure.Core.ResourceGroup("example", new()
* {
* Name = "example-resources",
* Location = "West Europe",
* });
* var exampleFactory = new Azure.DataFactory.Factory("example", new()
* {
* Name = "example",
* Location = example.Location,
* ResourceGroupName = example.Name,
* });
* var exampleIntegrationRuntimeSelfHosted = new Azure.DataFactory.IntegrationRuntimeSelfHosted("example", new()
* {
* Name = "example",
* DataFactoryId = exampleFactory.Id,
* });
* });
* ```
* ```go
* 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 {
* example, err := core.NewResourceGroup(ctx, "example", &core.ResourceGroupArgs{
* Name: pulumi.String("example-resources"),
* Location: pulumi.String("West Europe"),
* })
* if err != nil {
* return err
* }
* exampleFactory, err := datafactory.NewFactory(ctx, "example", &datafactory.FactoryArgs{
* Name: pulumi.String("example"),
* Location: example.Location,
* ResourceGroupName: example.Name,
* })
* if err != nil {
* return err
* }
* _, err = datafactory.NewIntegrationRuntimeSelfHosted(ctx, "example", &datafactory.IntegrationRuntimeSelfHostedArgs{
* Name: pulumi.String("example"),
* DataFactoryId: exampleFactory.ID(),
* })
* if err != nil {
* return err
* }
* return nil
* })
* }
* ```
* ```java
* 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 example = new ResourceGroup("example", ResourceGroupArgs.builder()
* .name("example-resources")
* .location("West Europe")
* .build());
* var exampleFactory = new Factory("exampleFactory", FactoryArgs.builder()
* .name("example")
* .location(example.location())
* .resourceGroupName(example.name())
* .build());
* var exampleIntegrationRuntimeSelfHosted = new IntegrationRuntimeSelfHosted("exampleIntegrationRuntimeSelfHosted", IntegrationRuntimeSelfHostedArgs.builder()
* .name("example")
* .dataFactoryId(exampleFactory.id())
* .build());
* }
* }
* ```
* ```yaml
* resources:
* example:
* type: azure:core:ResourceGroup
* properties:
* name: example-resources
* location: West Europe
* exampleFactory:
* type: azure:datafactory:Factory
* name: example
* properties:
* name: example
* location: ${example.location}
* resourceGroupName: ${example.name}
* exampleIntegrationRuntimeSelfHosted:
* type: azure:datafactory:IntegrationRuntimeSelfHosted
* name: example
* properties:
* name: example
* dataFactoryId: ${exampleFactory.id}
* ```
*
* ## Import
* Data Factories can be imported using the `resource id`, e.g.
* ```sh
* $ pulumi import azure:datafactory/integrationRuntimeSelfHosted:IntegrationRuntimeSelfHosted example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/example/providers/Microsoft.DataFactory/factories/example/integrationruntimes/example
* ```
* @property dataFactoryId The Data Factory ID in which to associate the Linked Service with. Changing this forces a new resource.
* @property description Integration runtime description.
* @property name The name which should be used for this Data Factory. Changing this forces a new Data Factory Self-hosted Integration Runtime to be created.
* @property rbacAuthorizations A `rbac_authorization` block as defined below. Changing this forces a new resource to be created.
* @property selfContainedInteractiveAuthoringEnabled Specifies whether enable interactive authoring function when your self-hosted integration runtime is unable to establish a connection with Azure Relay.
*/
public data class IntegrationRuntimeSelfHostedArgs(
public val dataFactoryId: Output? = null,
public val description: Output? = null,
public val name: Output? = null,
public val rbacAuthorizations: Output>? =
null,
public val selfContainedInteractiveAuthoringEnabled: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azure.datafactory.IntegrationRuntimeSelfHostedArgs =
com.pulumi.azure.datafactory.IntegrationRuntimeSelfHostedArgs.builder()
.dataFactoryId(dataFactoryId?.applyValue({ args0 -> args0 }))
.description(description?.applyValue({ args0 -> args0 }))
.name(name?.applyValue({ args0 -> args0 }))
.rbacAuthorizations(
rbacAuthorizations?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 -> args0.toJava() })
})
}),
)
.selfContainedInteractiveAuthoringEnabled(
selfContainedInteractiveAuthoringEnabled?.applyValue({ args0 ->
args0
}),
).build()
}
/**
* Builder for [IntegrationRuntimeSelfHostedArgs].
*/
@PulumiTagMarker
public class IntegrationRuntimeSelfHostedArgsBuilder internal constructor() {
private var dataFactoryId: Output? = null
private var description: Output? = null
private var name: Output? = null
private var rbacAuthorizations: Output>? =
null
private var selfContainedInteractiveAuthoringEnabled: Output? = null
/**
* @param value The Data Factory ID in which to associate the Linked Service with. Changing this forces a new resource.
*/
@JvmName("wxfgytpoorghwsbn")
public suspend fun dataFactoryId(`value`: Output) {
this.dataFactoryId = value
}
/**
* @param value Integration runtime description.
*/
@JvmName("fpmthtsnxofthbih")
public suspend fun description(`value`: Output) {
this.description = value
}
/**
* @param value The name which should be used for this Data Factory. Changing this forces a new Data Factory Self-hosted Integration Runtime to be created.
*/
@JvmName("odvqnlfkyoxeniyd")
public suspend fun name(`value`: Output) {
this.name = value
}
/**
* @param value A `rbac_authorization` block as defined below. Changing this forces a new resource to be created.
*/
@JvmName("pwxhvqhqidqswovn")
public suspend
fun rbacAuthorizations(`value`: Output>) {
this.rbacAuthorizations = value
}
@JvmName("mqainqhsvthsufwu")
public suspend fun rbacAuthorizations(
vararg
values: Output,
) {
this.rbacAuthorizations = Output.all(values.asList())
}
/**
* @param values A `rbac_authorization` block as defined below. Changing this forces a new resource to be created.
*/
@JvmName("yfjfutamdfbgthdl")
public suspend
fun rbacAuthorizations(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy