다음을 통해 공유


IotDpsResourceOperationsExtensions.ListKeysAsync Method

Definition

Get the security metadata for a provisioning service.

public static System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.DeviceProvisioningServices.Models.SharedAccessSignatureAuthorizationRuleAccessRightsDescription>> ListKeysAsync (this Microsoft.Azure.Management.DeviceProvisioningServices.IIotDpsResourceOperations operations, string provisioningServiceName, string resourceGroupName, System.Threading.CancellationToken cancellationToken = default);
static member ListKeysAsync : Microsoft.Azure.Management.DeviceProvisioningServices.IIotDpsResourceOperations * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.DeviceProvisioningServices.Models.SharedAccessSignatureAuthorizationRuleAccessRightsDescription>>
<Extension()>
Public Function ListKeysAsync (operations As IIotDpsResourceOperations, provisioningServiceName As String, resourceGroupName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IPage(Of SharedAccessSignatureAuthorizationRuleAccessRightsDescription))

Parameters

operations
IIotDpsResourceOperations

The operations group for this extension method.

provisioningServiceName
String

The provisioning service name to get the shared access keys for.

resourceGroupName
String

resource group name

cancellationToken
CancellationToken

The cancellation token.

Returns

Remarks

List the primary and secondary keys for a provisioning service.

Applies to