共用方式為


ResourceGuardResource.GetUpdateProtectionPolicyObjectsAsync Method

Definition

Returns collection of operation request objects for a critical operation protected by the given ResourceGuard resource.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/resourceGuards/{resourceGuardsName}/updateProtectionPolicyRequests
  • Operation Id: ResourceGuards_GetUpdateProtectionPolicyRequestsObjects
  • Default Api Version: 2024-04-01
  • Resource: ResourceGuardResource
public virtual Azure.AsyncPageable<Azure.ResourceManager.DataProtectionBackup.Models.ResourceGuardProtectedObjectData> GetUpdateProtectionPolicyObjectsAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetUpdateProtectionPolicyObjectsAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.DataProtectionBackup.Models.ResourceGuardProtectedObjectData>
override this.GetUpdateProtectionPolicyObjectsAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.DataProtectionBackup.Models.ResourceGuardProtectedObjectData>
Public Overridable Function GetUpdateProtectionPolicyObjectsAsync (Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of ResourceGuardProtectedObjectData)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

An async collection of ResourceGuardProtectedObjectData that may take multiple service requests to iterate over.

Applies to