Share via


CognitiveServicesExtensions.GetRaiContentFilters Method

Definition

Gets a collection of RaiContentFilterResources in the SubscriptionResource. MockingTo mock this method, please mock GetRaiContentFilters(AzureLocation) instead.

public static Azure.ResourceManager.CognitiveServices.RaiContentFilterCollection GetRaiContentFilters (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, Azure.Core.AzureLocation location);
static member GetRaiContentFilters : Azure.ResourceManager.Resources.SubscriptionResource * Azure.Core.AzureLocation -> Azure.ResourceManager.CognitiveServices.RaiContentFilterCollection
<Extension()>
Public Function GetRaiContentFilters (subscriptionResource As SubscriptionResource, location As AzureLocation) As RaiContentFilterCollection

Parameters

subscriptionResource
SubscriptionResource

The SubscriptionResource instance the method will execute against.

location
AzureLocation

Resource location.

Returns

An object representing collection of RaiContentFilterResources and their operations over a RaiContentFilterResource.

Exceptions

subscriptionResource is null.

Applies to