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

com.pulumi.azure.databricks.DatabricksFunctions 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.databricks;

import com.pulumi.azure.Utilities;
import com.pulumi.azure.databricks.inputs.GetAccessConnectorArgs;
import com.pulumi.azure.databricks.inputs.GetAccessConnectorPlainArgs;
import com.pulumi.azure.databricks.inputs.GetWorkspaceArgs;
import com.pulumi.azure.databricks.inputs.GetWorkspacePlainArgs;
import com.pulumi.azure.databricks.inputs.GetWorkspacePrivateEndpointConnectionArgs;
import com.pulumi.azure.databricks.inputs.GetWorkspacePrivateEndpointConnectionPlainArgs;
import com.pulumi.azure.databricks.outputs.GetAccessConnectorResult;
import com.pulumi.azure.databricks.outputs.GetWorkspacePrivateEndpointConnectionResult;
import com.pulumi.azure.databricks.outputs.GetWorkspaceResult;
import com.pulumi.core.Output;
import com.pulumi.core.TypeShape;
import com.pulumi.deployment.Deployment;
import com.pulumi.deployment.InvokeOptions;
import java.util.concurrent.CompletableFuture;

public final class DatabricksFunctions {
    /**
     * Use this data source to access information about an existing Databricks Access Connector.
     * 
     * ## 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.databricks.DatabricksFunctions;
     * import com.pulumi.azure.databricks.inputs.GetAccessConnectorArgs;
     * 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) {
     *         final var example = DatabricksFunctions.getAccessConnector(GetAccessConnectorArgs.builder()
     *             .name("existing")
     *             .resourceGroupName("existing")
     *             .build());
     * 
     *         ctx.export("id", example.applyValue(getAccessConnectorResult -> getAccessConnectorResult.id()));
     *     }
     * }
     * }
     * 
* <!--End PulumiCodeChooser --> * */ public static Output getAccessConnector(GetAccessConnectorArgs args) { return getAccessConnector(args, InvokeOptions.Empty); } /** * Use this data source to access information about an existing Databricks Access Connector. * * ## 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.databricks.DatabricksFunctions;
     * import com.pulumi.azure.databricks.inputs.GetAccessConnectorArgs;
     * 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) {
     *         final var example = DatabricksFunctions.getAccessConnector(GetAccessConnectorArgs.builder()
     *             .name("existing")
     *             .resourceGroupName("existing")
     *             .build());
     * 
     *         ctx.export("id", example.applyValue(getAccessConnectorResult -> getAccessConnectorResult.id()));
     *     }
     * }
     * }
     * 
* <!--End PulumiCodeChooser --> * */ public static CompletableFuture getAccessConnectorPlain(GetAccessConnectorPlainArgs args) { return getAccessConnectorPlain(args, InvokeOptions.Empty); } /** * Use this data source to access information about an existing Databricks Access Connector. * * ## 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.databricks.DatabricksFunctions;
     * import com.pulumi.azure.databricks.inputs.GetAccessConnectorArgs;
     * 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) {
     *         final var example = DatabricksFunctions.getAccessConnector(GetAccessConnectorArgs.builder()
     *             .name("existing")
     *             .resourceGroupName("existing")
     *             .build());
     * 
     *         ctx.export("id", example.applyValue(getAccessConnectorResult -> getAccessConnectorResult.id()));
     *     }
     * }
     * }
     * 
* <!--End PulumiCodeChooser --> * */ public static Output getAccessConnector(GetAccessConnectorArgs args, InvokeOptions options) { return Deployment.getInstance().invoke("azure:databricks/getAccessConnector:getAccessConnector", TypeShape.of(GetAccessConnectorResult.class), args, Utilities.withVersion(options)); } /** * Use this data source to access information about an existing Databricks Access Connector. * * ## 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.databricks.DatabricksFunctions;
     * import com.pulumi.azure.databricks.inputs.GetAccessConnectorArgs;
     * 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) {
     *         final var example = DatabricksFunctions.getAccessConnector(GetAccessConnectorArgs.builder()
     *             .name("existing")
     *             .resourceGroupName("existing")
     *             .build());
     * 
     *         ctx.export("id", example.applyValue(getAccessConnectorResult -> getAccessConnectorResult.id()));
     *     }
     * }
     * }
     * 
* <!--End PulumiCodeChooser --> * */ public static CompletableFuture getAccessConnectorPlain(GetAccessConnectorPlainArgs args, InvokeOptions options) { return Deployment.getInstance().invokeAsync("azure:databricks/getAccessConnector:getAccessConnector", TypeShape.of(GetAccessConnectorResult.class), args, Utilities.withVersion(options)); } /** * Use this data source to access information about an existing Databricks workspace. * * ## 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.databricks.DatabricksFunctions;
     * import com.pulumi.azure.databricks.inputs.GetWorkspaceArgs;
     * 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) {
     *         final var example = DatabricksFunctions.getWorkspace(GetWorkspaceArgs.builder()
     *             .name("example-workspace")
     *             .resourceGroupName("example-rg")
     *             .build());
     * 
     *         ctx.export("databricksWorkspaceId", example.applyValue(getWorkspaceResult -> getWorkspaceResult.workspaceId()));
     *     }
     * }
     * }
     * 
* <!--End PulumiCodeChooser --> * */ public static Output getWorkspace(GetWorkspaceArgs args) { return getWorkspace(args, InvokeOptions.Empty); } /** * Use this data source to access information about an existing Databricks workspace. * * ## 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.databricks.DatabricksFunctions;
     * import com.pulumi.azure.databricks.inputs.GetWorkspaceArgs;
     * 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) {
     *         final var example = DatabricksFunctions.getWorkspace(GetWorkspaceArgs.builder()
     *             .name("example-workspace")
     *             .resourceGroupName("example-rg")
     *             .build());
     * 
     *         ctx.export("databricksWorkspaceId", example.applyValue(getWorkspaceResult -> getWorkspaceResult.workspaceId()));
     *     }
     * }
     * }
     * 
* <!--End PulumiCodeChooser --> * */ public static CompletableFuture getWorkspacePlain(GetWorkspacePlainArgs args) { return getWorkspacePlain(args, InvokeOptions.Empty); } /** * Use this data source to access information about an existing Databricks workspace. * * ## 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.databricks.DatabricksFunctions;
     * import com.pulumi.azure.databricks.inputs.GetWorkspaceArgs;
     * 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) {
     *         final var example = DatabricksFunctions.getWorkspace(GetWorkspaceArgs.builder()
     *             .name("example-workspace")
     *             .resourceGroupName("example-rg")
     *             .build());
     * 
     *         ctx.export("databricksWorkspaceId", example.applyValue(getWorkspaceResult -> getWorkspaceResult.workspaceId()));
     *     }
     * }
     * }
     * 
* <!--End PulumiCodeChooser --> * */ public static Output getWorkspace(GetWorkspaceArgs args, InvokeOptions options) { return Deployment.getInstance().invoke("azure:databricks/getWorkspace:getWorkspace", TypeShape.of(GetWorkspaceResult.class), args, Utilities.withVersion(options)); } /** * Use this data source to access information about an existing Databricks workspace. * * ## 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.databricks.DatabricksFunctions;
     * import com.pulumi.azure.databricks.inputs.GetWorkspaceArgs;
     * 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) {
     *         final var example = DatabricksFunctions.getWorkspace(GetWorkspaceArgs.builder()
     *             .name("example-workspace")
     *             .resourceGroupName("example-rg")
     *             .build());
     * 
     *         ctx.export("databricksWorkspaceId", example.applyValue(getWorkspaceResult -> getWorkspaceResult.workspaceId()));
     *     }
     * }
     * }
     * 
* <!--End PulumiCodeChooser --> * */ public static CompletableFuture getWorkspacePlain(GetWorkspacePlainArgs args, InvokeOptions options) { return Deployment.getInstance().invokeAsync("azure:databricks/getWorkspace:getWorkspace", TypeShape.of(GetWorkspaceResult.class), args, Utilities.withVersion(options)); } /** * Use this data source to access information on an existing Databricks Workspace private endpoint connection state. * * ## 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.databricks.DatabricksFunctions;
     * import com.pulumi.azure.databricks.inputs.GetWorkspacePrivateEndpointConnectionArgs;
     * 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) {
     *         final var example = DatabricksFunctions.getWorkspacePrivateEndpointConnection(GetWorkspacePrivateEndpointConnectionArgs.builder()
     *             .workspaceId(exampleAzurermDatabricksWorkspace.id())
     *             .privateEndpointId(exampleAzurermPrivateEndpoint.id())
     *             .build());
     * 
     *         ctx.export("databricksWorkspacePrivateEndpointConnectionStatus", example.applyValue(getWorkspacePrivateEndpointConnectionResult -> getWorkspacePrivateEndpointConnectionResult.connections()[0].status()));
     *     }
     * }
     * }
     * 
* <!--End PulumiCodeChooser --> * */ public static Output getWorkspacePrivateEndpointConnection(GetWorkspacePrivateEndpointConnectionArgs args) { return getWorkspacePrivateEndpointConnection(args, InvokeOptions.Empty); } /** * Use this data source to access information on an existing Databricks Workspace private endpoint connection state. * * ## 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.databricks.DatabricksFunctions;
     * import com.pulumi.azure.databricks.inputs.GetWorkspacePrivateEndpointConnectionArgs;
     * 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) {
     *         final var example = DatabricksFunctions.getWorkspacePrivateEndpointConnection(GetWorkspacePrivateEndpointConnectionArgs.builder()
     *             .workspaceId(exampleAzurermDatabricksWorkspace.id())
     *             .privateEndpointId(exampleAzurermPrivateEndpoint.id())
     *             .build());
     * 
     *         ctx.export("databricksWorkspacePrivateEndpointConnectionStatus", example.applyValue(getWorkspacePrivateEndpointConnectionResult -> getWorkspacePrivateEndpointConnectionResult.connections()[0].status()));
     *     }
     * }
     * }
     * 
* <!--End PulumiCodeChooser --> * */ public static CompletableFuture getWorkspacePrivateEndpointConnectionPlain(GetWorkspacePrivateEndpointConnectionPlainArgs args) { return getWorkspacePrivateEndpointConnectionPlain(args, InvokeOptions.Empty); } /** * Use this data source to access information on an existing Databricks Workspace private endpoint connection state. * * ## 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.databricks.DatabricksFunctions;
     * import com.pulumi.azure.databricks.inputs.GetWorkspacePrivateEndpointConnectionArgs;
     * 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) {
     *         final var example = DatabricksFunctions.getWorkspacePrivateEndpointConnection(GetWorkspacePrivateEndpointConnectionArgs.builder()
     *             .workspaceId(exampleAzurermDatabricksWorkspace.id())
     *             .privateEndpointId(exampleAzurermPrivateEndpoint.id())
     *             .build());
     * 
     *         ctx.export("databricksWorkspacePrivateEndpointConnectionStatus", example.applyValue(getWorkspacePrivateEndpointConnectionResult -> getWorkspacePrivateEndpointConnectionResult.connections()[0].status()));
     *     }
     * }
     * }
     * 
* <!--End PulumiCodeChooser --> * */ public static Output getWorkspacePrivateEndpointConnection(GetWorkspacePrivateEndpointConnectionArgs args, InvokeOptions options) { return Deployment.getInstance().invoke("azure:databricks/getWorkspacePrivateEndpointConnection:getWorkspacePrivateEndpointConnection", TypeShape.of(GetWorkspacePrivateEndpointConnectionResult.class), args, Utilities.withVersion(options)); } /** * Use this data source to access information on an existing Databricks Workspace private endpoint connection state. * * ## 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.databricks.DatabricksFunctions;
     * import com.pulumi.azure.databricks.inputs.GetWorkspacePrivateEndpointConnectionArgs;
     * 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) {
     *         final var example = DatabricksFunctions.getWorkspacePrivateEndpointConnection(GetWorkspacePrivateEndpointConnectionArgs.builder()
     *             .workspaceId(exampleAzurermDatabricksWorkspace.id())
     *             .privateEndpointId(exampleAzurermPrivateEndpoint.id())
     *             .build());
     * 
     *         ctx.export("databricksWorkspacePrivateEndpointConnectionStatus", example.applyValue(getWorkspacePrivateEndpointConnectionResult -> getWorkspacePrivateEndpointConnectionResult.connections()[0].status()));
     *     }
     * }
     * }
     * 
* <!--End PulumiCodeChooser --> * */ public static CompletableFuture getWorkspacePrivateEndpointConnectionPlain(GetWorkspacePrivateEndpointConnectionPlainArgs args, InvokeOptions options) { return Deployment.getInstance().invokeAsync("azure:databricks/getWorkspacePrivateEndpointConnection:getWorkspacePrivateEndpointConnection", TypeShape.of(GetWorkspacePrivateEndpointConnectionResult.class), args, Utilities.withVersion(options)); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy