We recommend using Azure Native.
Azure Classic v5.70.0 published on Wednesday, Mar 27, 2024 by Pulumi
azure.databoxedge.getDevice
Explore with Pulumi AI
We recommend using Azure Native.
Azure Classic v5.70.0 published on Wednesday, Mar 27, 2024 by Pulumi
Get information about a Databox Edge Device.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as azure from "@pulumi/azure";
const example = azure.databoxedge.getDevice({
name: "example-device",
resourceGroupName: "example-rg",
});
import pulumi
import pulumi_azure as azure
example = azure.databoxedge.get_device(name="example-device",
resource_group_name="example-rg")
package main
import (
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/databoxedge"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := databoxedge.LookupDevice(ctx, &databoxedge.LookupDeviceArgs{
Name: "example-device",
ResourceGroupName: "example-rg",
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Azure = Pulumi.Azure;
return await Deployment.RunAsync(() =>
{
var example = Azure.DataboxEdge.GetDevice.Invoke(new()
{
Name = "example-device",
ResourceGroupName = "example-rg",
});
});
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());
}
}
variables:
example:
fn::invoke:
Function: azure:databoxedge:getDevice
Arguments:
name: example-device
resourceGroupName: example-rg
Using getDevice
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getDevice(args: GetDeviceArgs, opts?: InvokeOptions): Promise<GetDeviceResult>
function getDeviceOutput(args: GetDeviceOutputArgs, opts?: InvokeOptions): Output<GetDeviceResult>
def get_device(name: Optional[str] = None,
resource_group_name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetDeviceResult
def get_device_output(name: Optional[pulumi.Input[str]] = None,
resource_group_name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetDeviceResult]
func LookupDevice(ctx *Context, args *LookupDeviceArgs, opts ...InvokeOption) (*LookupDeviceResult, error)
func LookupDeviceOutput(ctx *Context, args *LookupDeviceOutputArgs, opts ...InvokeOption) LookupDeviceResultOutput
> Note: This function is named LookupDevice
in the Go SDK.
public static class GetDevice
{
public static Task<GetDeviceResult> InvokeAsync(GetDeviceArgs args, InvokeOptions? opts = null)
public static Output<GetDeviceResult> Invoke(GetDeviceInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetDeviceResult> getDevice(GetDeviceArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: azure:databoxedge/getDevice:getDevice
arguments:
# arguments dictionary
The following arguments are supported:
- Name string
- The name which should be used for this Databox Edge Device. Changing this forces a new Databox Edge Device to be created.
- Resource
Group stringName - The name of the Resource Group where the Databox Edge Device should exist. Changing this forces a new Databox Edge Device to be created.
- Name string
- The name which should be used for this Databox Edge Device. Changing this forces a new Databox Edge Device to be created.
- Resource
Group stringName - The name of the Resource Group where the Databox Edge Device should exist. Changing this forces a new Databox Edge Device to be created.
- name String
- The name which should be used for this Databox Edge Device. Changing this forces a new Databox Edge Device to be created.
- resource
Group StringName - The name of the Resource Group where the Databox Edge Device should exist. Changing this forces a new Databox Edge Device to be created.
- name string
- The name which should be used for this Databox Edge Device. Changing this forces a new Databox Edge Device to be created.
- resource
Group stringName - The name of the Resource Group where the Databox Edge Device should exist. Changing this forces a new Databox Edge Device to be created.
- name str
- The name which should be used for this Databox Edge Device. Changing this forces a new Databox Edge Device to be created.
- resource_
group_ strname - The name of the Resource Group where the Databox Edge Device should exist. Changing this forces a new Databox Edge Device to be created.
- name String
- The name which should be used for this Databox Edge Device. Changing this forces a new Databox Edge Device to be created.
- resource
Group StringName - The name of the Resource Group where the Databox Edge Device should exist. Changing this forces a new Databox Edge Device to be created.
getDevice Result
The following output properties are available:
- Device
Properties List<Pulumi.Azure. Databox Edge. Outputs. Get Device Device Property> - A
device_properties
block as defined below. - Id string
- The provider-assigned unique ID for this managed resource.
- Location string
- The Azure Region where the Databox Edge Device should exist.
- Name string
- Resource
Group stringName - Sku
Name string - The
sku_name
is comprised of two segments separated by a hyphen (e.g.TEA_1Node_UPS_Heater-Standard
). The first segment of thesku_name
defines thename
of the SKU. The second segment defines thetier
of thesku_name
. For more information see the product documentation. - Dictionary<string, string>
- A mapping of tags which should be assigned to the Databox Edge Device.
- Device
Properties []GetDevice Device Property - A
device_properties
block as defined below. - Id string
- The provider-assigned unique ID for this managed resource.
- Location string
- The Azure Region where the Databox Edge Device should exist.
- Name string
- Resource
Group stringName - Sku
Name string - The
sku_name
is comprised of two segments separated by a hyphen (e.g.TEA_1Node_UPS_Heater-Standard
). The first segment of thesku_name
defines thename
of the SKU. The second segment defines thetier
of thesku_name
. For more information see the product documentation. - map[string]string
- A mapping of tags which should be assigned to the Databox Edge Device.
- device
Properties List<GetDevice Device Property> - A
device_properties
block as defined below. - id String
- The provider-assigned unique ID for this managed resource.
- location String
- The Azure Region where the Databox Edge Device should exist.
- name String
- resource
Group StringName - sku
Name String - The
sku_name
is comprised of two segments separated by a hyphen (e.g.TEA_1Node_UPS_Heater-Standard
). The first segment of thesku_name
defines thename
of the SKU. The second segment defines thetier
of thesku_name
. For more information see the product documentation. - Map<String,String>
- A mapping of tags which should be assigned to the Databox Edge Device.
- device
Properties GetDevice Device Property[] - A
device_properties
block as defined below. - id string
- The provider-assigned unique ID for this managed resource.
- location string
- The Azure Region where the Databox Edge Device should exist.
- name string
- resource
Group stringName - sku
Name string - The
sku_name
is comprised of two segments separated by a hyphen (e.g.TEA_1Node_UPS_Heater-Standard
). The first segment of thesku_name
defines thename
of the SKU. The second segment defines thetier
of thesku_name
. For more information see the product documentation. - {[key: string]: string}
- A mapping of tags which should be assigned to the Databox Edge Device.
- device_
properties Sequence[GetDevice Device Property] - A
device_properties
block as defined below. - id str
- The provider-assigned unique ID for this managed resource.
- location str
- The Azure Region where the Databox Edge Device should exist.
- name str
- resource_
group_ strname - sku_
name str - The
sku_name
is comprised of two segments separated by a hyphen (e.g.TEA_1Node_UPS_Heater-Standard
). The first segment of thesku_name
defines thename
of the SKU. The second segment defines thetier
of thesku_name
. For more information see the product documentation. - Mapping[str, str]
- A mapping of tags which should be assigned to the Databox Edge Device.
- device
Properties List<Property Map> - A
device_properties
block as defined below. - id String
- The provider-assigned unique ID for this managed resource.
- location String
- The Azure Region where the Databox Edge Device should exist.
- name String
- resource
Group StringName - sku
Name String - The
sku_name
is comprised of two segments separated by a hyphen (e.g.TEA_1Node_UPS_Heater-Standard
). The first segment of thesku_name
defines thename
of the SKU. The second segment defines thetier
of thesku_name
. For more information see the product documentation. - Map<String>
- A mapping of tags which should be assigned to the Databox Edge Device.
Supporting Types
GetDeviceDeviceProperty
- Capacity int
- The Data Box Edge/Gateway device local capacity in MB.
- Configured
Role List<string>Types - Type of compute roles configured.
- Culture string
- The Data Box Edge/Gateway device culture.
- Hcs
Version string - The device software version number of the device (e.g. 1.2.18105.6).
- Model string
- The Data Box Edge/Gateway device model.
- Node
Count int - The number of nodes in the cluster.
- Serial
Number string - The Serial Number of Data Box Edge/Gateway device.
- Software
Version string - The Data Box Edge/Gateway device software version.
- Status string
- The status of the Data Box Edge/Gateway device.
- Time
Zone string - The Data Box Edge/Gateway device timezone.
- Type string
- The type of the Data Box Edge/Gateway device.
- Capacity int
- The Data Box Edge/Gateway device local capacity in MB.
- Configured
Role []stringTypes - Type of compute roles configured.
- Culture string
- The Data Box Edge/Gateway device culture.
- Hcs
Version string - The device software version number of the device (e.g. 1.2.18105.6).
- Model string
- The Data Box Edge/Gateway device model.
- Node
Count int - The number of nodes in the cluster.
- Serial
Number string - The Serial Number of Data Box Edge/Gateway device.
- Software
Version string - The Data Box Edge/Gateway device software version.
- Status string
- The status of the Data Box Edge/Gateway device.
- Time
Zone string - The Data Box Edge/Gateway device timezone.
- Type string
- The type of the Data Box Edge/Gateway device.
- capacity Integer
- The Data Box Edge/Gateway device local capacity in MB.
- configured
Role List<String>Types - Type of compute roles configured.
- culture String
- The Data Box Edge/Gateway device culture.
- hcs
Version String - The device software version number of the device (e.g. 1.2.18105.6).
- model String
- The Data Box Edge/Gateway device model.
- node
Count Integer - The number of nodes in the cluster.
- serial
Number String - The Serial Number of Data Box Edge/Gateway device.
- software
Version String - The Data Box Edge/Gateway device software version.
- status String
- The status of the Data Box Edge/Gateway device.
- time
Zone String - The Data Box Edge/Gateway device timezone.
- type String
- The type of the Data Box Edge/Gateway device.
- capacity number
- The Data Box Edge/Gateway device local capacity in MB.
- configured
Role string[]Types - Type of compute roles configured.
- culture string
- The Data Box Edge/Gateway device culture.
- hcs
Version string - The device software version number of the device (e.g. 1.2.18105.6).
- model string
- The Data Box Edge/Gateway device model.
- node
Count number - The number of nodes in the cluster.
- serial
Number string - The Serial Number of Data Box Edge/Gateway device.
- software
Version string - The Data Box Edge/Gateway device software version.
- status string
- The status of the Data Box Edge/Gateway device.
- time
Zone string - The Data Box Edge/Gateway device timezone.
- type string
- The type of the Data Box Edge/Gateway device.
- capacity int
- The Data Box Edge/Gateway device local capacity in MB.
- configured_
role_ Sequence[str]types - Type of compute roles configured.
- culture str
- The Data Box Edge/Gateway device culture.
- hcs_
version str - The device software version number of the device (e.g. 1.2.18105.6).
- model str
- The Data Box Edge/Gateway device model.
- node_
count int - The number of nodes in the cluster.
- serial_
number str - The Serial Number of Data Box Edge/Gateway device.
- software_
version str - The Data Box Edge/Gateway device software version.
- status str
- The status of the Data Box Edge/Gateway device.
- time_
zone str - The Data Box Edge/Gateway device timezone.
- type str
- The type of the Data Box Edge/Gateway device.
- capacity Number
- The Data Box Edge/Gateway device local capacity in MB.
- configured
Role List<String>Types - Type of compute roles configured.
- culture String
- The Data Box Edge/Gateway device culture.
- hcs
Version String - The device software version number of the device (e.g. 1.2.18105.6).
- model String
- The Data Box Edge/Gateway device model.
- node
Count Number - The number of nodes in the cluster.
- serial
Number String - The Serial Number of Data Box Edge/Gateway device.
- software
Version String - The Data Box Edge/Gateway device software version.
- status String
- The status of the Data Box Edge/Gateway device.
- time
Zone String - The Data Box Edge/Gateway device timezone.
- type String
- The type of the Data Box Edge/Gateway device.
Package Details
- Repository
- Azure Classic pulumi/pulumi-azure
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
azurerm
Terraform Provider.
We recommend using Azure Native.
Azure Classic v5.70.0 published on Wednesday, Mar 27, 2024 by Pulumi