CognitiveServicesExtensions.GetRaiExternalSafetyProviderSchema Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the specified external safety provider associated with the Subscription <item> Mocking. To mock this method, please mock GetRaiExternalSafetyProviderSchema(String, CancellationToken) instead. </item>
public static Azure.Response<Azure.ResourceManager.CognitiveServices.RaiExternalSafetyProviderSchemaResource> GetRaiExternalSafetyProviderSchema(this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, string safetyProviderName, System.Threading.CancellationToken cancellationToken = default);
static member GetRaiExternalSafetyProviderSchema : Azure.ResourceManager.Resources.SubscriptionResource * string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.CognitiveServices.RaiExternalSafetyProviderSchemaResource>
<Extension()>
Public Function GetRaiExternalSafetyProviderSchema (subscriptionResource As SubscriptionResource, safetyProviderName As String, Optional cancellationToken As CancellationToken = Nothing) As Response(Of RaiExternalSafetyProviderSchemaResource)
Parameters
- subscriptionResource
- SubscriptionResource
The SubscriptionResource the method will execute against.
- safetyProviderName
- String
The name of the Rai External Safety Provider associated with the Cognitive Services Account.
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
Exceptions
subscriptionResource is null.