Sdílet prostřednictvím


SecurityCenterExtensions.GetSecurityContacts(SubscriptionResource) Method

Definition

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.

Applies to