Share via


MonitorExtensions.GetLogProfiles(SubscriptionResource) Method

Definition

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

public static Azure.ResourceManager.Monitor.LogProfileCollection GetLogProfiles (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource);
static member GetLogProfiles : Azure.ResourceManager.Resources.SubscriptionResource -> Azure.ResourceManager.Monitor.LogProfileCollection
<Extension()>
Public Function GetLogProfiles (subscriptionResource As SubscriptionResource) As LogProfileCollection

Parameters

subscriptionResource
SubscriptionResource

The SubscriptionResource instance the method will execute against.

Returns

An object representing collection of LogProfileResources and their operations over a LogProfileResource.

Exceptions

subscriptionResource is null.

Applies to