ServicePrincipalProperties(String, String) Constructor
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.
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
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