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