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

com.pulumi.azure.databoxedge.DataboxedgeFunctions 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.databoxedge;

import com.pulumi.azure.Utilities;
import com.pulumi.azure.databoxedge.inputs.GetDeviceArgs;
import com.pulumi.azure.databoxedge.inputs.GetDevicePlainArgs;
import com.pulumi.azure.databoxedge.outputs.GetDeviceResult;
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 DataboxedgeFunctions {
    /**
     * Get information about a Databox Edge Device.
     * 
     * ## 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.databoxedge.DataboxedgeFunctions;
     * import com.pulumi.azure.databoxedge.inputs.GetDeviceArgs;
     * 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 = DataboxedgeFunctions.getDevice(GetDeviceArgs.builder()
     *             .name("example-device")
     *             .resourceGroupName("example-rg")
     *             .build());
     * 
     *     }
     * }
     * }
     * 
* <!--End PulumiCodeChooser --> * */ public static Output getDevice(GetDeviceArgs args) { return getDevice(args, InvokeOptions.Empty); } /** * Get information about a Databox Edge Device. * * ## 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.databoxedge.DataboxedgeFunctions;
     * import com.pulumi.azure.databoxedge.inputs.GetDeviceArgs;
     * 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 = DataboxedgeFunctions.getDevice(GetDeviceArgs.builder()
     *             .name("example-device")
     *             .resourceGroupName("example-rg")
     *             .build());
     * 
     *     }
     * }
     * }
     * 
* <!--End PulumiCodeChooser --> * */ public static CompletableFuture getDevicePlain(GetDevicePlainArgs args) { return getDevicePlain(args, InvokeOptions.Empty); } /** * Get information about a Databox Edge Device. * * ## 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.databoxedge.DataboxedgeFunctions;
     * import com.pulumi.azure.databoxedge.inputs.GetDeviceArgs;
     * 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 = DataboxedgeFunctions.getDevice(GetDeviceArgs.builder()
     *             .name("example-device")
     *             .resourceGroupName("example-rg")
     *             .build());
     * 
     *     }
     * }
     * }
     * 
* <!--End PulumiCodeChooser --> * */ public static Output getDevice(GetDeviceArgs args, InvokeOptions options) { return Deployment.getInstance().invoke("azure:databoxedge/getDevice:getDevice", TypeShape.of(GetDeviceResult.class), args, Utilities.withVersion(options)); } /** * Get information about a Databox Edge Device. * * ## 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.databoxedge.DataboxedgeFunctions;
     * import com.pulumi.azure.databoxedge.inputs.GetDeviceArgs;
     * 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 = DataboxedgeFunctions.getDevice(GetDeviceArgs.builder()
     *             .name("example-device")
     *             .resourceGroupName("example-rg")
     *             .build());
     * 
     *     }
     * }
     * }
     * 
* <!--End PulumiCodeChooser --> * */ public static CompletableFuture getDevicePlain(GetDevicePlainArgs args, InvokeOptions options) { return Deployment.getInstance().invokeAsync("azure:databoxedge/getDevice:getDevice", TypeShape.of(GetDeviceResult.class), args, Utilities.withVersion(options)); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy