All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.azure.synapse.IntegrationRuntimeSelfHosted Maven / Gradle / Ivy

Go to download

A Pulumi package for creating and managing Microsoft Azure cloud resources, based on the Terraform azurerm provider. We recommend using the [Azure Native provider](https://github.com/pulumi/pulumi-azure-native) to provision Azure infrastructure. Azure Native provides complete coverage of Azure resources and same-day access to new resources and resource updates.

There is a newer version: 6.10.0-alpha.1731737215
Show newest version
// *** WARNING: this file was generated by pulumi-java-gen. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***

package com.pulumi.azure.synapse;

import com.pulumi.azure.Utilities;
import com.pulumi.azure.synapse.IntegrationRuntimeSelfHostedArgs;
import com.pulumi.azure.synapse.inputs.IntegrationRuntimeSelfHostedState;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Export;
import com.pulumi.core.annotations.ResourceType;
import com.pulumi.core.internal.Codegen;
import java.lang.String;
import java.util.Optional;
import javax.annotation.Nullable;

/**
 * Manages a Synapse Self-hosted Integration Runtime.
 * 
 * ## Example Usage
 * 
 * <!--Start PulumiCodeChooser -->
 * 
 * {@code
 * 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.storage.Account;
 * import com.pulumi.azure.storage.AccountArgs;
 * import com.pulumi.azure.storage.Container;
 * import com.pulumi.azure.storage.ContainerArgs;
 * import com.pulumi.azure.storage.DataLakeGen2Filesystem;
 * import com.pulumi.azure.storage.DataLakeGen2FilesystemArgs;
 * import com.pulumi.azure.synapse.Workspace;
 * import com.pulumi.azure.synapse.WorkspaceArgs;
 * import com.pulumi.azure.synapse.inputs.WorkspaceIdentityArgs;
 * import com.pulumi.azure.synapse.FirewallRule;
 * import com.pulumi.azure.synapse.FirewallRuleArgs;
 * import com.pulumi.azure.synapse.IntegrationRuntimeSelfHosted;
 * import com.pulumi.azure.synapse.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 }{{@code
 *     public static void main(String[] args) }{{@code
 *         Pulumi.run(App::stack);
 *     }}{@code
 * 
 *     public static void stack(Context ctx) }{{@code
 *         var example = new ResourceGroup("example", ResourceGroupArgs.builder()
 *             .name("example")
 *             .location("West Europe")
 *             .build());
 * 
 *         var exampleAccount = new Account("exampleAccount", AccountArgs.builder()
 *             .name("example")
 *             .location(example.location())
 *             .resourceGroupName(example.name())
 *             .accountTier("Standard")
 *             .accountReplicationType("LRS")
 *             .build());
 * 
 *         var exampleContainer = new Container("exampleContainer", ContainerArgs.builder()
 *             .name("content")
 *             .storageAccountName(exampleAccount.name())
 *             .containerAccessType("private")
 *             .build());
 * 
 *         var exampleDataLakeGen2Filesystem = new DataLakeGen2Filesystem("exampleDataLakeGen2Filesystem", DataLakeGen2FilesystemArgs.builder()
 *             .name("example")
 *             .storageAccountId(exampleAccount.id())
 *             .build());
 * 
 *         var exampleWorkspace = new Workspace("exampleWorkspace", WorkspaceArgs.builder()
 *             .name("example")
 *             .location(example.location())
 *             .resourceGroupName(example.name())
 *             .storageDataLakeGen2FilesystemId(exampleDataLakeGen2Filesystem.id())
 *             .sqlAdministratorLogin("sqladminuser")
 *             .sqlAdministratorLoginPassword("H}{@literal @}{@code Sh1CoR3!")
 *             .managedVirtualNetworkEnabled(true)
 *             .identity(WorkspaceIdentityArgs.builder()
 *                 .type("SystemAssigned")
 *                 .build())
 *             .build());
 * 
 *         var exampleFirewallRule = new FirewallRule("exampleFirewallRule", FirewallRuleArgs.builder()
 *             .name("AllowAll")
 *             .synapseWorkspaceId(exampleWorkspace.id())
 *             .startIpAddress("0.0.0.0")
 *             .endIpAddress("255.255.255.255")
 *             .build());
 * 
 *         var exampleIntegrationRuntimeSelfHosted = new IntegrationRuntimeSelfHosted("exampleIntegrationRuntimeSelfHosted", IntegrationRuntimeSelfHostedArgs.builder()
 *             .name("example")
 *             .synapseWorkspaceId(exampleWorkspace.id())
 *             .build());
 * 
 *     }}{@code
 * }}{@code
 * }
 * 
* <!--End PulumiCodeChooser --> * * ## Import * * Synapse Self-hosted Integration Runtimes can be imported using the `resource id`, e.g. * * ```sh * $ pulumi import azure:synapse/integrationRuntimeSelfHosted:IntegrationRuntimeSelfHosted example /subscriptions/12345678-1234-9876-4563-123456789012/resourceGroups/resGroup1/providers/Microsoft.Synapse/workspaces/workspace1/integrationRuntimes/IntegrationRuntime1 * ``` * */ @ResourceType(type="azure:synapse/integrationRuntimeSelfHosted:IntegrationRuntimeSelfHosted") public class IntegrationRuntimeSelfHosted extends com.pulumi.resources.CustomResource { /** * The primary integration runtime authentication key. * */ @Export(name="authorizationKeyPrimary", refs={String.class}, tree="[0]") private Output authorizationKeyPrimary; /** * @return The primary integration runtime authentication key. * */ public Output authorizationKeyPrimary() { return this.authorizationKeyPrimary; } /** * The secondary integration runtime authentication key. * */ @Export(name="authorizationKeySecondary", refs={String.class}, tree="[0]") private Output authorizationKeySecondary; /** * @return The secondary integration runtime authentication key. * */ public Output authorizationKeySecondary() { return this.authorizationKeySecondary; } /** * Integration runtime description. * */ @Export(name="description", refs={String.class}, tree="[0]") private Output description; /** * @return Integration runtime description. * */ public Output> description() { return Codegen.optional(this.description); } /** * The name which should be used for this Synapse Self-hosted Integration Runtime. Changing this forces a new Synapse Self-hosted Integration Runtime to be created. * */ @Export(name="name", refs={String.class}, tree="[0]") private Output name; /** * @return The name which should be used for this Synapse Self-hosted Integration Runtime. Changing this forces a new Synapse Self-hosted Integration Runtime to be created. * */ public Output name() { return this.name; } /** * The Synapse Workspace ID in which to associate the Integration Runtime with. Changing this forces a new Synapse Self-hosted Integration Runtime to be created. * */ @Export(name="synapseWorkspaceId", refs={String.class}, tree="[0]") private Output synapseWorkspaceId; /** * @return The Synapse Workspace ID in which to associate the Integration Runtime with. Changing this forces a new Synapse Self-hosted Integration Runtime to be created. * */ public Output synapseWorkspaceId() { return this.synapseWorkspaceId; } /** * * @param name The _unique_ name of the resulting resource. */ public IntegrationRuntimeSelfHosted(java.lang.String name) { this(name, IntegrationRuntimeSelfHostedArgs.Empty); } /** * * @param name The _unique_ name of the resulting resource. * @param args The arguments to use to populate this resource's properties. */ public IntegrationRuntimeSelfHosted(java.lang.String name, IntegrationRuntimeSelfHostedArgs args) { this(name, args, null); } /** * * @param name The _unique_ name of the resulting resource. * @param args The arguments to use to populate this resource's properties. * @param options A bag of options that control this resource's behavior. */ public IntegrationRuntimeSelfHosted(java.lang.String name, IntegrationRuntimeSelfHostedArgs args, @Nullable com.pulumi.resources.CustomResourceOptions options) { super("azure:synapse/integrationRuntimeSelfHosted:IntegrationRuntimeSelfHosted", name, makeArgs(args, options), makeResourceOptions(options, Codegen.empty()), false); } private IntegrationRuntimeSelfHosted(java.lang.String name, Output id, @Nullable IntegrationRuntimeSelfHostedState state, @Nullable com.pulumi.resources.CustomResourceOptions options) { super("azure:synapse/integrationRuntimeSelfHosted:IntegrationRuntimeSelfHosted", name, state, makeResourceOptions(options, id), false); } private static IntegrationRuntimeSelfHostedArgs makeArgs(IntegrationRuntimeSelfHostedArgs args, @Nullable com.pulumi.resources.CustomResourceOptions options) { if (options != null && options.getUrn().isPresent()) { return null; } return args == null ? IntegrationRuntimeSelfHostedArgs.Empty : args; } private static com.pulumi.resources.CustomResourceOptions makeResourceOptions(@Nullable com.pulumi.resources.CustomResourceOptions options, @Nullable Output id) { var defaultOptions = com.pulumi.resources.CustomResourceOptions.builder() .version(Utilities.getVersion()) .build(); return com.pulumi.resources.CustomResourceOptions.merge(defaultOptions, options, id); } /** * Get an existing Host resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param state * @param options Optional settings to control the behavior of the CustomResource. */ public static IntegrationRuntimeSelfHosted get(java.lang.String name, Output id, @Nullable IntegrationRuntimeSelfHostedState state, @Nullable com.pulumi.resources.CustomResourceOptions options) { return new IntegrationRuntimeSelfHosted(name, id, state, options); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy