Share via


RaiContentFilterCollection Class

Definition

A class representing a collection of RaiContentFilterResource and their operations. Each RaiContentFilterResource in the collection will belong to the same instance of SubscriptionResource. To get a RaiContentFilterCollection instance call the GetRaiContentFilters method from an instance of SubscriptionResource.

public class RaiContentFilterCollection : Azure.ResourceManager.ArmCollection, System.Collections.Generic.IAsyncEnumerable<Azure.ResourceManager.CognitiveServices.RaiContentFilterResource>, System.Collections.Generic.IEnumerable<Azure.ResourceManager.CognitiveServices.RaiContentFilterResource>
type RaiContentFilterCollection = class
    inherit ArmCollection
    interface seq<RaiContentFilterResource>
    interface IEnumerable
    interface IAsyncEnumerable<RaiContentFilterResource>
Public Class RaiContentFilterCollection
Inherits ArmCollection
Implements IAsyncEnumerable(Of RaiContentFilterResource), IEnumerable(Of RaiContentFilterResource)
Inheritance
RaiContentFilterCollection
Implements

Constructors

RaiContentFilterCollection()

Initializes a new instance of the RaiContentFilterCollection class for mocking.

Properties

Client

Gets the ArmClient this resource client was created from.

(Inherited from ArmCollection)
Diagnostics

Gets the diagnostic options for this resource client.

(Inherited from ArmCollection)
Endpoint

Gets the base uri for this resource client.

(Inherited from ArmCollection)
Id

Gets the resource identifier.

(Inherited from ArmCollection)
Pipeline

Gets the pipeline for this resource client.

(Inherited from ArmCollection)

Methods

Exists(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.CognitiveServices/locations/{location}/raiContentFilters/{filterName}
  • Operation Id: RaiContentFilters_Get
  • Default Api Version: 2024-10-01
  • Resource: RaiContentFilterResource
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.CognitiveServices/locations/{location}/raiContentFilters/{filterName}
  • Operation Id: RaiContentFilters_Get
  • Default Api Version: 2024-10-01
  • Resource: RaiContentFilterResource
Get(String, CancellationToken)

Get Content Filters by Name.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.CognitiveServices/locations/{location}/raiContentFilters/{filterName}
  • Operation Id: RaiContentFilters_Get
  • Default Api Version: 2024-10-01
  • Resource: RaiContentFilterResource
GetAll(CancellationToken)

List Content Filters types.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.CognitiveServices/locations/{location}/raiContentFilters
  • Operation Id: RaiContentFilters_List
  • Default Api Version: 2024-10-01
  • Resource: RaiContentFilterResource
GetAllAsync(CancellationToken)

List Content Filters types.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.CognitiveServices/locations/{location}/raiContentFilters
  • Operation Id: RaiContentFilters_List
  • Default Api Version: 2024-10-01
  • Resource: RaiContentFilterResource
GetAsync(String, CancellationToken)

Get Content Filters by Name.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.CognitiveServices/locations/{location}/raiContentFilters/{filterName}
  • Operation Id: RaiContentFilters_Get
  • Default Api Version: 2024-10-01
  • Resource: RaiContentFilterResource
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.CognitiveServices/locations/{location}/raiContentFilters/{filterName}
  • Operation Id: RaiContentFilters_Get
  • Default Api Version: 2024-10-01
  • Resource: RaiContentFilterResource
GetIfExistsAsync(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.CognitiveServices/locations/{location}/raiContentFilters/{filterName}
  • Operation Id: RaiContentFilters_Get
  • Default Api Version: 2024-10-01
  • Resource: RaiContentFilterResource
TryGetApiVersion(ResourceType, String)

Gets the api version override if it has been set for the current client options.

(Inherited from ArmCollection)

Explicit Interface Implementations

IAsyncEnumerable<RaiContentFilterResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<RaiContentFilterResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to