Share via


SecurityCenterExtensions.GetSecureScores(SubscriptionResource) Method

Definition

Gets a collection of SecureScoreResources in the SubscriptionResource. MockingTo mock this method, please mock GetSecureScores() instead.

public static Azure.ResourceManager.SecurityCenter.SecureScoreCollection GetSecureScores (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource);
static member GetSecureScores : Azure.ResourceManager.Resources.SubscriptionResource -> Azure.ResourceManager.SecurityCenter.SecureScoreCollection
<Extension()>
Public Function GetSecureScores (subscriptionResource As SubscriptionResource) As SecureScoreCollection

Parameters

subscriptionResource
SubscriptionResource

The SubscriptionResource instance the method will execute against.

Returns

An object representing collection of SecureScoreResources and their operations over a SecureScoreResource.

Exceptions

subscriptionResource is null.

Applies to