1. Packages
  2. Azure Native
  3. API Docs
  4. hybridnetwork
  5. listDeviceRegistrationKey
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.34.0 published on Thursday, Mar 28, 2024 by Pulumi

azure-native.hybridnetwork.listDeviceRegistrationKey

Explore with Pulumi AI

azure-native logo
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.34.0 published on Thursday, Mar 28, 2024 by Pulumi

    List the registration key for the device. 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>
    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]
    func ListDeviceRegistrationKey(ctx *Context, args *ListDeviceRegistrationKeyArgs, opts ...InvokeOption) (*ListDeviceRegistrationKeyResult, error)
    func ListDeviceRegistrationKeyOutput(ctx *Context, args *ListDeviceRegistrationKeyOutputArgs, opts ...InvokeOption) ListDeviceRegistrationKeyResultOutput

    > 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)
    }
    public static CompletableFuture<ListDeviceRegistrationKeyResult> listDeviceRegistrationKey(ListDeviceRegistrationKeyArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: azure-native:hybridnetwork:listDeviceRegistrationKey
      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.

    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
    azure-native logo
    This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
    Azure Native v2.34.0 published on Thursday, Mar 28, 2024 by Pulumi