SecurityCenterExtensions.GetSecureScoreControlsAsync Method

Definition

Provides a compatibility shim for the GetSecureScoreControlsAsync operation preserved from the previous public API surface.

public static Azure.AsyncPageable<Azure.ResourceManager.SecurityCenter.Models.SecureScoreControlDetails> GetSecureScoreControlsAsync(this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, Azure.ResourceManager.SecurityCenter.Models.SecurityScoreODataExpand? expand = default, System.Threading.CancellationToken cancellationToken = default);
static member GetSecureScoreControlsAsync : Azure.ResourceManager.Resources.SubscriptionResource * Nullable<Azure.ResourceManager.SecurityCenter.Models.SecurityScoreODataExpand> * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.SecurityCenter.Models.SecureScoreControlDetails>
<Extension()>
Public Function GetSecureScoreControlsAsync (subscriptionResource As SubscriptionResource, Optional expand As Nullable(Of SecurityScoreODataExpand) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of SecureScoreControlDetails)

Parameters

subscriptionResource
SubscriptionResource

The value preserved for API compatibility.

expand
Nullable<SecurityScoreODataExpand>

The value preserved for API compatibility.

cancellationToken
CancellationToken

The value preserved for API compatibility.

Returns

The compatibility result.

Exceptions

subscriptionResource is null.

Applies to