Uses of Class
com.azure.ai.metricsadvisor.administration.models.SqlServerDataFeedSource
Package
Description
Package containing model types for Metrics Advisor administration operations.
-
Uses of SqlServerDataFeedSource in com.azure.ai.metricsadvisor.administration.models
Modifier and TypeMethodDescriptionstatic SqlServerDataFeedSource
SqlServerDataFeedSource.fromBasicCredential
(String connectionString, String query) Create a SQLServerDataFeedSource with credential included in theconnectionString
as plain text.static SqlServerDataFeedSource
SqlServerDataFeedSource.fromConnectionStringCredential
(String query, String credentialId) Create a SQLServerDataFeedSource with thecredentialId
identifying a credential entity of typeDataSourceSqlServerConnectionString
that contains the SQL connection string.static SqlServerDataFeedSource
SqlServerDataFeedSource.fromManagedIdentityCredential
(String connectionString, String query) Create a SQLServerDataFeedSource with theconnectionString
containing the resource id of the SQL server on which metrics advisor has MSI access.static SqlServerDataFeedSource
SqlServerDataFeedSource.fromServicePrincipalCredential
(String connectionString, String query, String credentialId) Create a SQLServerDataFeedSource with thecredentialId
identifying a credential entity of typeDataSourceServicePrincipal
, the entity contains Service Principal to access the SQL Server.static SqlServerDataFeedSource
SqlServerDataFeedSource.fromServicePrincipalInKeyVaultCredential
(String connectionString, String query, String credentialId) Create a SQLServerDataFeedSource with thecredentialId
identifying a credential entity of typeDataSourceServicePrincipalInKeyVault
, the entity contains details of the KeyVault holding the Service Principal to access the SQL Server.