1. Packages
  2. Azure Native v1
  3. API Docs
  4. devices
  5. listIotDpsResourceKeys
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.devices.listIotDpsResourceKeys

Explore with Pulumi AI

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 primary and secondary keys for a provisioning service. API Version: 2020-03-01.

Using listIotDpsResourceKeys

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 listIotDpsResourceKeys(args: ListIotDpsResourceKeysArgs, opts?: InvokeOptions): Promise<ListIotDpsResourceKeysResult>
function listIotDpsResourceKeysOutput(args: ListIotDpsResourceKeysOutputArgs, opts?: InvokeOptions): Output<ListIotDpsResourceKeysResult>
Copy
def list_iot_dps_resource_keys(provisioning_service_name: Optional[str] = None,
                               resource_group_name: Optional[str] = None,
                               opts: Optional[InvokeOptions] = None) -> ListIotDpsResourceKeysResult
def list_iot_dps_resource_keys_output(provisioning_service_name: Optional[pulumi.Input[str]] = None,
                               resource_group_name: Optional[pulumi.Input[str]] = None,
                               opts: Optional[InvokeOptions] = None) -> Output[ListIotDpsResourceKeysResult]
Copy
func ListIotDpsResourceKeys(ctx *Context, args *ListIotDpsResourceKeysArgs, opts ...InvokeOption) (*ListIotDpsResourceKeysResult, error)
func ListIotDpsResourceKeysOutput(ctx *Context, args *ListIotDpsResourceKeysOutputArgs, opts ...InvokeOption) ListIotDpsResourceKeysResultOutput
Copy

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

public static class ListIotDpsResourceKeys 
{
    public static Task<ListIotDpsResourceKeysResult> InvokeAsync(ListIotDpsResourceKeysArgs args, InvokeOptions? opts = null)
    public static Output<ListIotDpsResourceKeysResult> Invoke(ListIotDpsResourceKeysInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<ListIotDpsResourceKeysResult> listIotDpsResourceKeys(ListIotDpsResourceKeysArgs args, InvokeOptions options)
public static Output<ListIotDpsResourceKeysResult> listIotDpsResourceKeys(ListIotDpsResourceKeysArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: azure-native:devices:listIotDpsResourceKeys
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

ProvisioningServiceName
This property is required.
Changes to this property will trigger replacement.
string
The provisioning service name to get the shared access keys for.
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
resource group name
ProvisioningServiceName
This property is required.
Changes to this property will trigger replacement.
string
The provisioning service name to get the shared access keys for.
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
resource group name
provisioningServiceName
This property is required.
Changes to this property will trigger replacement.
String
The provisioning service name to get the shared access keys for.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
resource group name
provisioningServiceName
This property is required.
Changes to this property will trigger replacement.
string
The provisioning service name to get the shared access keys for.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
resource group name
provisioning_service_name
This property is required.
Changes to this property will trigger replacement.
str
The provisioning service name to get the shared access keys for.
resource_group_name
This property is required.
Changes to this property will trigger replacement.
str
resource group name
provisioningServiceName
This property is required.
Changes to this property will trigger replacement.
String
The provisioning service name to get the shared access keys for.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
resource group name

listIotDpsResourceKeys Result

The following output properties are available:

NextLink string
The next link.
Value []SharedAccessSignatureAuthorizationRuleAccessRightsDescriptionResponse
The list of shared access policies.
nextLink string
The next link.
value SharedAccessSignatureAuthorizationRuleAccessRightsDescriptionResponse[]
The list of shared access policies.
nextLink String
The next link.
value List<Property Map>
The list of shared access policies.

Supporting Types

SharedAccessSignatureAuthorizationRuleAccessRightsDescriptionResponse

KeyName This property is required. string
Name of the key.
Rights This property is required. string
Rights that this key has.
PrimaryKey string
Primary SAS key value.
SecondaryKey string
Secondary SAS key value.
KeyName This property is required. string
Name of the key.
Rights This property is required. string
Rights that this key has.
PrimaryKey string
Primary SAS key value.
SecondaryKey string
Secondary SAS key value.
keyName This property is required. String
Name of the key.
rights This property is required. String
Rights that this key has.
primaryKey String
Primary SAS key value.
secondaryKey String
Secondary SAS key value.
keyName This property is required. string
Name of the key.
rights This property is required. string
Rights that this key has.
primaryKey string
Primary SAS key value.
secondaryKey string
Secondary SAS key value.
key_name This property is required. str
Name of the key.
rights This property is required. str
Rights that this key has.
primary_key str
Primary SAS key value.
secondary_key str
Secondary SAS key value.
keyName This property is required. String
Name of the key.
rights This property is required. String
Rights that this key has.
primaryKey String
Primary SAS key value.
secondaryKey String
Secondary SAS key value.

Package Details

Repository
azure-native-v1 pulumi/pulumi-azure-native
License
Apache-2.0
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