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.73.0 published on Wednesday, Nov 20, 2024 by Pulumi
azure-native.hybridnetwork.listDeviceRegistrationKey
Explore with Pulumi AI
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.73.0 published on Wednesday, Nov 20, 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:
- Device
Name string - The name of the device resource.
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Device
Name string - The name of the device resource.
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- device
Name String - The name of the device resource.
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- device
Name string - The name of the device resource.
- resource
Group stringName - The name of the resource group. The name is case insensitive.
- device_
name str - The name of the device resource.
- resource_
group_ strname - The name of the resource group. The name is case insensitive.
- device
Name String - The name of the device resource.
- resource
Group StringName - The name of the resource group. The name is case insensitive.
listDeviceRegistrationKey Result
The following output properties are available:
- Registration
Key string - The registration key for the device.
- Registration
Key string - The registration key for the device.
- registration
Key String - The registration key for the device.
- registration
Key string - The registration key for the device.
- registration_
key str - The registration key for the device.
- registration
Key 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 v1 docs if using the v1 version of this package.
Azure Native v2.73.0 published on Wednesday, Nov 20, 2024 by Pulumi