共用方式為


SecurityCenterExtensions.GetSecurityCenterLocations Method

Definition

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

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

Parameters

subscriptionResource
SubscriptionResource

The SubscriptionResource instance the method will execute against.

Returns

An object representing collection of SecurityCenterLocationResources and their operations over a SecurityCenterLocationResource.

Exceptions

subscriptionResource is null.

Applies to