SecurityCenterExtensions.GetSecuritySettings(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 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.