1. Packages
  2. Azure Native
  3. API Docs
  4. hybridnetwork
  5. listDeviceRegistrationKey
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.1.0 published on Tuesday, Apr 8, 2025 by Pulumi

azure-native.hybridnetwork.listDeviceRegistrationKey

Explore with Pulumi AI

This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.1.0 published on Tuesday, Apr 8, 2025 by Pulumi

List the registration key for the device.

Uses Azure REST API version 2022-01-01-preview.

Using listDeviceRegistrationKey

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 listDeviceRegistrationKey(args: ListDeviceRegistrationKeyArgs, opts?: InvokeOptions): Promise<ListDeviceRegistrationKeyResult>
function listDeviceRegistrationKeyOutput(args: ListDeviceRegistrationKeyOutputArgs, opts?: InvokeOptions): Output<ListDeviceRegistrationKeyResult>
Copy
def list_device_registration_key(device_name: Optional[str] = None,
                                 resource_group_name: Optional[str] = None,
                                 opts: Optional[InvokeOptions] = None) -> ListDeviceRegistrationKeyResult
def list_device_registration_key_output(device_name: Optional[pulumi.Input[str]] = None,
                                 resource_group_name: Optional[pulumi.Input[str]] = None,
                                 opts: Optional[InvokeOptions] = None) -> Output[ListDeviceRegistrationKeyResult]
Copy
func ListDeviceRegistrationKey(ctx *Context, args *ListDeviceRegistrationKeyArgs, opts ...InvokeOption) (*ListDeviceRegistrationKeyResult, error)
func ListDeviceRegistrationKeyOutput(ctx *Context, args *ListDeviceRegistrationKeyOutputArgs, opts ...InvokeOption) ListDeviceRegistrationKeyResultOutput
Copy

> Note: This function is named ListDeviceRegistrationKey in the Go SDK.

public static class ListDeviceRegistrationKey 
{
    public static Task<ListDeviceRegistrationKeyResult> InvokeAsync(ListDeviceRegistrationKeyArgs args, InvokeOptions? opts = null)
    public static Output<ListDeviceRegistrationKeyResult> Invoke(ListDeviceRegistrationKeyInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<ListDeviceRegistrationKeyResult> listDeviceRegistrationKey(ListDeviceRegistrationKeyArgs args, InvokeOptions options)
public static Output<ListDeviceRegistrationKeyResult> listDeviceRegistrationKey(ListDeviceRegistrationKeyArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: azure-native:hybridnetwork:listDeviceRegistrationKey
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

DeviceName
This property is required.
Changes to this property will trigger replacement.
string
The name of the device resource.
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group. The name is case insensitive.
DeviceName
This property is required.
Changes to this property will trigger replacement.
string
The name of the device resource.
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group. The name is case insensitive.
deviceName
This property is required.
Changes to this property will trigger replacement.
String
The name of the device resource.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
The name of the resource group. The name is case insensitive.
deviceName
This property is required.
Changes to this property will trigger replacement.
string
The name of the device resource.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group. The name is case insensitive.
device_name
This property is required.
Changes to this property will trigger replacement.
str
The name of the device resource.
resource_group_name
This property is required.
Changes to this property will trigger replacement.
str
The name of the resource group. The name is case insensitive.
deviceName
This property is required.
Changes to this property will trigger replacement.
String
The name of the device resource.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
The name of the resource group. The name is case insensitive.

listDeviceRegistrationKey Result

The following output properties are available:

RegistrationKey string
The registration key for the device.
RegistrationKey string
The registration key for the device.
registrationKey String
The registration key for the device.
registrationKey string
The registration key for the device.
registration_key str
The registration key for the device.
registrationKey String
The registration key for the device.

Package Details

Repository
Azure Native pulumi/pulumi-azure-native
License
Apache-2.0
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.1.0 published on Tuesday, Apr 8, 2025 by Pulumi