ServicePrincipalProperties(String, String) Constructor

Definition

Initializes a new instance of ServicePrincipalProperties.

public ServicePrincipalProperties (string clientId, string secret);
new Azure.ResourceManager.MachineLearningCompute.Models.ServicePrincipalProperties : string * string -> Azure.ResourceManager.MachineLearningCompute.Models.ServicePrincipalProperties
Public Sub New (clientId As String, secret As String)

Parameters

clientId
String

The service principal client ID.

secret
String

The service principal secret. This is not returned in response of GET/PUT on the resource. To see this please call listKeys.

Exceptions

clientId or secret is null.

Applies to