Share via


DeviceProvisioningServicesSharedAccessKey Constructor

Definition

Initializes a new instance of DeviceProvisioningServicesSharedAccessKey.

public DeviceProvisioningServicesSharedAccessKey (string keyName, Azure.ResourceManager.DeviceProvisioningServices.Models.DeviceProvisioningServicesAccessKeyRight rights);
new Azure.ResourceManager.DeviceProvisioningServices.Models.DeviceProvisioningServicesSharedAccessKey : string * Azure.ResourceManager.DeviceProvisioningServices.Models.DeviceProvisioningServicesAccessKeyRight -> Azure.ResourceManager.DeviceProvisioningServices.Models.DeviceProvisioningServicesSharedAccessKey
Public Sub New (keyName As String, rights As DeviceProvisioningServicesAccessKeyRight)

Parameters

keyName
String

Name of the key.

rights
DeviceProvisioningServicesAccessKeyRight

Rights that this key has.

Exceptions

keyName is null.

Applies to