SecurityCenterExtensions.GetSecureScores(SubscriptionResource) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET