SecurityCenterExtensions.GetSecurityContacts(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 SecurityContactResources in the SubscriptionResource. MockingTo mock this method, please mock GetSecurityContacts() instead.
public static Azure.ResourceManager.SecurityCenter.SecurityContactCollection GetSecurityContacts (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource);
static member GetSecurityContacts : Azure.ResourceManager.Resources.SubscriptionResource -> Azure.ResourceManager.SecurityCenter.SecurityContactCollection
<Extension()>
Public Function GetSecurityContacts (subscriptionResource As SubscriptionResource) As SecurityContactCollection
Parameters
- subscriptionResource
- SubscriptionResource
The SubscriptionResource instance the method will execute against.
Returns
An object representing collection of SecurityContactResources and their operations over a SecurityContactResource.
Exceptions
subscriptionResource
is null.