DatasourceServicePrincipal Class

DatasourceServicePrincipal.

All required parameters must be populated in order to send to Azure.

Inheritance
azure.ai.metricsadvisor.models._models.DatasourceCredential
DatasourceServicePrincipal

Constructor

DatasourceServicePrincipal(name: str, client_id: str, client_secret: str, tenant_id: str, **kwargs: Any)

Parameters

name
str
Required

Required. Name of data source credential.

client_id
str
Required

Required. The client id of the service principal.

client_secret
str
Required

Required. The client secret of the service principal.

tenant_id
str
Required

Required. The tenant id of the service principal.

description
str

Description of data source credential.

Variables

credential_type

Required. Type of data source credential.Constant filled by server. Possible values include: "AzureSQLConnectionString", "DataLakeGen2SharedKey", "ServicePrincipal", "ServicePrincipalInKV".

id
str

Unique id of data source credential.