getDevice

Get information about a Databox Edge Device.

Example Usage

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());
}
}

Return

A collection of values returned by getDevice.

Parameters

argument

A collection of arguments for invoking getDevice.


suspend fun getDevice(name: String, resourceGroupName: String): GetDeviceResult

Return

A collection of values returned by getDevice.

See also

Parameters

name

The name which should be used for this Databox Edge Device. Changing this forces a new Databox Edge Device to be created.

resourceGroupName

The name of the Resource Group where the Databox Edge Device should exist. Changing this forces a new Databox Edge Device to be created.


suspend fun getDevice(argument: suspend GetDevicePlainArgsBuilder.() -> Unit): GetDeviceResult

Return

A collection of values returned by getDevice.

See also

Parameters

argument

Builder for com.pulumi.azure.databoxedge.kotlin.inputs.GetDevicePlainArgs.