MetricsAdvisorModelFactory.ServicePrincipalCredentialEntity 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.
Initializes a new instance of ServicePrincipalCredentialEntity for mocking purposes.
public static Azure.AI.MetricsAdvisor.Administration.ServicePrincipalCredentialEntity ServicePrincipalCredentialEntity (string id = default, string name = default, string description = default, string clientId = default, string clientSecret = default, string tenantId = default);
static member ServicePrincipalCredentialEntity : string * string * string * string * string * string -> Azure.AI.MetricsAdvisor.Administration.ServicePrincipalCredentialEntity
Public Shared Function ServicePrincipalCredentialEntity (Optional id As String = Nothing, Optional name As String = Nothing, Optional description As String = Nothing, Optional clientId As String = Nothing, Optional clientSecret As String = Nothing, Optional tenantId As String = Nothing) As ServicePrincipalCredentialEntity
Parameters
- description
- String
Sets the Description property.
- clientSecret
- String
Sets the client secret. This secret is not exposed in a property.
Returns
A new instance of ServicePrincipalCredentialEntity for mocking purposes.
Applies to
Met ons samenwerken op GitHub
De bron voor deze inhoud vindt u op GitHub, waar u ook problemen en pull-aanvragen kunt maken en controleren. Bekijk onze gids voor inzenders voor meer informatie.
Azure SDK for .NET