1. Packages
  2. Azure Native v1
  3. API Docs
  4. hybridnetwork
  5. listDeviceRegistrationKey
These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi

azure-native.hybridnetwork.listDeviceRegistrationKey

Explore with Pulumi AI

azure-native-v1 logo
These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi

    List the registration key for the device. API Version: 2020-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-v1 pulumi/pulumi-azure-native
    License
    Apache-2.0
    azure-native-v1 logo
    These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
    Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi