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

ManagedDatabaseResource 类

定义

表示 ManagedDatabase 的类,以及可对其进行执行的实例操作。 如果有 ,ResourceIdentifier则可以使用 GetManagedDatabaseResource 方法从 实例ArmClient构造 ManagedDatabaseResource 。 否则,可以使用 GetManagedDatabase 方法从其父资源 ManagedInstanceResource 获取一个资源。

public class ManagedDatabaseResource : Azure.ResourceManager.ArmResource
type ManagedDatabaseResource = class
    inherit ArmResource
Public Class ManagedDatabaseResource
Inherits ArmResource
继承
ManagedDatabaseResource

构造函数

ManagedDatabaseResource()

初始化 类的新实例 ManagedDatabaseResource 以便模拟。

字段

ResourceType

获取操作的资源类型。

属性

Client

获取 ArmClient 创建此资源客户端的源。

(继承自 ArmResource)
Data

获取表示此功能的数据。

Diagnostics

获取此资源客户端的诊断选项。

(继承自 ArmResource)
Endpoint

获取此资源客户端的基 URI。

(继承自 ArmResource)
HasData

获取当前实例是否具有数据。

Id

获取资源标识符。

(继承自 ArmResource)
Pipeline

获取此资源客户端的管道。

(继承自 ArmResource)

方法

AddTag(String, String, CancellationToken)

将标记添加到当前资源。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/databases/{databaseName}
  • 操作IdManagedDatabases_Get
AddTagAsync(String, String, CancellationToken)

将标记添加到当前资源。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/databases/{databaseName}
  • 操作IdManagedDatabases_Get
CancelMove(WaitUntil, ManagedDatabaseMoveDefinition, CancellationToken)

取消托管数据库移动操作。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/databases/{databaseName}/cancelMove
  • 操作IdManagedDatabases_CancelMove
CancelMoveAsync(WaitUntil, ManagedDatabaseMoveDefinition, CancellationToken)

取消托管数据库移动操作。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/databases/{databaseName}/cancelMove
  • 操作IdManagedDatabases_CancelMove
CanUseTagResource(CancellationToken)

检查是否在当前环境中部署了 TagResource API。

(继承自 ArmResource)
CanUseTagResourceAsync(CancellationToken)

检查是否在当前环境中部署了 TagResource API。

(继承自 ArmResource)
CompleteMove(WaitUntil, ManagedDatabaseMoveDefinition, CancellationToken)

完成托管数据库移动操作。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/databases/{databaseName}/completeMove
  • 操作IdManagedDatabases_CompleteMove
CompleteMoveAsync(WaitUntil, ManagedDatabaseMoveDefinition, CancellationToken)

完成托管数据库移动操作。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/databases/{databaseName}/completeMove
  • 操作IdManagedDatabases_CompleteMove
CompleteRestore(WaitUntil, CompleteDatabaseRestoreDefinition, CancellationToken)

完成对托管数据库的还原操作。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/databases/{databaseName}/completeRestore
  • 操作IdManagedDatabases_CompleteRestore
CompleteRestoreAsync(WaitUntil, CompleteDatabaseRestoreDefinition, CancellationToken)

完成对托管数据库的还原操作。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/databases/{databaseName}/completeRestore
  • 操作IdManagedDatabases_CompleteRestore
CreateResourceIdentifier(String, String, String, String)

生成实例的资源标识符 ManagedDatabaseResource

Delete(WaitUntil, CancellationToken)

删除托管数据库。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/databases/{databaseName}
  • 操作IdManagedDatabases_Delete
DeleteAsync(WaitUntil, CancellationToken)

删除托管数据库。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/databases/{databaseName}
  • 操作IdManagedDatabases_Delete
Get(CancellationToken)

获取托管数据库。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/databases/{databaseName}
  • 操作IdManagedDatabases_Get
GetAsync(CancellationToken)

获取托管数据库。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/databases/{databaseName}
  • 操作IdManagedDatabases_Get
GetAvailableLocations(CancellationToken)

列出所有可用的地理位置。

(继承自 ArmResource)
GetAvailableLocationsAsync(CancellationToken)

列出所有可用的地理位置。

(继承自 ArmResource)
GetCurrentManagedDatabaseSensitivityLabels(String, Nullable<Boolean>, String, CancellationToken)

获取给定数据库的敏感度标签

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/databases/{databaseName}/currentSensitivityLabels
  • 操作IdManagedDatabaseSensitivityLabels_ListCurrent
GetCurrentManagedDatabaseSensitivityLabelsAsync(String, Nullable<Boolean>, String, CancellationToken)

获取给定数据库的敏感度标签

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/databases/{databaseName}/currentSensitivityLabels
  • 操作IdManagedDatabaseSensitivityLabels_ListCurrent
GetManagedBackupShortTermRetentionPolicies()

获取 ManagedDatabase 中的 ManagedBackupShortTermRetentionPolicyResources 的集合。

GetManagedBackupShortTermRetentionPolicy(ManagedShortTermRetentionPolicyName, CancellationToken)

获取托管数据库的短期保留策略。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/databases/{databaseName}/backupShortTermRetentionPolicies/{policyName}
  • 操作IdManagedBackupShortTermRetentionPolicies_Get
GetManagedBackupShortTermRetentionPolicyAsync(ManagedShortTermRetentionPolicyName, CancellationToken)

获取托管数据库的短期保留策略。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/databases/{databaseName}/backupShortTermRetentionPolicies/{policyName}
  • 操作IdManagedBackupShortTermRetentionPolicies_Get
GetManagedDatabaseAdvancedThreatProtection(AdvancedThreatProtectionName, CancellationToken)

获取托管数据库的高级威胁防护状态。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/databases/{databaseName}/advancedThreatProtectionSettings/{advancedThreatProtectionName}
  • 操作IdManagedDatabaseAdvancedThreatProtectionSettings_Get
GetManagedDatabaseAdvancedThreatProtectionAsync(AdvancedThreatProtectionName, CancellationToken)

获取托管数据库的高级威胁防护状态。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/databases/{databaseName}/advancedThreatProtectionSettings/{advancedThreatProtectionName}
  • 操作IdManagedDatabaseAdvancedThreatProtectionSettings_Get
GetManagedDatabaseAdvancedThreatProtections()

获取 ManagedDatabase 中的 ManagedDatabaseAdvancedThreatProtectionResources 的集合。

GetManagedDatabaseColumnsByDatabase(IEnumerable<String>, IEnumerable<String>, IEnumerable<String>, IEnumerable<String>, String, CancellationToken)

列出托管数据库列

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/databases/{databaseName}/columns
  • 操作IdManagedDatabaseColumns_ListByDatabase
GetManagedDatabaseColumnsByDatabaseAsync(IEnumerable<String>, IEnumerable<String>, IEnumerable<String>, IEnumerable<String>, String, CancellationToken)

列出托管数据库列

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/databases/{databaseName}/columns
  • 操作IdManagedDatabaseColumns_ListByDatabase
GetManagedDatabaseQuery(String, CancellationToken)

按查询 ID 获取查询。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/databases/{databaseName}/queries/{queryId}
  • 操作IdManagedDatabaseQueries_Get
GetManagedDatabaseQueryAsync(String, CancellationToken)

按查询 ID 获取查询。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/databases/{databaseName}/queries/{queryId}
  • 操作IdManagedDatabaseQueries_Get
GetManagedDatabaseRestoreDetail(RestoreDetailsName, CancellationToken)

获取托管数据库还原详细信息。

  • 请求路径/订阅/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/databases/{databaseName}/restoreDetails/{restoreDetailsName}
  • 操作IdManagedDatabaseRestoreDetails_Get
GetManagedDatabaseRestoreDetailAsync(RestoreDetailsName, CancellationToken)

获取托管数据库还原详细信息。

  • 请求路径/订阅/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/databases/{databaseName}/restoreDetails/{restoreDetailsName}
  • 操作IdManagedDatabaseRestoreDetails_Get
GetManagedDatabaseRestoreDetails()

获取 ManagedDatabase 中的 ManagedDatabaseRestoreDetailResources 的集合。

GetManagedDatabaseSchema(String, CancellationToken)

获取托管数据库架构

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/databases/{databaseName}/schemas/{schemaName}
  • 操作IdManagedDatabaseSchemas_Get
GetManagedDatabaseSchemaAsync(String, CancellationToken)

获取托管数据库架构

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/databases/{databaseName}/schemas/{schemaName}
  • 操作IdManagedDatabaseSchemas_Get
GetManagedDatabaseSchemas()

获取 ManagedDatabase 中的 ManagedDatabaseSchemaResources 的集合。

GetManagedDatabaseSecurityAlertPolicies()

获取 ManagedDatabaseSecurityAlertPolicyResources 的集合。

GetManagedDatabaseSecurityAlertPolicy(SqlSecurityAlertPolicyName, CancellationToken)

获取托管数据库的安全警报策略。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/databases/{databaseName}/securityAlertPolicies/{securityAlertPolicyName}
  • 操作IdManagedDatabaseSecurityAlertPolicies_Get
GetManagedDatabaseSecurityAlertPolicyAsync(SqlSecurityAlertPolicyName, CancellationToken)

获取托管数据库的安全警报策略。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/databases/{databaseName}/securityAlertPolicies/{securityAlertPolicyName}
  • 操作IdManagedDatabaseSecurityAlertPolicies_Get
GetManagedDatabaseSecurityEventsByDatabase(String, Nullable<Int32>, Nullable<Int32>, String, CancellationToken)

获取安全事件的列表。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/databases/{databaseName}/securityEvents
  • 操作IdManagedDatabaseSecurityEvents_ListByDatabase
GetManagedDatabaseSecurityEventsByDatabaseAsync(String, Nullable<Int32>, Nullable<Int32>, String, CancellationToken)

获取安全事件的列表。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/databases/{databaseName}/securityEvents
  • 操作IdManagedDatabaseSecurityEvents_ListByDatabase
GetManagedDatabaseVulnerabilityAssessment(VulnerabilityAssessmentName, CancellationToken)

获取数据库的漏洞评估。

  • Request Path/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/databases/{databaseName}/vulnerabilityAssessmentsments/{vulnerabilityAssessmentName}
  • 操作IdManagedDatabaseVulnerabilityAssessments_Get
GetManagedDatabaseVulnerabilityAssessmentAsync(VulnerabilityAssessmentName, CancellationToken)

获取数据库的漏洞评估。

  • Request Path/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/databases/{databaseName}/vulnerabilityAssessmentsments/{vulnerabilityAssessmentName}
  • 操作IdManagedDatabaseVulnerabilityAssessments_Get
GetManagedDatabaseVulnerabilityAssessments()

获取 ManagedDatabase 中的 ManagedDatabaseVulnerabilityAssessmentResources 的集合。

GetManagedInstanceLongTermRetentionPolicies()

获取 ManagedDatabase 中 ManagedInstanceLongTermRetentionPolicyResources 的集合。

GetManagedInstanceLongTermRetentionPolicy(ManagedInstanceLongTermRetentionPolicyName, CancellationToken)

获取托管数据库的长期保留策略。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/databases/{databaseName}/backupLongTermRetentionPolicies/{policyName}
  • 操作IdManagedInstanceLongTermRetentionPolicies_Get
GetManagedInstanceLongTermRetentionPolicyAsync(ManagedInstanceLongTermRetentionPolicyName, CancellationToken)

获取托管数据库的长期保留策略。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/databases/{databaseName}/backupLongTermRetentionPolicies/{policyName}
  • 操作IdManagedInstanceLongTermRetentionPolicies_Get
GetManagedLedgerDigestUpload(ManagedLedgerDigestUploadsName, CancellationToken)

获取数据库的当前账本摘要上传配置。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/databases/{databaseName}/ledgerDigestUploads/{ledgerDigestUploads}
  • 操作IdManagedLedgerDigestUploads_Get
GetManagedLedgerDigestUploadAsync(ManagedLedgerDigestUploadsName, CancellationToken)

获取数据库的当前账本摘要上传配置。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/databases/{databaseName}/ledgerDigestUploads/{ledgerDigestUploads}
  • 操作IdManagedLedgerDigestUploads_Get
GetManagedLedgerDigestUploads()

获取 ManagedDatabase 中的 ManagedLedgerDigestUploadResources 的集合。

GetManagedTransparentDataEncryption(TransparentDataEncryptionName, CancellationToken)

获取托管数据库的透明数据加密。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/databases/{databaseName}/transparentDataEncryption/{tdeName}
  • 操作IdManagedDatabaseTransparentDataEncryption_Get
GetManagedTransparentDataEncryptionAsync(TransparentDataEncryptionName, CancellationToken)

获取托管数据库的透明数据加密。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/databases/{databaseName}/transparentDataEncryption/{tdeName}
  • 操作IdManagedDatabaseTransparentDataEncryption_Get
GetManagedTransparentDataEncryptions()

获取 ManagedDatabase 中的 ManagedTransparentDataEncryptionResources 的集合。

GetManagementLock(String, CancellationToken)

按范围获取管理锁。

  • 请求路径/{scope}/providers/Microsoft.Authorization/locks/{lockName}
  • 操作IdManagementLocks_GetByScope
(继承自 ArmResource)
GetManagementLockAsync(String, CancellationToken)

按范围获取管理锁。

  • 请求路径/{scope}/providers/Microsoft.Authorization/locks/{lockName}
  • 操作IdManagementLocks_GetByScope
(继承自 ArmResource)
GetManagementLocks()

获取 ArmResource 中 ManagementLockResources 的集合。

(继承自 ArmResource)
GetPolicyAssignment(String, CancellationToken)

此操作检索单个策略分配,给定其名称和创建范围。

  • 请求路径/{scope}/providers/Microsoft.Authorization/policyAssignments/{policyAssignmentName}
  • 操作IdPolicyAssignments_Get
(继承自 ArmResource)
GetPolicyAssignmentAsync(String, CancellationToken)

此操作检索单个策略分配,给定其名称和创建范围。

  • 请求路径/{scope}/providers/Microsoft.Authorization/policyAssignments/{policyAssignmentName}
  • 操作IdPolicyAssignments_Get
(继承自 ArmResource)
GetPolicyAssignments()

获取 ArmResource 中 PolicyAssignmentResources 的集合。

(继承自 ArmResource)
GetQueryStatistics(String, String, String, Nullable<QueryTimeGrainType>, CancellationToken)

按查询 ID 获取查询执行统计信息。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/databases/{databaseName}/queries/{queryId}/statistics
  • 操作IdManagedDatabaseQueries_ListByQuery
GetQueryStatisticsAsync(String, String, String, Nullable<QueryTimeGrainType>, CancellationToken)

按查询 ID 获取查询执行统计信息。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/databases/{databaseName}/queries/{queryId}/statistics
  • 操作IdManagedDatabaseQueries_ListByQuery
GetRecommendedManagedDatabaseSensitivityLabels(String, Nullable<Boolean>, String, CancellationToken)

获取给定数据库的敏感度标签

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/databases/{databaseName}/recommendedSensitivityLabels
  • 操作IdManagedDatabaseSensitivityLabels_ListRecommended
GetRecommendedManagedDatabaseSensitivityLabelsAsync(String, Nullable<Boolean>, String, CancellationToken)

获取给定数据库的敏感度标签

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/databases/{databaseName}/recommendedSensitivityLabels
  • 操作IdManagedDatabaseSensitivityLabels_ListRecommended
GetTagResource()

获取一个 对象,该对象表示 TagResource 以及可在 ArmResource 中对其进行执行的实例操作。

(继承自 ArmResource)
RemoveTag(String, CancellationToken)

按键从资源中删除标记。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/databases/{databaseName}
  • 操作IdManagedDatabases_Get
RemoveTagAsync(String, CancellationToken)

按键从资源中删除标记。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/databases/{databaseName}
  • 操作IdManagedDatabases_Get
SetTags(IDictionary<String,String>, CancellationToken)

将资源上的标记替换为给定集。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/databases/{databaseName}
  • 操作IdManagedDatabases_Get
SetTagsAsync(IDictionary<String,String>, CancellationToken)

将资源上的标记替换为给定集。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/databases/{databaseName}
  • 操作IdManagedDatabases_Get
StartMove(WaitUntil, ManagedDatabaseStartMoveDefinition, CancellationToken)

启动托管数据库移动操作。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/databases/{databaseName}/startMove
  • 操作IdManagedDatabases_StartMove
StartMoveAsync(WaitUntil, ManagedDatabaseStartMoveDefinition, CancellationToken)

启动托管数据库移动操作。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/databases/{databaseName}/startMove
  • 操作IdManagedDatabases_StartMove
TryGetApiVersion(ResourceType, String)

获取 API 版本替代(如果已为当前客户端选项设置)。

(继承自 ArmResource)
Update(WaitUntil, ManagedDatabasePatch, CancellationToken)

更新现有的数据库。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/databases/{databaseName}
  • 操作IdManagedDatabases_Update
UpdateAsync(WaitUntil, ManagedDatabasePatch, CancellationToken)

更新现有的数据库。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/databases/{databaseName}
  • 操作IdManagedDatabases_Update
UpdateManagedDatabaseSensitivityLabel(SensitivityLabelUpdateList, CancellationToken)

使用操作批处理更新给定数据库的敏感度标签。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/databases/{databaseName}/currentSensitivityLabels
  • 操作IdManagedDatabaseSensitivityLabels_Update
UpdateManagedDatabaseSensitivityLabelAsync(SensitivityLabelUpdateList, CancellationToken)

使用操作批处理更新给定数据库的敏感度标签。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/databases/{databaseName}/currentSensitivityLabels
  • 操作IdManagedDatabaseSensitivityLabels_Update
UpdateRecommendedManagedDatabaseSensitivityLabel(RecommendedSensitivityLabelUpdateList, CancellationToken)

使用操作批处理更新给定数据库的建议敏感度标签状态。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/databases/{databaseName}/recommendedSensitivityLabels
  • 操作IdManagedDatabaseSensitivityLabels_UpdateRecommended
UpdateRecommendedManagedDatabaseSensitivityLabelAsync(RecommendedSensitivityLabelUpdateList, CancellationToken)

使用操作批处理更新给定数据库的建议敏感度标签状态。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/databases/{databaseName}/recommendedSensitivityLabels
  • 操作IdManagedDatabaseSensitivityLabels_UpdateRecommended

扩展方法

GetAuthorizationRoleDefinition(ArmResource, ResourceIdentifier, CancellationToken)

按名称 (GUID) 获取角色定义。

  • 请求路径/{scope}/providers/Microsoft.Authorization/roleDefinitions/{roleDefinitionId}
  • 操作IdRoleDefinitions_Get
GetAuthorizationRoleDefinitionAsync(ArmResource, ResourceIdentifier, CancellationToken)

按名称 (GUID) 获取角色定义。

  • 请求路径/{scope}/providers/Microsoft.Authorization/roleDefinitions/{roleDefinitionId}
  • 操作IdRoleDefinitions_Get
GetAuthorizationRoleDefinitions(ArmResource)

获取 ArmResource 中 AuthorizationRoleDefinitionResources 的集合。

GetDenyAssignment(ArmResource, String, CancellationToken)

获取指定的拒绝分配。

  • 请求路径/{scope}/providers/Microsoft.Authorization/denyAssignments/{denyAssignmentId}
  • 操作IdDenyAssignments_Get
GetDenyAssignmentAsync(ArmResource, String, CancellationToken)

获取指定的拒绝分配。

  • 请求路径/{scope}/providers/Microsoft.Authorization/denyAssignments/{denyAssignmentId}
  • 操作IdDenyAssignments_Get
GetDenyAssignments(ArmResource)

获取 ArmResource 中 DenyAssignmentResources 的集合。

GetRoleAssignment(ArmResource, String, String, CancellationToken)

按范围和名称获取角色分配。

  • 请求路径/{scope}/providers/Microsoft.Authorization/roleAssignments/{roleAssignmentName}
  • 操作IdRoleAssignments_Get
GetRoleAssignmentAsync(ArmResource, String, String, CancellationToken)

按范围和名称获取角色分配。

  • 请求路径/{scope}/providers/Microsoft.Authorization/roleAssignments/{roleAssignmentName}
  • 操作IdRoleAssignments_Get
GetRoleAssignments(ArmResource)

获取 ArmResource 中 RoleAssignmentResources 的集合。

GetRoleAssignmentSchedule(ArmResource, String, CancellationToken)

获取资源范围的指定角色分配计划

  • 请求路径/{scope}/providers/Microsoft.Authorization/roleAssignmentSchedules/{roleAssignmentScheduleName}
  • 操作IdRoleAssignmentSchedules_Get
GetRoleAssignmentScheduleAsync(ArmResource, String, CancellationToken)

获取资源范围的指定角色分配计划

  • 请求路径/{scope}/providers/Microsoft.Authorization/roleAssignmentSchedules/{roleAssignmentScheduleName}
  • 操作IdRoleAssignmentSchedules_Get
GetRoleAssignmentScheduleInstance(ArmResource, String, CancellationToken)

获取指定的角色分配计划实例。

  • 请求路径/{scope}/providers/Microsoft.Authorization/roleAssignmentScheduleInstances/{roleAssignmentScheduleInstanceName}
  • 操作IdRoleAssignmentScheduleInstances_Get
GetRoleAssignmentScheduleInstanceAsync(ArmResource, String, CancellationToken)

获取指定的角色分配计划实例。

  • 请求路径/{scope}/providers/Microsoft.Authorization/roleAssignmentScheduleInstances/{roleAssignmentScheduleInstanceName}
  • 操作IdRoleAssignmentScheduleInstances_Get
GetRoleAssignmentScheduleInstances(ArmResource)

获取 ArmResource 中 RoleAssignmentScheduleInstanceResources 的集合。

GetRoleAssignmentScheduleRequest(ArmResource, String, CancellationToken)

获取指定的角色分配计划请求。

  • 请求路径/{scope}/providers/Microsoft.Authorization/roleAssignmentScheduleRequests/{roleAssignmentScheduleRequestName}
  • 操作IdRoleAssignmentScheduleRequests_Get
GetRoleAssignmentScheduleRequestAsync(ArmResource, String, CancellationToken)

获取指定的角色分配计划请求。

  • 请求路径/{scope}/providers/Microsoft.Authorization/roleAssignmentScheduleRequests/{roleAssignmentScheduleRequestName}
  • 操作IdRoleAssignmentScheduleRequests_Get
GetRoleAssignmentScheduleRequests(ArmResource)

获取 ArmResource 中 RoleAssignmentScheduleRequestResources 的集合。

GetRoleAssignmentSchedules(ArmResource)

获取 ArmResource 中 RoleAssignmentScheduleResources 的集合。

GetRoleEligibilitySchedule(ArmResource, String, CancellationToken)

获取资源范围的指定角色资格计划

  • 请求路径/{scope}/providers/Microsoft.Authorization/roleEligibilitySchedules/{roleEligibilityScheduleName}
  • 操作IdRoleEligibilitySchedules_Get
GetRoleEligibilityScheduleAsync(ArmResource, String, CancellationToken)

获取资源范围的指定角色资格计划

  • 请求路径/{scope}/providers/Microsoft.Authorization/roleEligibilitySchedules/{roleEligibilityScheduleName}
  • 操作IdRoleEligibilitySchedules_Get
GetRoleEligibilityScheduleInstance(ArmResource, String, CancellationToken)

获取指定的角色资格计划实例。

  • 请求路径/{scope}/providers/Microsoft.Authorization/roleEligibilityScheduleInstances/{roleEligibilityScheduleInstanceName}
  • 操作IdRoleEligibilityScheduleInstances_Get
GetRoleEligibilityScheduleInstanceAsync(ArmResource, String, CancellationToken)

获取指定的角色资格计划实例。

  • 请求路径/{scope}/providers/Microsoft.Authorization/roleEligibilityScheduleInstances/{roleEligibilityScheduleInstanceName}
  • 操作IdRoleEligibilityScheduleInstances_Get
GetRoleEligibilityScheduleInstances(ArmResource)

获取 ArmResource 中 RoleEligibilityScheduleInstanceResources 的集合。

GetRoleEligibilityScheduleRequest(ArmResource, String, CancellationToken)

获取指定的角色资格计划请求。

  • 请求路径/{scope}/providers/Microsoft.Authorization/roleEligibilityScheduleRequests/{roleEligibilityScheduleRequestName}
  • 操作IdRoleEligibilityScheduleRequests_Get
GetRoleEligibilityScheduleRequestAsync(ArmResource, String, CancellationToken)

获取指定的角色资格计划请求。

  • 请求路径/{scope}/providers/Microsoft.Authorization/roleEligibilityScheduleRequests/{roleEligibilityScheduleRequestName}
  • 操作IdRoleEligibilityScheduleRequests_Get
GetRoleEligibilityScheduleRequests(ArmResource)

获取 ArmResource 中 RoleEligibilityScheduleRequestResources 的集合。

GetRoleEligibilitySchedules(ArmResource)

获取 ArmResource 中 RoleEligibilityScheduleResources 的集合。

GetRoleManagementPolicies(ArmResource)

获取 ArmResource 中 RoleManagementPolicyResources 的集合。

GetRoleManagementPolicy(ArmResource, String, CancellationToken)

获取资源范围的指定角色管理策略

  • 请求路径/{scope}/providers/Microsoft.Authorization/roleManagementPolicies/{roleManagementPolicyName}
  • 操作IdRoleManagementPolicies_Get
GetRoleManagementPolicyAssignment(ArmResource, String, CancellationToken)

获取资源范围的指定角色管理策略分配

  • 请求路径/{scope}/providers/Microsoft.Authorization/roleManagementPolicyAssignments/{roleManagementPolicyAssignmentName}
  • 操作IdRoleManagementPolicyAssignments_Get
GetRoleManagementPolicyAssignmentAsync(ArmResource, String, CancellationToken)

获取资源范围的指定角色管理策略分配

  • 请求路径/{scope}/providers/Microsoft.Authorization/roleManagementPolicyAssignments/{roleManagementPolicyAssignmentName}
  • 操作IdRoleManagementPolicyAssignments_Get
GetRoleManagementPolicyAssignments(ArmResource)

获取 ArmResource 中 RoleManagementPolicyAssignmentResources 的集合。

GetRoleManagementPolicyAsync(ArmResource, String, CancellationToken)

获取资源范围的指定角色管理策略

  • 请求路径/{scope}/providers/Microsoft.Authorization/roleManagementPolicies/{roleManagementPolicyName}
  • 操作IdRoleManagementPolicies_Get
GetSystemAssignedIdentity(ArmResource)

获取一个 对象,该对象表示 SystemAssignedIdentityResource 以及可在 ArmResource 中对它执行的实例操作。

GetLinkerResource(ArmResource, String, CancellationToken)

返回给定名称的链接器资源。

  • 请求路径/{resourceUri}/providers/Microsoft.ServiceLinker/linkers/{linkerName}
  • 操作IdLinker_Get
GetLinkerResourceAsync(ArmResource, String, CancellationToken)

返回给定名称的链接器资源。

  • 请求路径/{resourceUri}/providers/Microsoft.ServiceLinker/linkers/{linkerName}
  • 操作IdLinker_Get
GetLinkerResources(ArmResource)

获取 ArmResource 中 LinkerResources 的集合。

适用于