Delen via


MetricsAdvisorModelFactory.ServicePrincipalCredentialEntity Method

Definition

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

id
String

Sets the Id property.

name
String

Sets the Name property.

description
String

Sets the Description property.

clientId
String

Sets the ClientId property.

clientSecret
String

Sets the client secret. This secret is not exposed in a property.

tenantId
String

Sets the TenantId property.

Returns

A new instance of ServicePrincipalCredentialEntity for mocking purposes.

Applies to