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

ReplicationProtectedItemResource 类

定义

一个表示 ReplicationProtectedItem 以及可对其进行执行的实例操作的类。 如果有 ,ResourceIdentifier则可以使用 GetReplicationProtectedItemResource 方法从 实例ArmClient构造 ReplicationProtectedItemResource 。 否则,可以使用 GetReplicationProtectedItem 方法从其父资源 SiteRecoveryProtectionContainerResource 获取一个。

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

构造函数

ReplicationProtectedItemResource()

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

字段

ResourceType

获取操作的资源类型。

属性

Client

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

(继承自 ArmResource)
Data

获取表示此功能的数据。

Diagnostics

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

(继承自 ArmResource)
Endpoint

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

(继承自 ArmResource)
HasData

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

Id

获取资源标识符。

(继承自 ArmResource)
Pipeline

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

(继承自 ArmResource)

方法

AddDisks(WaitUntil, SiteRecoveryAddDisksContent, CancellationToken)

将磁盘 () 添加到复制保护项的操作。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationProtectedItems/{replicatedProtectedItemName}/addDisks
  • 操作IdReplicationProtectedItems_AddDisks
AddDisksAsync(WaitUntil, SiteRecoveryAddDisksContent, CancellationToken)

将磁盘 () 添加到复制保护项的操作。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationProtectedItems/{replicatedProtectedItemName}/addDisks
  • 操作IdReplicationProtectedItems_AddDisks
ApplyRecoveryPoint(WaitUntil, SiteRecoveryApplyRecoveryPointContent, CancellationToken)

用于更改已故障转移复制保护项的恢复点的操作。

  • 请求路径/订阅/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationProtectedItems/{replicatedProtectedItemName}/applyRecoveryPoint
  • 操作IdReplicationProtectedItems_ApplyRecoveryPoint
ApplyRecoveryPointAsync(WaitUntil, SiteRecoveryApplyRecoveryPointContent, CancellationToken)

用于更改已故障转移复制保护项的恢复点的操作。

  • 请求路径/订阅/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationProtectedItems/{replicatedProtectedItemName}/applyRecoveryPoint
  • 操作IdReplicationProtectedItems_ApplyRecoveryPoint
CanUseTagResource(CancellationToken)

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

(继承自 ArmResource)
CanUseTagResourceAsync(CancellationToken)

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

(继承自 ArmResource)
CreateResourceIdentifier(String, String, String, String, String, String)

生成实例的资源标识符 ReplicationProtectedItemResource

Delete(WaitUntil, CancellationToken)

用于删除或清除复制受保护项的操作。 此操作将强制删除复制受保护的项。 对复制受保护的项使用删除操作,对该项执行干净禁用复制。

  • 请求路径/订阅/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationProtectedItems/{replicatedProtectedItemName}
  • 操作IdReplicationProtectedItems_Purge
Delete(WaitUntil, DisableProtectionContent, CancellationToken)

对复制受保护的项禁用复制的操作。 这也将删除该项。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationProtectedItems/{replicatedProtectedItemName}/remove
  • 操作IdReplicationProtectedItems_Delete
DeleteAsync(WaitUntil, CancellationToken)

用于删除或清除复制受保护项的操作。 此操作将强制删除复制受保护的项。 对复制受保护的项使用删除操作,对该项执行干净禁用复制。

  • 请求路径/订阅/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationProtectedItems/{replicatedProtectedItemName}
  • 操作IdReplicationProtectedItems_Purge
DeleteAsync(WaitUntil, DisableProtectionContent, CancellationToken)

对复制受保护的项禁用复制的操作。 这也将删除该项。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationProtectedItems/{replicatedProtectedItemName}/remove
  • 操作IdReplicationProtectedItems_Delete
FailoverCancel(WaitUntil, CancellationToken)

用于取消复制受保护项的故障转移的操作。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationProtectedItems/{replicatedProtectedItemName}/failoverCancel
  • 操作IdReplicationProtectedItems_FailoverCancel
FailoverCancelAsync(WaitUntil, CancellationToken)

用于取消复制受保护项的故障转移的操作。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationProtectedItems/{replicatedProtectedItemName}/failoverCancel
  • 操作IdReplicationProtectedItems_FailoverCancel
FailoverCommit(WaitUntil, CancellationToken)

用于提交复制受保护项的故障转移的操作。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationProtectedItems/{replicatedProtectedItemName}/failoverCommit
  • 操作IdReplicationProtectedItems_FailoverCommit
FailoverCommitAsync(WaitUntil, CancellationToken)

用于提交复制受保护项的故障转移的操作。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationProtectedItems/{replicatedProtectedItemName}/failoverCommit
  • 操作IdReplicationProtectedItems_FailoverCommit
Get(CancellationToken)

获取 ASR 复制保护项的详细信息。

  • 请求路径/订阅/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationProtectedItems/{replicatedProtectedItemName}
  • 操作IdReplicationProtectedItems_Get
GetAsync(CancellationToken)

获取 ASR 复制保护项的详细信息。

  • 请求路径/订阅/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationProtectedItems/{replicatedProtectedItemName}
  • 操作IdReplicationProtectedItems_Get
GetAvailableLocations(CancellationToken)

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

(继承自 ArmResource)
GetAvailableLocationsAsync(CancellationToken)

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

(继承自 ArmResource)
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)
GetSiteRecoveryPoint(String, CancellationToken)

获取指定恢复点的详细信息。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationProtectedItems/{replicatedProtectedItemName}/recoveryPoints/{recoveryPointName}
  • 操作IdRecoveryPoints_Get
GetSiteRecoveryPointAsync(String, CancellationToken)

获取指定恢复点的详细信息。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationProtectedItems/{replicatedProtectedItemName}/recoveryPoints/{recoveryPointName}
  • 操作IdRecoveryPoints_Get
GetSiteRecoveryPoints()

获取 ReplicationProtectedItem 中 SiteRecoveryPointResources 的集合。

GetTagResource()

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

(继承自 ArmResource)
GetTargetComputeSizesByReplicationProtectedItems(CancellationToken)

列出复制受保护项的可用目标计算大小。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationProtectedItems/{replicatedProtectedItemName}/targetComputeSizes
  • 操作IdTargetComputeSizes_ListByReplicationProtectedItems
GetTargetComputeSizesByReplicationProtectedItemsAsync(CancellationToken)

列出复制受保护项的可用目标计算大小。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationProtectedItems/{replicatedProtectedItemName}/targetComputeSizes
  • 操作IdTargetComputeSizes_ListByReplicationProtectedItems
PlannedFailover(WaitUntil, PlannedFailoverContent, CancellationToken)

用于启动复制受保护项计划的故障转移的操作。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationProtectedItems/{replicatedProtectedItemName}/plannedFailover
  • 操作IdReplicationProtectedItems_PlannedFailover
PlannedFailoverAsync(WaitUntil, PlannedFailoverContent, CancellationToken)

用于启动复制受保护项计划的故障转移的操作。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationProtectedItems/{replicatedProtectedItemName}/plannedFailover
  • 操作IdReplicationProtectedItems_PlannedFailover
RemoveDisks(WaitUntil, RemoveDisksContent, CancellationToken)

从复制受保护项中删除磁盘 () 的操作。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationProtectedItems/{replicatedProtectedItemName}/removeDisks
  • 操作IdReplicationProtectedItems_RemoveDisks
RemoveDisksAsync(WaitUntil, RemoveDisksContent, CancellationToken)

从复制受保护项中删除磁盘 () 的操作。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationProtectedItems/{replicatedProtectedItemName}/removeDisks
  • 操作IdReplicationProtectedItems_RemoveDisks
RepairReplication(WaitUntil, CancellationToken)

为需要重新同步的复制受保护项启动重新同步/修复复制的操作。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationProtectedItems/{replicatedProtectedItemName}/repairReplication
  • 操作IdReplicationProtectedItems_RepairReplication
RepairReplicationAsync(WaitUntil, CancellationToken)

为需要重新同步的复制受保护项启动重新同步/修复复制的操作。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationProtectedItems/{replicatedProtectedItemName}/repairReplication
  • 操作IdReplicationProtectedItems_RepairReplication
Reprotect(WaitUntil, ReverseReplicationContent, CancellationToken)

用于重新保护或反向复制已故障转移复制保护项的操作。

  • 请求路径/订阅/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationProtectedItems/{replicatedProtectedItemName}/reProtect
  • 操作IdReplicationProtectedItems_Reprotect
ReprotectAsync(WaitUntil, ReverseReplicationContent, CancellationToken)

用于重新保护或反向复制已故障转移复制保护项的操作。

  • 请求路径/订阅/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationProtectedItems/{replicatedProtectedItemName}/reProtect
  • 操作IdReplicationProtectedItems_Reprotect
ResolveHealthErrors(WaitUntil, ResolveHealthContent, CancellationToken)

用于解决复制受保护项的运行状况问题的操作。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationProtectedItems/{replicatedProtectedItemName}/resolveHealthErrors
  • 操作IdReplicationProtectedItems_ResolveHealthErrors
ResolveHealthErrorsAsync(WaitUntil, ResolveHealthContent, CancellationToken)

用于解决复制受保护项的运行状况问题的操作。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationProtectedItems/{replicatedProtectedItemName}/resolveHealthErrors
  • 操作IdReplicationProtectedItems_ResolveHealthErrors
SwitchProvider(WaitUntil, SwitchProviderContent, CancellationToken)

用于启动复制受保护项的交换机提供程序的操作。

  • Request Path/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationProtectedItems/{replicatedProtectedItemName}/switchProvider
  • 操作IdReplicationProtectedItems_SwitchProvider
SwitchProviderAsync(WaitUntil, SwitchProviderContent, CancellationToken)

用于启动复制受保护项的交换机提供程序的操作。

  • Request Path/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationProtectedItems/{replicatedProtectedItemName}/switchProvider
  • 操作IdReplicationProtectedItems_SwitchProvider
TestFailover(WaitUntil, TestFailoverContent, CancellationToken)

用于对复制受保护的项执行测试故障转移的操作。

  • 请求路径/订阅/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationProtectedItems/{replicatedProtectedItemName}/testFailover
  • 操作IdReplicationProtectedItems_TestFailover
TestFailoverAsync(WaitUntil, TestFailoverContent, CancellationToken)

用于对复制受保护的项执行测试故障转移的操作。

  • 请求路径/订阅/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationProtectedItems/{replicatedProtectedItemName}/testFailover
  • 操作IdReplicationProtectedItems_TestFailover
TestFailoverCleanup(WaitUntil, TestFailoverCleanupContent, CancellationToken)

用于清理复制受保护项的测试故障转移的操作。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationProtectedItems/{replicatedProtectedItemName}/testFailoverCleanup
  • 操作IdReplicationProtectedItems_TestFailoverCleanup
TestFailoverCleanupAsync(WaitUntil, TestFailoverCleanupContent, CancellationToken)

用于清理复制受保护项的测试故障转移的操作。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationProtectedItems/{replicatedProtectedItemName}/testFailoverCleanup
  • 操作IdReplicationProtectedItems_TestFailoverCleanup
TryGetApiVersion(ResourceType, String)

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

(继承自 ArmResource)
UnplannedFailover(WaitUntil, UnplannedFailoverContent, CancellationToken)

用于启动复制受保护项故障转移的操作。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationProtectedItems/{replicatedProtectedItemName}/unplannedFailover
  • 操作IdReplicationProtectedItems_UnplannedFailover
UnplannedFailoverAsync(WaitUntil, UnplannedFailoverContent, CancellationToken)

用于启动复制受保护项故障转移的操作。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationProtectedItems/{replicatedProtectedItemName}/unplannedFailover
  • 操作IdReplicationProtectedItems_UnplannedFailover
Update(WaitUntil, ReplicationProtectedItemPatch, CancellationToken)

用于更新 ASR 复制受保护项的恢复设置的操作。

  • 请求路径/订阅/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationProtectedItems/{replicatedProtectedItemName}
  • 操作IdReplicationProtectedItems_Update
UpdateAppliance(WaitUntil, UpdateApplianceForReplicationProtectedItemContent, CancellationToken)

用于更新受 ASR 复制保护项的设备的操作。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationProtectedItems/{replicatedProtectedItemName}/updateAppliance
  • 操作IdReplicationProtectedItems_UpdateAppliance
UpdateApplianceAsync(WaitUntil, UpdateApplianceForReplicationProtectedItemContent, CancellationToken)

用于更新受 ASR 复制保护项的设备的操作。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationProtectedItems/{replicatedProtectedItemName}/updateAppliance
  • 操作IdReplicationProtectedItems_UpdateAppliance
UpdateAsync(WaitUntil, ReplicationProtectedItemPatch, CancellationToken)

用于更新 ASR 复制受保护项的恢复设置的操作。

  • 请求路径/订阅/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationProtectedItems/{replicatedProtectedItemName}
  • 操作IdReplicationProtectedItems_Update
UpdateMobilityService(WaitUntil, UpdateMobilityServiceContent, CancellationToken)

更新 (推送更新的操作) 复制保护项上安装的移动服务软件到最新的可用版本。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationProtectedItems/{replicatedProtectedItemName}/updateMobilityService
  • 操作IdReplicationProtectedItems_UpdateMobilityService
UpdateMobilityServiceAsync(WaitUntil, UpdateMobilityServiceContent, CancellationToken)

更新 (推送更新的操作) 复制保护项上安装的移动服务软件到最新的可用版本。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationProtectedItems/{replicatedProtectedItemName}/updateMobilityService
  • 操作IdReplicationProtectedItems_UpdateMobilityService

扩展方法

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 的集合。

适用于