IotDpsResourceOperationsExtensions.ListKeysAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET