azure-native.deviceprovisioningservices.listIotDpsResourceKeys
Explore with Pulumi AI
List the primary and secondary keys for a provisioning service.
Uses Azure REST API version 2023-03-01-preview.
Other available API versions: 2017-08-21-preview, 2017-11-15, 2018-01-22, 2020-01-01, 2020-03-01, 2020-09-01-preview, 2021-10-15, 2022-02-05, 2022-12-12, 2025-02-01-preview. These can be accessed by generating a local SDK package using the CLI command pulumi package add azure-native deviceprovisioningservices [ApiVersion]
. See the version guide for details.
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>
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]
func ListIotDpsResourceKeys(ctx *Context, args *ListIotDpsResourceKeysArgs, opts ...InvokeOption) (*ListIotDpsResourceKeysResult, error)
func ListIotDpsResourceKeysOutput(ctx *Context, args *ListIotDpsResourceKeysOutputArgs, opts ...InvokeOption) ListIotDpsResourceKeysResultOutput
> 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)
}
public static CompletableFuture<ListIotDpsResourceKeysResult> listIotDpsResourceKeys(ListIotDpsResourceKeysArgs args, InvokeOptions options)
public static Output<ListIotDpsResourceKeysResult> listIotDpsResourceKeys(ListIotDpsResourceKeysArgs args, InvokeOptions options)
fn::invoke:
function: azure-native:deviceprovisioningservices:listIotDpsResourceKeys
arguments:
# arguments dictionary
The following arguments are supported:
- Provisioning
Service stringName - The provisioning service name to get the shared access keys for.
- Resource
Group stringName - resource group name
- Provisioning
Service stringName - The provisioning service name to get the shared access keys for.
- Resource
Group stringName - resource group name
- provisioning
Service StringName - The provisioning service name to get the shared access keys for.
- resource
Group StringName - resource group name
- provisioning
Service stringName - The provisioning service name to get the shared access keys for.
- resource
Group stringName - resource group name
- provisioning_
service_ strname - The provisioning service name to get the shared access keys for.
- resource_
group_ strname - resource group name
- provisioning
Service StringName - The provisioning service name to get the shared access keys for.
- resource
Group StringName - resource group name
listIotDpsResourceKeys Result
The following output properties are available:
- Next
Link string - The next link.
- Value
List<Pulumi.
Azure Native. Device Provisioning Services. Outputs. Shared Access Signature Authorization Rule Access Rights Description Response> - The list of shared access policies.
- Next
Link string - The next link.
- Value
[]Shared
Access Signature Authorization Rule Access Rights Description Response - The list of shared access policies.
- next
Link String - The next link.
- value
List<Shared
Access Signature Authorization Rule Access Rights Description Response> - The list of shared access policies.
- next
Link string - The next link.
- value
Shared
Access Signature Authorization Rule Access Rights Description Response[] - The list of shared access policies.
- next_
link str - The next link.
- value
Sequence[Shared
Access Signature Authorization Rule Access Rights Description Response] - The list of shared access policies.
- next
Link String - The next link.
- value List<Property Map>
- The list of shared access policies.
Supporting Types
SharedAccessSignatureAuthorizationRuleAccessRightsDescriptionResponse
- 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