共用方式為


ResourceHealthEventResource.GetSecurityAdvisoryImpactedResourcesBySubscriptionIdAndEventIdAsync Method

Definition

Lists impacted resources in the subscription by an event (Security Advisory).

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.ResourceHealth/events/{eventTrackingId}/listSecurityAdvisoryImpactedResources
  • Operation Id: SecurityAdvisoryImpactedResources_ListBySubscriptionIdAndEventId
public virtual Azure.AsyncPageable<Azure.ResourceManager.ResourceHealth.ResourceHealthEventImpactedResourceData> GetSecurityAdvisoryImpactedResourcesBySubscriptionIdAndEventIdAsync (string filter = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetSecurityAdvisoryImpactedResourcesBySubscriptionIdAndEventIdAsync : string * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.ResourceHealth.ResourceHealthEventImpactedResourceData>
override this.GetSecurityAdvisoryImpactedResourcesBySubscriptionIdAndEventIdAsync : string * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.ResourceHealth.ResourceHealthEventImpactedResourceData>
Public Overridable Function GetSecurityAdvisoryImpactedResourcesBySubscriptionIdAndEventIdAsync (Optional filter As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of ResourceHealthEventImpactedResourceData)

Parameters

filter
String

The filter to apply on the operation. For more information please see https://docs.microsoft.com/en-us/rest/api/apimanagement/apis?redirectedfrom=MSDN.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to