你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

SqlManagementClient class

扩展

ServiceClient

构造函数

SqlManagementClient(TokenCredential, string, SqlManagementClientOptionalParams)

初始化 SqlManagementClient 类的新实例。

属性

$host
backupShortTermRetentionPolicies
capabilities
databaseAdvisors
databaseAutomaticTuningOperations
databaseBlobAuditingPolicies
databaseColumns
databaseExtensionsOperations
databaseOperations
databaseRecommendedActions
databases
databaseSchemas
databaseSecurityAlertPolicies
databaseTables
databaseUsages
databaseVulnerabilityAssessmentRuleBaselines
databaseVulnerabilityAssessments
databaseVulnerabilityAssessmentScans
dataMaskingPolicies
dataMaskingRules
dataWarehouseUserActivitiesOperations
deletedServers
elasticPoolActivities
elasticPoolDatabaseActivities
elasticPoolOperations
elasticPools
encryptionProtectors
extendedDatabaseBlobAuditingPolicies
extendedServerBlobAuditingPolicies
failoverGroups
firewallRules
geoBackupPolicies
instanceFailoverGroups
instancePools
jobAgents
jobCredentials
jobExecutions
jobs
jobStepExecutions
jobSteps
jobTargetExecutions
jobTargetGroups
jobVersions
ledgerDigestUploadsOperations
longTermRetentionBackups
longTermRetentionManagedInstanceBackups
longTermRetentionPolicies
maintenanceWindowOptionsOperations
maintenanceWindowsOperations
managedBackupShortTermRetentionPolicies
managedDatabaseColumns
managedDatabaseQueries
managedDatabaseRecommendedSensitivityLabels
managedDatabaseRestoreDetails
managedDatabases
managedDatabaseSchemas
managedDatabaseSecurityAlertPolicies
managedDatabaseSecurityEvents
managedDatabaseSensitivityLabels
managedDatabaseTables
managedDatabaseTransparentDataEncryption
managedDatabaseVulnerabilityAssessmentRuleBaselines
managedDatabaseVulnerabilityAssessments
managedDatabaseVulnerabilityAssessmentScans
managedInstanceAdministrators
managedInstanceAzureADOnlyAuthentications
managedInstanceEncryptionProtectors
managedInstanceKeys
managedInstanceLongTermRetentionPolicies
managedInstanceOperations
managedInstancePrivateEndpointConnections
managedInstancePrivateLinkResources
managedInstances
managedInstanceTdeCertificates
managedInstanceVulnerabilityAssessments
managedRestorableDroppedDatabaseBackupShortTermRetentionPolicies
managedServerSecurityAlertPolicies
operations
operationsHealthOperations
outboundFirewallRules
privateEndpointConnections
privateLinkResources
recommendedSensitivityLabels
recoverableDatabases
recoverableManagedDatabases
replicationLinks
restorableDroppedDatabases
restorableDroppedManagedDatabases
restorePoints
sensitivityLabels
serverAdvisors
serverAutomaticTuningOperations
serverAzureADAdministrators
serverAzureADOnlyAuthentications
serverBlobAuditingPolicies
serverCommunicationLinks
serverConnectionPolicies
serverDevOpsAuditSettings
serverDnsAliases
serverKeys
serverOperations
servers
serverSecurityAlertPolicies
serverTrustGroups
serverUsages
serverVulnerabilityAssessments
serviceObjectives
sqlAgent
subscriptionId
subscriptionUsages
syncAgents
syncGroups
syncMembers
tdeCertificates
timeZones
transparentDataEncryptions
usages
virtualClusters
virtualNetworkRules
workloadClassifiers
workloadGroups

继承属性

pipeline

此客户端用于发出请求的管道

继承的方法

sendOperationRequest<T>(OperationArguments, OperationSpec)

发送使用提供的 OperationSpec 填充的 HTTP 请求。

sendRequest(PipelineRequest)

发送提供的 httpRequest。

构造函数详细信息

SqlManagementClient(TokenCredential, string, SqlManagementClientOptionalParams)

初始化 SqlManagementClient 类的新实例。

new SqlManagementClient(credentials: TokenCredential, subscriptionId: string, options?: SqlManagementClientOptionalParams)

参数

credentials

TokenCredential

唯一标识客户端订阅的订阅凭据。

subscriptionId

string

用于标识 Azure 订阅的订阅 ID。

options
SqlManagementClientOptionalParams

参数选项

属性详细信息

$host

$host: string

属性值

string

backupShortTermRetentionPolicies

backupShortTermRetentionPolicies: BackupShortTermRetentionPolicies

属性值

capabilities

capabilities: Capabilities

属性值

databaseAdvisors

databaseAdvisors: DatabaseAdvisors

属性值

databaseAutomaticTuningOperations

databaseAutomaticTuningOperations: DatabaseAutomaticTuningOperations

属性值

databaseBlobAuditingPolicies

databaseBlobAuditingPolicies: DatabaseBlobAuditingPolicies

属性值

databaseColumns

databaseColumns: DatabaseColumns

属性值

databaseExtensionsOperations

databaseExtensionsOperations: DatabaseExtensionsOperations

属性值

databaseOperations

databaseOperations: DatabaseOperations

属性值

databaseRecommendedActions

databaseRecommendedActions: DatabaseRecommendedActions

属性值

databases

databases: Databases

属性值

databaseSchemas

databaseSchemas: DatabaseSchemas

属性值

databaseSecurityAlertPolicies

databaseSecurityAlertPolicies: DatabaseSecurityAlertPolicies

属性值

databaseTables

databaseTables: DatabaseTables

属性值

databaseUsages

databaseUsages: DatabaseUsages

属性值

databaseVulnerabilityAssessmentRuleBaselines

databaseVulnerabilityAssessmentRuleBaselines: DatabaseVulnerabilityAssessmentRuleBaselines

属性值

databaseVulnerabilityAssessments

databaseVulnerabilityAssessments: DatabaseVulnerabilityAssessments

属性值

databaseVulnerabilityAssessmentScans

databaseVulnerabilityAssessmentScans: DatabaseVulnerabilityAssessmentScans

属性值

dataMaskingPolicies

dataMaskingPolicies: DataMaskingPolicies

属性值

dataMaskingRules

dataMaskingRules: DataMaskingRules

属性值

dataWarehouseUserActivitiesOperations

dataWarehouseUserActivitiesOperations: DataWarehouseUserActivitiesOperations

属性值

deletedServers

deletedServers: DeletedServers

属性值

elasticPoolActivities

elasticPoolActivities: ElasticPoolActivities

属性值

elasticPoolDatabaseActivities

elasticPoolDatabaseActivities: ElasticPoolDatabaseActivities

属性值

elasticPoolOperations

elasticPoolOperations: ElasticPoolOperations

属性值

elasticPools

elasticPools: ElasticPools

属性值

encryptionProtectors

encryptionProtectors: EncryptionProtectors

属性值

extendedDatabaseBlobAuditingPolicies

extendedDatabaseBlobAuditingPolicies: ExtendedDatabaseBlobAuditingPolicies

属性值

extendedServerBlobAuditingPolicies

extendedServerBlobAuditingPolicies: ExtendedServerBlobAuditingPolicies

属性值

failoverGroups

failoverGroups: FailoverGroups

属性值

firewallRules

firewallRules: FirewallRules

属性值

geoBackupPolicies

geoBackupPolicies: GeoBackupPolicies

属性值

instanceFailoverGroups

instanceFailoverGroups: InstanceFailoverGroups

属性值

instancePools

instancePools: InstancePools

属性值

jobAgents

jobAgents: JobAgents

属性值

jobCredentials

jobCredentials: JobCredentials

属性值

jobExecutions

jobExecutions: JobExecutions

属性值

jobs

jobs: Jobs

属性值

jobStepExecutions

jobStepExecutions: JobStepExecutions

属性值

jobSteps

jobSteps: JobSteps

属性值

jobTargetExecutions

jobTargetExecutions: JobTargetExecutions

属性值

jobTargetGroups

jobTargetGroups: JobTargetGroups

属性值

jobVersions

jobVersions: JobVersions

属性值

ledgerDigestUploadsOperations

ledgerDigestUploadsOperations: LedgerDigestUploadsOperations

属性值

longTermRetentionBackups

longTermRetentionBackups: LongTermRetentionBackups

属性值

longTermRetentionManagedInstanceBackups

longTermRetentionManagedInstanceBackups: LongTermRetentionManagedInstanceBackups

属性值

longTermRetentionPolicies

longTermRetentionPolicies: LongTermRetentionPolicies

属性值

maintenanceWindowOptionsOperations

maintenanceWindowOptionsOperations: MaintenanceWindowOptionsOperations

属性值

maintenanceWindowsOperations

maintenanceWindowsOperations: MaintenanceWindowsOperations

属性值

managedBackupShortTermRetentionPolicies

managedBackupShortTermRetentionPolicies: ManagedBackupShortTermRetentionPolicies

属性值

managedDatabaseColumns

managedDatabaseColumns: ManagedDatabaseColumns

属性值

managedDatabaseQueries

managedDatabaseQueries: ManagedDatabaseQueries

属性值

managedDatabaseRecommendedSensitivityLabels

managedDatabaseRecommendedSensitivityLabels: ManagedDatabaseRecommendedSensitivityLabels

属性值

managedDatabaseRestoreDetails

managedDatabaseRestoreDetails: ManagedDatabaseRestoreDetails

属性值

managedDatabases

managedDatabases: ManagedDatabases

属性值

managedDatabaseSchemas

managedDatabaseSchemas: ManagedDatabaseSchemas

属性值

managedDatabaseSecurityAlertPolicies

managedDatabaseSecurityAlertPolicies: ManagedDatabaseSecurityAlertPolicies

属性值

managedDatabaseSecurityEvents

managedDatabaseSecurityEvents: ManagedDatabaseSecurityEvents

属性值

managedDatabaseSensitivityLabels

managedDatabaseSensitivityLabels: ManagedDatabaseSensitivityLabels

属性值

managedDatabaseTables

managedDatabaseTables: ManagedDatabaseTables

属性值

managedDatabaseTransparentDataEncryption

managedDatabaseTransparentDataEncryption: ManagedDatabaseTransparentDataEncryption

属性值

managedDatabaseVulnerabilityAssessmentRuleBaselines

managedDatabaseVulnerabilityAssessmentRuleBaselines: ManagedDatabaseVulnerabilityAssessmentRuleBaselines

属性值

managedDatabaseVulnerabilityAssessments

managedDatabaseVulnerabilityAssessments: ManagedDatabaseVulnerabilityAssessments

属性值

managedDatabaseVulnerabilityAssessmentScans

managedDatabaseVulnerabilityAssessmentScans: ManagedDatabaseVulnerabilityAssessmentScans

属性值

managedInstanceAdministrators

managedInstanceAdministrators: ManagedInstanceAdministrators

属性值

managedInstanceAzureADOnlyAuthentications

managedInstanceAzureADOnlyAuthentications: ManagedInstanceAzureADOnlyAuthentications

属性值

managedInstanceEncryptionProtectors

managedInstanceEncryptionProtectors: ManagedInstanceEncryptionProtectors

属性值

managedInstanceKeys

managedInstanceKeys: ManagedInstanceKeys

属性值

managedInstanceLongTermRetentionPolicies

managedInstanceLongTermRetentionPolicies: ManagedInstanceLongTermRetentionPolicies

属性值

managedInstanceOperations

managedInstanceOperations: ManagedInstanceOperations

属性值

managedInstancePrivateEndpointConnections

managedInstancePrivateEndpointConnections: ManagedInstancePrivateEndpointConnections

属性值

managedInstancePrivateLinkResources

managedInstancePrivateLinkResources: ManagedInstancePrivateLinkResources

属性值

managedInstances

managedInstances: ManagedInstances

属性值

managedInstanceTdeCertificates

managedInstanceTdeCertificates: ManagedInstanceTdeCertificates

属性值

managedInstanceVulnerabilityAssessments

managedInstanceVulnerabilityAssessments: ManagedInstanceVulnerabilityAssessments

属性值

managedRestorableDroppedDatabaseBackupShortTermRetentionPolicies

managedRestorableDroppedDatabaseBackupShortTermRetentionPolicies: ManagedRestorableDroppedDatabaseBackupShortTermRetentionPolicies

属性值

managedServerSecurityAlertPolicies

managedServerSecurityAlertPolicies: ManagedServerSecurityAlertPolicies

属性值

operations

operations: Operations

属性值

operationsHealthOperations

operationsHealthOperations: OperationsHealthOperations

属性值

outboundFirewallRules

outboundFirewallRules: OutboundFirewallRules

属性值

privateEndpointConnections

privateEndpointConnections: PrivateEndpointConnections

属性值

privateLinkResources

privateLinkResources: PrivateLinkResources

属性值

recommendedSensitivityLabels

recommendedSensitivityLabels: RecommendedSensitivityLabels

属性值

recoverableDatabases

recoverableDatabases: RecoverableDatabases

属性值

recoverableManagedDatabases

recoverableManagedDatabases: RecoverableManagedDatabases

属性值

replicationLinks: ReplicationLinks

属性值

restorableDroppedDatabases

restorableDroppedDatabases: RestorableDroppedDatabases

属性值

restorableDroppedManagedDatabases

restorableDroppedManagedDatabases: RestorableDroppedManagedDatabases

属性值

restorePoints

restorePoints: RestorePoints

属性值

sensitivityLabels

sensitivityLabels: SensitivityLabels

属性值

serverAdvisors

serverAdvisors: ServerAdvisors

属性值

serverAutomaticTuningOperations

serverAutomaticTuningOperations: ServerAutomaticTuningOperations

属性值

serverAzureADAdministrators

serverAzureADAdministrators: ServerAzureADAdministrators

属性值

serverAzureADOnlyAuthentications

serverAzureADOnlyAuthentications: ServerAzureADOnlyAuthentications

属性值

serverBlobAuditingPolicies

serverBlobAuditingPolicies: ServerBlobAuditingPolicies

属性值

serverCommunicationLinks: ServerCommunicationLinks

属性值

serverConnectionPolicies

serverConnectionPolicies: ServerConnectionPolicies

属性值

serverDevOpsAuditSettings

serverDevOpsAuditSettings: ServerDevOpsAuditSettings

属性值

serverDnsAliases

serverDnsAliases: ServerDnsAliases

属性值

serverKeys

serverKeys: ServerKeys

属性值

serverOperations

serverOperations: ServerOperations

属性值

servers

servers: Servers

属性值

serverSecurityAlertPolicies

serverSecurityAlertPolicies: ServerSecurityAlertPolicies

属性值

serverTrustGroups

serverTrustGroups: ServerTrustGroups

属性值

serverUsages

serverUsages: ServerUsages

属性值

serverVulnerabilityAssessments

serverVulnerabilityAssessments: ServerVulnerabilityAssessments

属性值

serviceObjectives

serviceObjectives: ServiceObjectives

属性值

sqlAgent

sqlAgent: SqlAgent

属性值

subscriptionId

subscriptionId: string

属性值

string

subscriptionUsages

subscriptionUsages: SubscriptionUsages

属性值

syncAgents

syncAgents: SyncAgents

属性值

syncGroups

syncGroups: SyncGroups

属性值

syncMembers

syncMembers: SyncMembers

属性值

tdeCertificates

tdeCertificates: TdeCertificates

属性值

timeZones

timeZones: TimeZones

属性值

transparentDataEncryptions

transparentDataEncryptions: TransparentDataEncryptions

属性值

usages

usages: Usages

属性值

virtualClusters

virtualClusters: VirtualClusters

属性值

virtualNetworkRules

virtualNetworkRules: VirtualNetworkRules

属性值

workloadClassifiers

workloadClassifiers: WorkloadClassifiers

属性值

workloadGroups

workloadGroups: WorkloadGroups

属性值

继承属性详细信息

pipeline

此客户端用于发出请求的管道

pipeline: Pipeline

属性值

Pipeline

继承自 ServiceClient.pipeline

继承的方法详细信息

sendOperationRequest<T>(OperationArguments, OperationSpec)

发送使用提供的 OperationSpec 填充的 HTTP 请求。

function sendOperationRequest<T>(operationArguments: OperationArguments, operationSpec: OperationSpec): Promise<T>

参数

operationArguments

OperationArguments

将从中填充 HTTP 请求的模板化值的参数。

operationSpec

OperationSpec

用于填充 httpRequest 的 OperationSpec。

返回

Promise<T>

继承自 ServiceClient.sendOperationRequest

sendRequest(PipelineRequest)

发送提供的 httpRequest。

function sendRequest(request: PipelineRequest): Promise<PipelineResponse>

参数

request

PipelineRequest

返回

Promise<PipelineResponse>

继承自 ServiceClient.sendRequest