共用方式為


SecurityCenterExtensions.GetSecuritySettings(SubscriptionResource) Method

Definition

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

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

Parameters

subscriptionResource
SubscriptionResource

The SubscriptionResource instance the method will execute against.

Returns

An object representing collection of SecuritySettingResources and their operations over a SecuritySettingResource.

Exceptions

subscriptionResource is null.

Applies to