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.63.0 published on Tuesday, Sep 24, 2024 by Pulumi
azure-native.devices.listIotDpsResourceKeysForKeyName
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.63.0 published on Tuesday, Sep 24, 2024 by Pulumi
List primary and secondary keys for a specific key name Azure REST API version: 2022-12-12.
Other available API versions: 2020-09-01-preview, 2023-03-01-preview.
Using listIotDpsResourceKeysForKeyName
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 listIotDpsResourceKeysForKeyName(args: ListIotDpsResourceKeysForKeyNameArgs, opts?: InvokeOptions): Promise<ListIotDpsResourceKeysForKeyNameResult>
function listIotDpsResourceKeysForKeyNameOutput(args: ListIotDpsResourceKeysForKeyNameOutputArgs, opts?: InvokeOptions): Output<ListIotDpsResourceKeysForKeyNameResult>
def list_iot_dps_resource_keys_for_key_name(key_name: Optional[str] = None,
provisioning_service_name: Optional[str] = None,
resource_group_name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> ListIotDpsResourceKeysForKeyNameResult
def list_iot_dps_resource_keys_for_key_name_output(key_name: Optional[pulumi.Input[str]] = None,
provisioning_service_name: Optional[pulumi.Input[str]] = None,
resource_group_name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[ListIotDpsResourceKeysForKeyNameResult]
func ListIotDpsResourceKeysForKeyName(ctx *Context, args *ListIotDpsResourceKeysForKeyNameArgs, opts ...InvokeOption) (*ListIotDpsResourceKeysForKeyNameResult, error)
func ListIotDpsResourceKeysForKeyNameOutput(ctx *Context, args *ListIotDpsResourceKeysForKeyNameOutputArgs, opts ...InvokeOption) ListIotDpsResourceKeysForKeyNameResultOutput
> Note: This function is named ListIotDpsResourceKeysForKeyName
in the Go SDK.
public static class ListIotDpsResourceKeysForKeyName
{
public static Task<ListIotDpsResourceKeysForKeyNameResult> InvokeAsync(ListIotDpsResourceKeysForKeyNameArgs args, InvokeOptions? opts = null)
public static Output<ListIotDpsResourceKeysForKeyNameResult> Invoke(ListIotDpsResourceKeysForKeyNameInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<ListIotDpsResourceKeysForKeyNameResult> listIotDpsResourceKeysForKeyName(ListIotDpsResourceKeysForKeyNameArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: azure-native:devices:listIotDpsResourceKeysForKeyName
arguments:
# arguments dictionary
The following arguments are supported:
- Key
Name string - Logical key name to get key-values for.
- Provisioning
Service stringName - Name of the provisioning service.
- Resource
Group stringName - The name of the resource group that contains the provisioning service.
- Key
Name string - Logical key name to get key-values for.
- Provisioning
Service stringName - Name of the provisioning service.
- Resource
Group stringName - The name of the resource group that contains the provisioning service.
- key
Name String - Logical key name to get key-values for.
- provisioning
Service StringName - Name of the provisioning service.
- resource
Group StringName - The name of the resource group that contains the provisioning service.
- key
Name string - Logical key name to get key-values for.
- provisioning
Service stringName - Name of the provisioning service.
- resource
Group stringName - The name of the resource group that contains the provisioning service.
- key_
name str - Logical key name to get key-values for.
- provisioning_
service_ strname - Name of the provisioning service.
- resource_
group_ strname - The name of the resource group that contains the provisioning service.
- key
Name String - Logical key name to get key-values for.
- provisioning
Service StringName - Name of the provisioning service.
- resource
Group StringName - The name of the resource group that contains the provisioning service.
listIotDpsResourceKeysForKeyName Result
The following output properties are available:
- Key
Name string - Name of the key.
- Rights string
- Rights that this key has.
- Primary
Key string - Primary SAS key value.
- Secondary
Key string - Secondary SAS key value.
- Key
Name string - Name of the key.
- Rights string
- Rights that this key has.
- Primary
Key string - Primary SAS key value.
- Secondary
Key string - Secondary SAS key value.
- key
Name String - Name of the key.
- rights String
- Rights that this key has.
- primary
Key String - Primary SAS key value.
- secondary
Key String - Secondary SAS key value.
- key
Name string - Name of the key.
- rights string
- Rights that this key has.
- primary
Key string - Primary SAS key value.
- secondary
Key string - Secondary SAS key value.
- key_
name str - Name of the key.
- rights str
- Rights that this key has.
- primary_
key str - Primary SAS key value.
- secondary_
key str - Secondary SAS key value.
- key
Name String - Name of the key.
- rights String
- Rights that this key has.
- primary
Key String - Primary SAS key value.
- secondary
Key String - Secondary SAS key value.
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.63.0 published on Tuesday, Sep 24, 2024 by Pulumi