MachineLearningServicePrincipalDatastoreCredentials Constructors
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.
Overloads
MachineLearningServicePrincipalDatastoreCredentials(Guid, MachineLearningServicePrincipalDatastoreSecrets, Guid)
Initializes a new instance of MachineLearningServicePrincipalDatastoreCredentials.
public MachineLearningServicePrincipalDatastoreCredentials (Guid clientId, Azure.ResourceManager.MachineLearning.Models.MachineLearningServicePrincipalDatastoreSecrets secrets, Guid tenantId);
new Azure.ResourceManager.MachineLearning.Models.MachineLearningServicePrincipalDatastoreCredentials : Guid * Azure.ResourceManager.MachineLearning.Models.MachineLearningServicePrincipalDatastoreSecrets * Guid -> Azure.ResourceManager.MachineLearning.Models.MachineLearningServicePrincipalDatastoreCredentials
Public Sub New (clientId As Guid, secrets As MachineLearningServicePrincipalDatastoreSecrets, tenantId As Guid)
Parameters
- clientId
- Guid
[Required] Service principal client ID.
[Required] Service principal secrets.
- tenantId
- Guid
[Required] ID of the tenant to which the service principal belongs.
Exceptions
secrets
is null.
Applies to
MachineLearningServicePrincipalDatastoreCredentials(Guid, Guid, MachineLearningServicePrincipalDatastoreSecrets)
Initializes a new instance of MachineLearningServicePrincipalDatastoreCredentials.
public MachineLearningServicePrincipalDatastoreCredentials (Guid tenantId, Guid clientId, Azure.ResourceManager.MachineLearning.Models.MachineLearningServicePrincipalDatastoreSecrets secrets);
new Azure.ResourceManager.MachineLearning.Models.MachineLearningServicePrincipalDatastoreCredentials : Guid * Guid * Azure.ResourceManager.MachineLearning.Models.MachineLearningServicePrincipalDatastoreSecrets -> Azure.ResourceManager.MachineLearning.Models.MachineLearningServicePrincipalDatastoreCredentials
Public Sub New (tenantId As Guid, clientId As Guid, secrets As MachineLearningServicePrincipalDatastoreSecrets)
Parameters
- tenantId
- Guid
[Required] ID of the tenant to which the service principal belongs.
- clientId
- Guid
[Required] Service principal client ID.
[Required] Service principal secrets.
Exceptions
secrets
is null.