Azure Native

Pulumi Official
Package maintained by Pulumi
v1.64.1 published on Wednesday, May 18, 2022 by Pulumi

getDevice

Device resource. API Version: 2020-01-01-preview.

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(device_name: Optional[str] = None,
               resource_group_name: Optional[str] = None,
               opts: Optional[InvokeOptions] = None) -> GetDeviceResult
def get_device_output(device_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-native:hybridnetwork:getDevice
  Arguments:
    # Arguments dictionary

The following arguments are supported:

DeviceName string

The name of the device resource.

ResourceGroupName string

The name of the resource group. The name is case insensitive.

DeviceName string

The name of the device resource.

ResourceGroupName string

The name of the resource group. The name is case insensitive.

deviceName String

The name of the device resource.

resourceGroupName String

The name of the resource group. The name is case insensitive.

deviceName string

The name of the device resource.

resourceGroupName string

The name of the resource group. The name is case insensitive.

device_name str

The name of the device resource.

resource_group_name str

The name of the resource group. The name is case insensitive.

deviceName String

The name of the device resource.

resourceGroupName String

The name of the resource group. The name is case insensitive.

getDevice Result

The following output properties are available:

DeviceType string

The type of the device.

Id string

Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}

Location string

The geo-location where the resource lives

Name string

The name of the resource

NetworkFunctions List<Pulumi.AzureNative.HybridNetwork.Outputs.SubResourceResponse>

The list of network functions deployed on the device.

ProvisioningState string

The provisioning state of the device resource.

Status string

The current device status.

Type string

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

Tags Dictionary<string, string>

Resource tags.

DeviceType string

The type of the device.

Id string

Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}

Location string

The geo-location where the resource lives

Name string

The name of the resource

NetworkFunctions []SubResourceResponse

The list of network functions deployed on the device.

ProvisioningState string

The provisioning state of the device resource.

Status string

The current device status.

Type string

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

Tags map[string]string

Resource tags.

deviceType String

The type of the device.

id String

Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}

location String

The geo-location where the resource lives

name String

The name of the resource

networkFunctions ListResourceResponse>

The list of network functions deployed on the device.

provisioningState String

The provisioning state of the device resource.

status String

The current device status.

type String

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

tags Map

Resource tags.

deviceType string

The type of the device.

id string

Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}

location string

The geo-location where the resource lives

name string

The name of the resource

networkFunctions SubResourceResponse[]

The list of network functions deployed on the device.

provisioningState string

The provisioning state of the device resource.

status string

The current device status.

type string

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

tags {[key: string]: string}

Resource tags.

device_type str

The type of the device.

id str

Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}

location str

The geo-location where the resource lives

name str

The name of the resource

network_functions Sequence[SubResourceResponse]

The list of network functions deployed on the device.

provisioning_state str

The provisioning state of the device resource.

status str

The current device status.

type str

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

tags Mapping[str, str]

Resource tags.

deviceType String

The type of the device.

id String

Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}

location String

The geo-location where the resource lives

name String

The name of the resource

networkFunctions List

The list of network functions deployed on the device.

provisioningState String

The provisioning state of the device resource.

status String

The current device status.

type String

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

tags Map

Resource tags.

Supporting Types

SubResourceResponse

Id string

Resource ID.

Id string

Resource ID.

id String

Resource ID.

id string

Resource ID.

id str

Resource ID.

id String

Resource ID.

Package Details

Repository
https://github.com/pulumi/pulumi-azure-native
License
Apache-2.0