Share via


CognitiveServicesExtensions.GetRaiContentFilterResource Method

Definition

Gets an object representing a RaiContentFilterResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, AzureLocation, String) to create a RaiContentFilterResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetRaiContentFilterResource(ResourceIdentifier) instead.

public static Azure.ResourceManager.CognitiveServices.RaiContentFilterResource GetRaiContentFilterResource (this Azure.ResourceManager.ArmClient client, Azure.Core.ResourceIdentifier id);
static member GetRaiContentFilterResource : Azure.ResourceManager.ArmClient * Azure.Core.ResourceIdentifier -> Azure.ResourceManager.CognitiveServices.RaiContentFilterResource
<Extension()>
Public Function GetRaiContentFilterResource (client As ArmClient, id As ResourceIdentifier) As RaiContentFilterResource

Parameters

client
ArmClient

The ArmClient instance the method will execute against.

id
ResourceIdentifier

The resource ID of the resource to get.

Returns

Returns a RaiContentFilterResource object.

Exceptions

client is null.

Applies to