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

com.pulumi.azure.datashare.DatashareFunctions Maven / Gradle / Ivy

// *** 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.datashare;

import com.pulumi.azure.Utilities;
import com.pulumi.azure.datashare.inputs.GetAccountArgs;
import com.pulumi.azure.datashare.inputs.GetAccountPlainArgs;
import com.pulumi.azure.datashare.inputs.GetDatasetBlobStorageArgs;
import com.pulumi.azure.datashare.inputs.GetDatasetBlobStoragePlainArgs;
import com.pulumi.azure.datashare.inputs.GetDatasetDataLakeGen2Args;
import com.pulumi.azure.datashare.inputs.GetDatasetDataLakeGen2PlainArgs;
import com.pulumi.azure.datashare.inputs.GetDatasetKustoClusterArgs;
import com.pulumi.azure.datashare.inputs.GetDatasetKustoClusterPlainArgs;
import com.pulumi.azure.datashare.inputs.GetDatasetKustoDatabaseArgs;
import com.pulumi.azure.datashare.inputs.GetDatasetKustoDatabasePlainArgs;
import com.pulumi.azure.datashare.inputs.GetShareArgs;
import com.pulumi.azure.datashare.inputs.GetSharePlainArgs;
import com.pulumi.azure.datashare.outputs.GetAccountResult;
import com.pulumi.azure.datashare.outputs.GetDatasetBlobStorageResult;
import com.pulumi.azure.datashare.outputs.GetDatasetDataLakeGen2Result;
import com.pulumi.azure.datashare.outputs.GetDatasetKustoClusterResult;
import com.pulumi.azure.datashare.outputs.GetDatasetKustoDatabaseResult;
import com.pulumi.azure.datashare.outputs.GetShareResult;
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 DatashareFunctions {
    /**
     * Use this data source to access information about an existing Data Share Account.
     * 
     * ## 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.datashare.DatashareFunctions;
     * import com.pulumi.azure.datashare.inputs.GetAccountArgs;
     * 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 = DatashareFunctions.getAccount(GetAccountArgs.builder()
     *             .name("example-account")
     *             .resourceGroupName("example-resource-group")
     *             .build());
     * 
     *         ctx.export("id", example.applyValue(getAccountResult -> getAccountResult.id()));
     *     }
     * }
     * }
     * 
* <!--End PulumiCodeChooser --> * */ public static Output getAccount(GetAccountArgs args) { return getAccount(args, InvokeOptions.Empty); } /** * Use this data source to access information about an existing Data Share Account. * * ## 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.datashare.DatashareFunctions;
     * import com.pulumi.azure.datashare.inputs.GetAccountArgs;
     * 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 = DatashareFunctions.getAccount(GetAccountArgs.builder()
     *             .name("example-account")
     *             .resourceGroupName("example-resource-group")
     *             .build());
     * 
     *         ctx.export("id", example.applyValue(getAccountResult -> getAccountResult.id()));
     *     }
     * }
     * }
     * 
* <!--End PulumiCodeChooser --> * */ public static CompletableFuture getAccountPlain(GetAccountPlainArgs args) { return getAccountPlain(args, InvokeOptions.Empty); } /** * Use this data source to access information about an existing Data Share Account. * * ## 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.datashare.DatashareFunctions;
     * import com.pulumi.azure.datashare.inputs.GetAccountArgs;
     * 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 = DatashareFunctions.getAccount(GetAccountArgs.builder()
     *             .name("example-account")
     *             .resourceGroupName("example-resource-group")
     *             .build());
     * 
     *         ctx.export("id", example.applyValue(getAccountResult -> getAccountResult.id()));
     *     }
     * }
     * }
     * 
* <!--End PulumiCodeChooser --> * */ public static Output getAccount(GetAccountArgs args, InvokeOptions options) { return Deployment.getInstance().invoke("azure:datashare/getAccount:getAccount", TypeShape.of(GetAccountResult.class), args, Utilities.withVersion(options)); } /** * Use this data source to access information about an existing Data Share Account. * * ## 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.datashare.DatashareFunctions;
     * import com.pulumi.azure.datashare.inputs.GetAccountArgs;
     * 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 = DatashareFunctions.getAccount(GetAccountArgs.builder()
     *             .name("example-account")
     *             .resourceGroupName("example-resource-group")
     *             .build());
     * 
     *         ctx.export("id", example.applyValue(getAccountResult -> getAccountResult.id()));
     *     }
     * }
     * }
     * 
* <!--End PulumiCodeChooser --> * */ public static CompletableFuture getAccountPlain(GetAccountPlainArgs args, InvokeOptions options) { return Deployment.getInstance().invokeAsync("azure:datashare/getAccount:getAccount", TypeShape.of(GetAccountResult.class), args, Utilities.withVersion(options)); } /** * Use this data source to access information about an existing Data Share Blob Storage Dataset. * * ## 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.datashare.DatashareFunctions;
     * import com.pulumi.azure.datashare.inputs.GetDatasetBlobStorageArgs;
     * 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 = DatashareFunctions.getDatasetBlobStorage(GetDatasetBlobStorageArgs.builder()
     *             .name("example-dsbsds")
     *             .dataShareId("example-share-id")
     *             .build());
     * 
     *         ctx.export("id", example.applyValue(getDatasetBlobStorageResult -> getDatasetBlobStorageResult.id()));
     *     }
     * }
     * }
     * 
* <!--End PulumiCodeChooser --> * */ public static Output getDatasetBlobStorage(GetDatasetBlobStorageArgs args) { return getDatasetBlobStorage(args, InvokeOptions.Empty); } /** * Use this data source to access information about an existing Data Share Blob Storage Dataset. * * ## 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.datashare.DatashareFunctions;
     * import com.pulumi.azure.datashare.inputs.GetDatasetBlobStorageArgs;
     * 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 = DatashareFunctions.getDatasetBlobStorage(GetDatasetBlobStorageArgs.builder()
     *             .name("example-dsbsds")
     *             .dataShareId("example-share-id")
     *             .build());
     * 
     *         ctx.export("id", example.applyValue(getDatasetBlobStorageResult -> getDatasetBlobStorageResult.id()));
     *     }
     * }
     * }
     * 
* <!--End PulumiCodeChooser --> * */ public static CompletableFuture getDatasetBlobStoragePlain(GetDatasetBlobStoragePlainArgs args) { return getDatasetBlobStoragePlain(args, InvokeOptions.Empty); } /** * Use this data source to access information about an existing Data Share Blob Storage Dataset. * * ## 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.datashare.DatashareFunctions;
     * import com.pulumi.azure.datashare.inputs.GetDatasetBlobStorageArgs;
     * 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 = DatashareFunctions.getDatasetBlobStorage(GetDatasetBlobStorageArgs.builder()
     *             .name("example-dsbsds")
     *             .dataShareId("example-share-id")
     *             .build());
     * 
     *         ctx.export("id", example.applyValue(getDatasetBlobStorageResult -> getDatasetBlobStorageResult.id()));
     *     }
     * }
     * }
     * 
* <!--End PulumiCodeChooser --> * */ public static Output getDatasetBlobStorage(GetDatasetBlobStorageArgs args, InvokeOptions options) { return Deployment.getInstance().invoke("azure:datashare/getDatasetBlobStorage:getDatasetBlobStorage", TypeShape.of(GetDatasetBlobStorageResult.class), args, Utilities.withVersion(options)); } /** * Use this data source to access information about an existing Data Share Blob Storage Dataset. * * ## 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.datashare.DatashareFunctions;
     * import com.pulumi.azure.datashare.inputs.GetDatasetBlobStorageArgs;
     * 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 = DatashareFunctions.getDatasetBlobStorage(GetDatasetBlobStorageArgs.builder()
     *             .name("example-dsbsds")
     *             .dataShareId("example-share-id")
     *             .build());
     * 
     *         ctx.export("id", example.applyValue(getDatasetBlobStorageResult -> getDatasetBlobStorageResult.id()));
     *     }
     * }
     * }
     * 
* <!--End PulumiCodeChooser --> * */ public static CompletableFuture getDatasetBlobStoragePlain(GetDatasetBlobStoragePlainArgs args, InvokeOptions options) { return Deployment.getInstance().invokeAsync("azure:datashare/getDatasetBlobStorage:getDatasetBlobStorage", TypeShape.of(GetDatasetBlobStorageResult.class), args, Utilities.withVersion(options)); } /** * Use this data source to access information about an existing Data Share Data Lake Gen2 Dataset. * * ## 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.datashare.DatashareFunctions;
     * import com.pulumi.azure.datashare.inputs.GetDatasetDataLakeGen2Args;
     * 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 = DatashareFunctions.getDatasetDataLakeGen2(GetDatasetDataLakeGen2Args.builder()
     *             .name("example-dsdlg2ds")
     *             .shareId("example-share-id")
     *             .build());
     * 
     *         ctx.export("id", example.applyValue(getDatasetDataLakeGen2Result -> getDatasetDataLakeGen2Result.id()));
     *     }
     * }
     * }
     * 
* <!--End PulumiCodeChooser --> * */ public static Output getDatasetDataLakeGen2(GetDatasetDataLakeGen2Args args) { return getDatasetDataLakeGen2(args, InvokeOptions.Empty); } /** * Use this data source to access information about an existing Data Share Data Lake Gen2 Dataset. * * ## 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.datashare.DatashareFunctions;
     * import com.pulumi.azure.datashare.inputs.GetDatasetDataLakeGen2Args;
     * 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 = DatashareFunctions.getDatasetDataLakeGen2(GetDatasetDataLakeGen2Args.builder()
     *             .name("example-dsdlg2ds")
     *             .shareId("example-share-id")
     *             .build());
     * 
     *         ctx.export("id", example.applyValue(getDatasetDataLakeGen2Result -> getDatasetDataLakeGen2Result.id()));
     *     }
     * }
     * }
     * 
* <!--End PulumiCodeChooser --> * */ public static CompletableFuture getDatasetDataLakeGen2Plain(GetDatasetDataLakeGen2PlainArgs args) { return getDatasetDataLakeGen2Plain(args, InvokeOptions.Empty); } /** * Use this data source to access information about an existing Data Share Data Lake Gen2 Dataset. * * ## 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.datashare.DatashareFunctions;
     * import com.pulumi.azure.datashare.inputs.GetDatasetDataLakeGen2Args;
     * 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 = DatashareFunctions.getDatasetDataLakeGen2(GetDatasetDataLakeGen2Args.builder()
     *             .name("example-dsdlg2ds")
     *             .shareId("example-share-id")
     *             .build());
     * 
     *         ctx.export("id", example.applyValue(getDatasetDataLakeGen2Result -> getDatasetDataLakeGen2Result.id()));
     *     }
     * }
     * }
     * 
* <!--End PulumiCodeChooser --> * */ public static Output getDatasetDataLakeGen2(GetDatasetDataLakeGen2Args args, InvokeOptions options) { return Deployment.getInstance().invoke("azure:datashare/getDatasetDataLakeGen2:getDatasetDataLakeGen2", TypeShape.of(GetDatasetDataLakeGen2Result.class), args, Utilities.withVersion(options)); } /** * Use this data source to access information about an existing Data Share Data Lake Gen2 Dataset. * * ## 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.datashare.DatashareFunctions;
     * import com.pulumi.azure.datashare.inputs.GetDatasetDataLakeGen2Args;
     * 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 = DatashareFunctions.getDatasetDataLakeGen2(GetDatasetDataLakeGen2Args.builder()
     *             .name("example-dsdlg2ds")
     *             .shareId("example-share-id")
     *             .build());
     * 
     *         ctx.export("id", example.applyValue(getDatasetDataLakeGen2Result -> getDatasetDataLakeGen2Result.id()));
     *     }
     * }
     * }
     * 
* <!--End PulumiCodeChooser --> * */ public static CompletableFuture getDatasetDataLakeGen2Plain(GetDatasetDataLakeGen2PlainArgs args, InvokeOptions options) { return Deployment.getInstance().invokeAsync("azure:datashare/getDatasetDataLakeGen2:getDatasetDataLakeGen2", TypeShape.of(GetDatasetDataLakeGen2Result.class), args, Utilities.withVersion(options)); } /** * Use this data source to access information about an existing Data Share Kusto Cluster Dataset. * * ## 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.datashare.DatashareFunctions;
     * import com.pulumi.azure.datashare.inputs.GetDatasetKustoClusterArgs;
     * 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 = DatashareFunctions.getDatasetKustoCluster(GetDatasetKustoClusterArgs.builder()
     *             .name("example-dskc")
     *             .shareId("example-share-id")
     *             .build());
     * 
     *         ctx.export("id", example.applyValue(getDatasetKustoClusterResult -> getDatasetKustoClusterResult.id()));
     *     }
     * }
     * }
     * 
* <!--End PulumiCodeChooser --> * */ public static Output getDatasetKustoCluster(GetDatasetKustoClusterArgs args) { return getDatasetKustoCluster(args, InvokeOptions.Empty); } /** * Use this data source to access information about an existing Data Share Kusto Cluster Dataset. * * ## 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.datashare.DatashareFunctions;
     * import com.pulumi.azure.datashare.inputs.GetDatasetKustoClusterArgs;
     * 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 = DatashareFunctions.getDatasetKustoCluster(GetDatasetKustoClusterArgs.builder()
     *             .name("example-dskc")
     *             .shareId("example-share-id")
     *             .build());
     * 
     *         ctx.export("id", example.applyValue(getDatasetKustoClusterResult -> getDatasetKustoClusterResult.id()));
     *     }
     * }
     * }
     * 
* <!--End PulumiCodeChooser --> * */ public static CompletableFuture getDatasetKustoClusterPlain(GetDatasetKustoClusterPlainArgs args) { return getDatasetKustoClusterPlain(args, InvokeOptions.Empty); } /** * Use this data source to access information about an existing Data Share Kusto Cluster Dataset. * * ## 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.datashare.DatashareFunctions;
     * import com.pulumi.azure.datashare.inputs.GetDatasetKustoClusterArgs;
     * 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 = DatashareFunctions.getDatasetKustoCluster(GetDatasetKustoClusterArgs.builder()
     *             .name("example-dskc")
     *             .shareId("example-share-id")
     *             .build());
     * 
     *         ctx.export("id", example.applyValue(getDatasetKustoClusterResult -> getDatasetKustoClusterResult.id()));
     *     }
     * }
     * }
     * 
* <!--End PulumiCodeChooser --> * */ public static Output getDatasetKustoCluster(GetDatasetKustoClusterArgs args, InvokeOptions options) { return Deployment.getInstance().invoke("azure:datashare/getDatasetKustoCluster:getDatasetKustoCluster", TypeShape.of(GetDatasetKustoClusterResult.class), args, Utilities.withVersion(options)); } /** * Use this data source to access information about an existing Data Share Kusto Cluster Dataset. * * ## 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.datashare.DatashareFunctions;
     * import com.pulumi.azure.datashare.inputs.GetDatasetKustoClusterArgs;
     * 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 = DatashareFunctions.getDatasetKustoCluster(GetDatasetKustoClusterArgs.builder()
     *             .name("example-dskc")
     *             .shareId("example-share-id")
     *             .build());
     * 
     *         ctx.export("id", example.applyValue(getDatasetKustoClusterResult -> getDatasetKustoClusterResult.id()));
     *     }
     * }
     * }
     * 
* <!--End PulumiCodeChooser --> * */ public static CompletableFuture getDatasetKustoClusterPlain(GetDatasetKustoClusterPlainArgs args, InvokeOptions options) { return Deployment.getInstance().invokeAsync("azure:datashare/getDatasetKustoCluster:getDatasetKustoCluster", TypeShape.of(GetDatasetKustoClusterResult.class), args, Utilities.withVersion(options)); } /** * Use this data source to access information about an existing Data Share Kusto Database Dataset. * * ## 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.datashare.DatashareFunctions;
     * import com.pulumi.azure.datashare.inputs.GetDatasetKustoDatabaseArgs;
     * 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 = DatashareFunctions.getDatasetKustoDatabase(GetDatasetKustoDatabaseArgs.builder()
     *             .name("example-dskdds")
     *             .shareId("example-share-id")
     *             .build());
     * 
     *         ctx.export("id", example.applyValue(getDatasetKustoDatabaseResult -> getDatasetKustoDatabaseResult.id()));
     *     }
     * }
     * }
     * 
* <!--End PulumiCodeChooser --> * */ public static Output getDatasetKustoDatabase(GetDatasetKustoDatabaseArgs args) { return getDatasetKustoDatabase(args, InvokeOptions.Empty); } /** * Use this data source to access information about an existing Data Share Kusto Database Dataset. * * ## 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.datashare.DatashareFunctions;
     * import com.pulumi.azure.datashare.inputs.GetDatasetKustoDatabaseArgs;
     * 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 = DatashareFunctions.getDatasetKustoDatabase(GetDatasetKustoDatabaseArgs.builder()
     *             .name("example-dskdds")
     *             .shareId("example-share-id")
     *             .build());
     * 
     *         ctx.export("id", example.applyValue(getDatasetKustoDatabaseResult -> getDatasetKustoDatabaseResult.id()));
     *     }
     * }
     * }
     * 
* <!--End PulumiCodeChooser --> * */ public static CompletableFuture getDatasetKustoDatabasePlain(GetDatasetKustoDatabasePlainArgs args) { return getDatasetKustoDatabasePlain(args, InvokeOptions.Empty); } /** * Use this data source to access information about an existing Data Share Kusto Database Dataset. * * ## 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.datashare.DatashareFunctions;
     * import com.pulumi.azure.datashare.inputs.GetDatasetKustoDatabaseArgs;
     * 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 = DatashareFunctions.getDatasetKustoDatabase(GetDatasetKustoDatabaseArgs.builder()
     *             .name("example-dskdds")
     *             .shareId("example-share-id")
     *             .build());
     * 
     *         ctx.export("id", example.applyValue(getDatasetKustoDatabaseResult -> getDatasetKustoDatabaseResult.id()));
     *     }
     * }
     * }
     * 
* <!--End PulumiCodeChooser --> * */ public static Output getDatasetKustoDatabase(GetDatasetKustoDatabaseArgs args, InvokeOptions options) { return Deployment.getInstance().invoke("azure:datashare/getDatasetKustoDatabase:getDatasetKustoDatabase", TypeShape.of(GetDatasetKustoDatabaseResult.class), args, Utilities.withVersion(options)); } /** * Use this data source to access information about an existing Data Share Kusto Database Dataset. * * ## 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.datashare.DatashareFunctions;
     * import com.pulumi.azure.datashare.inputs.GetDatasetKustoDatabaseArgs;
     * 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 = DatashareFunctions.getDatasetKustoDatabase(GetDatasetKustoDatabaseArgs.builder()
     *             .name("example-dskdds")
     *             .shareId("example-share-id")
     *             .build());
     * 
     *         ctx.export("id", example.applyValue(getDatasetKustoDatabaseResult -> getDatasetKustoDatabaseResult.id()));
     *     }
     * }
     * }
     * 
* <!--End PulumiCodeChooser --> * */ public static CompletableFuture getDatasetKustoDatabasePlain(GetDatasetKustoDatabasePlainArgs args, InvokeOptions options) { return Deployment.getInstance().invokeAsync("azure:datashare/getDatasetKustoDatabase:getDatasetKustoDatabase", TypeShape.of(GetDatasetKustoDatabaseResult.class), args, Utilities.withVersion(options)); } /** * Use this data source to access information about an existing Data Share. * * ## 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.datashare.DatashareFunctions;
     * import com.pulumi.azure.datashare.inputs.GetAccountArgs;
     * import com.pulumi.azure.datashare.inputs.GetShareArgs;
     * 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 = DatashareFunctions.getAccount(GetAccountArgs.builder()
     *             .name("example-account")
     *             .resourceGroupName("example-resource-group")
     *             .build());
     * 
     *         final var exampleGetShare = DatashareFunctions.getShare(GetShareArgs.builder()
     *             .name("existing")
     *             .accountId(example.applyValue(getAccountResult -> getAccountResult.id()))
     *             .build());
     * 
     *         ctx.export("id", exampleGetShare.applyValue(getShareResult -> getShareResult.id()));
     *     }
     * }
     * }
     * 
* <!--End PulumiCodeChooser --> * */ public static Output getShare(GetShareArgs args) { return getShare(args, InvokeOptions.Empty); } /** * Use this data source to access information about an existing Data Share. * * ## 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.datashare.DatashareFunctions;
     * import com.pulumi.azure.datashare.inputs.GetAccountArgs;
     * import com.pulumi.azure.datashare.inputs.GetShareArgs;
     * 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 = DatashareFunctions.getAccount(GetAccountArgs.builder()
     *             .name("example-account")
     *             .resourceGroupName("example-resource-group")
     *             .build());
     * 
     *         final var exampleGetShare = DatashareFunctions.getShare(GetShareArgs.builder()
     *             .name("existing")
     *             .accountId(example.applyValue(getAccountResult -> getAccountResult.id()))
     *             .build());
     * 
     *         ctx.export("id", exampleGetShare.applyValue(getShareResult -> getShareResult.id()));
     *     }
     * }
     * }
     * 
* <!--End PulumiCodeChooser --> * */ public static CompletableFuture getSharePlain(GetSharePlainArgs args) { return getSharePlain(args, InvokeOptions.Empty); } /** * Use this data source to access information about an existing Data Share. * * ## 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.datashare.DatashareFunctions;
     * import com.pulumi.azure.datashare.inputs.GetAccountArgs;
     * import com.pulumi.azure.datashare.inputs.GetShareArgs;
     * 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 = DatashareFunctions.getAccount(GetAccountArgs.builder()
     *             .name("example-account")
     *             .resourceGroupName("example-resource-group")
     *             .build());
     * 
     *         final var exampleGetShare = DatashareFunctions.getShare(GetShareArgs.builder()
     *             .name("existing")
     *             .accountId(example.applyValue(getAccountResult -> getAccountResult.id()))
     *             .build());
     * 
     *         ctx.export("id", exampleGetShare.applyValue(getShareResult -> getShareResult.id()));
     *     }
     * }
     * }
     * 
* <!--End PulumiCodeChooser --> * */ public static Output getShare(GetShareArgs args, InvokeOptions options) { return Deployment.getInstance().invoke("azure:datashare/getShare:getShare", TypeShape.of(GetShareResult.class), args, Utilities.withVersion(options)); } /** * Use this data source to access information about an existing Data Share. * * ## 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.datashare.DatashareFunctions;
     * import com.pulumi.azure.datashare.inputs.GetAccountArgs;
     * import com.pulumi.azure.datashare.inputs.GetShareArgs;
     * 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 = DatashareFunctions.getAccount(GetAccountArgs.builder()
     *             .name("example-account")
     *             .resourceGroupName("example-resource-group")
     *             .build());
     * 
     *         final var exampleGetShare = DatashareFunctions.getShare(GetShareArgs.builder()
     *             .name("existing")
     *             .accountId(example.applyValue(getAccountResult -> getAccountResult.id()))
     *             .build());
     * 
     *         ctx.export("id", exampleGetShare.applyValue(getShareResult -> getShareResult.id()));
     *     }
     * }
     * }
     * 
* <!--End PulumiCodeChooser --> * */ public static CompletableFuture getSharePlain(GetSharePlainArgs args, InvokeOptions options) { return Deployment.getInstance().invokeAsync("azure:datashare/getShare:getShare", TypeShape.of(GetShareResult.class), args, Utilities.withVersion(options)); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy