Share via


CognitiveServicesExtensions Class

Definition

A class to add extension methods to Azure.ResourceManager.CognitiveServices.

public static class CognitiveServicesExtensions
type CognitiveServicesExtensions = class
Public Module CognitiveServicesExtensions
Inheritance
CognitiveServicesExtensions

Methods

CalculateModelCapacity(SubscriptionResource, CalculateModelCapacityContent, CancellationToken)

Model capacity calculator.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.CognitiveServices/calculateModelCapacity
  • Operation Id: CalculateModelCapacity
  • Default Api Version: 2024-10-01
CalculateModelCapacityAsync(SubscriptionResource, CalculateModelCapacityContent, CancellationToken)

Model capacity calculator.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.CognitiveServices/calculateModelCapacity
  • Operation Id: CalculateModelCapacity
  • Default Api Version: 2024-10-01
CheckDomainAvailability(SubscriptionResource, CognitiveServicesDomainAvailabilityContent, CancellationToken)

Check whether a domain is available.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.CognitiveServices/checkDomainAvailability
  • Operation Id: CheckDomainAvailability
  • Default Api Version: 2024-10-01
CheckDomainAvailabilityAsync(SubscriptionResource, CognitiveServicesDomainAvailabilityContent, CancellationToken)

Check whether a domain is available.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.CognitiveServices/checkDomainAvailability
  • Operation Id: CheckDomainAvailability
  • Default Api Version: 2024-10-01
CheckSkuAvailability(SubscriptionResource, AzureLocation, CognitiveServicesSkuAvailabilityContent, CancellationToken)

Check available SKUs.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.CognitiveServices/locations/{location}/checkSkuAvailability
  • Operation Id: CheckSkuAvailability
  • Default Api Version: 2024-10-01
CheckSkuAvailabilityAsync(SubscriptionResource, AzureLocation, CognitiveServicesSkuAvailabilityContent, CancellationToken)

Check available SKUs.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.CognitiveServices/locations/{location}/checkSkuAvailability
  • Operation Id: CheckSkuAvailability
  • Default Api Version: 2024-10-01
GetCognitiveServicesAccount(ResourceGroupResource, String, CancellationToken)

Returns a Cognitive Services account specified by the parameters.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CognitiveServices/accounts/{accountName}
  • Operation Id: Accounts_Get
  • Default Api Version: 2024-10-01
  • Resource: CognitiveServicesAccountResource
GetCognitiveServicesAccountAsync(ResourceGroupResource, String, CancellationToken)

Returns a Cognitive Services account specified by the parameters.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CognitiveServices/accounts/{accountName}
  • Operation Id: Accounts_Get
  • Default Api Version: 2024-10-01
  • Resource: CognitiveServicesAccountResource
GetCognitiveServicesAccountDeploymentResource(ArmClient, ResourceIdentifier)

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

GetCognitiveServicesAccountResource(ArmClient, ResourceIdentifier)

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

GetCognitiveServicesAccounts(ResourceGroupResource)

Gets a collection of CognitiveServicesAccountResources in the ResourceGroupResource. MockingTo mock this method, please mock GetCognitiveServicesAccounts() instead.

GetCognitiveServicesAccounts(SubscriptionResource, CancellationToken)

Returns all the resources of a particular type belonging to a subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.CognitiveServices/accounts
  • Operation Id: Accounts_List
  • Default Api Version: 2024-10-01
  • Resource: CognitiveServicesAccountResource
GetCognitiveServicesAccountsAsync(SubscriptionResource, CancellationToken)

Returns all the resources of a particular type belonging to a subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.CognitiveServices/accounts
  • Operation Id: Accounts_List
  • Default Api Version: 2024-10-01
  • Resource: CognitiveServicesAccountResource
GetCognitiveServicesCommitmentPlan(ResourceGroupResource, String, CancellationToken)

Returns a Cognitive Services commitment plan specified by the parameters.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CognitiveServices/commitmentPlans/{commitmentPlanName}
  • Operation Id: CommitmentPlans_GetPlan
  • Default Api Version: 2024-10-01
  • Resource: CognitiveServicesCommitmentPlanResource
GetCognitiveServicesCommitmentPlanAsync(ResourceGroupResource, String, CancellationToken)

Returns a Cognitive Services commitment plan specified by the parameters.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CognitiveServices/commitmentPlans/{commitmentPlanName}
  • Operation Id: CommitmentPlans_GetPlan
  • Default Api Version: 2024-10-01
  • Resource: CognitiveServicesCommitmentPlanResource
GetCognitiveServicesCommitmentPlanResource(ArmClient, ResourceIdentifier)

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

GetCognitiveServicesCommitmentPlans(ResourceGroupResource)

Gets a collection of CognitiveServicesCommitmentPlanResources in the ResourceGroupResource. MockingTo mock this method, please mock GetCognitiveServicesCommitmentPlans() instead.

GetCognitiveServicesCommitmentPlans(SubscriptionResource, CancellationToken)

Returns all the resources of a particular type belonging to a subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.CognitiveServices/commitmentPlans
  • Operation Id: CommitmentPlans_ListPlansBySubscription
  • Default Api Version: 2024-10-01
  • Resource: CognitiveServicesCommitmentPlanResource
GetCognitiveServicesCommitmentPlansAsync(SubscriptionResource, CancellationToken)

Returns all the resources of a particular type belonging to a subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.CognitiveServices/commitmentPlans
  • Operation Id: CommitmentPlans_ListPlansBySubscription
  • Default Api Version: 2024-10-01
  • Resource: CognitiveServicesCommitmentPlanResource
GetCognitiveServicesDeletedAccount(SubscriptionResource, AzureLocation, String, String, CancellationToken)

Returns a Cognitive Services account specified by the parameters.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.CognitiveServices/locations/{location}/resourceGroups/{resourceGroupName}/deletedAccounts/{accountName}
  • Operation Id: DeletedAccounts_Get
  • Default Api Version: 2024-10-01
  • Resource: CognitiveServicesDeletedAccountResource
GetCognitiveServicesDeletedAccountAsync(SubscriptionResource, AzureLocation, String, String, CancellationToken)

Returns a Cognitive Services account specified by the parameters.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.CognitiveServices/locations/{location}/resourceGroups/{resourceGroupName}/deletedAccounts/{accountName}
  • Operation Id: DeletedAccounts_Get
  • Default Api Version: 2024-10-01
  • Resource: CognitiveServicesDeletedAccountResource
GetCognitiveServicesDeletedAccountResource(ArmClient, ResourceIdentifier)

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

GetCognitiveServicesDeletedAccounts(SubscriptionResource)

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

GetCognitiveServicesEncryptionScopeResource(ArmClient, ResourceIdentifier)

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

GetCognitiveServicesPrivateEndpointConnectionResource(ArmClient, ResourceIdentifier)

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

GetCommitmentPlanAccountAssociationResource(ArmClient, ResourceIdentifier)

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

GetCommitmentPlanResource(ArmClient, ResourceIdentifier)

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

GetCommitmentTiers(SubscriptionResource, AzureLocation, CancellationToken)

List Commitment Tiers.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.CognitiveServices/locations/{location}/commitmentTiers
  • Operation Id: CommitmentTiers_List
  • Default Api Version: 2024-10-01
GetCommitmentTiersAsync(SubscriptionResource, AzureLocation, CancellationToken)

List Commitment Tiers.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.CognitiveServices/locations/{location}/commitmentTiers
  • Operation Id: CommitmentTiers_List
  • Default Api Version: 2024-10-01
GetDefenderForAISettingResource(ArmClient, ResourceIdentifier)

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

GetDeletedAccounts(SubscriptionResource, CancellationToken)

Returns all the resources of a particular type belonging to a subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.CognitiveServices/deletedAccounts
  • Operation Id: DeletedAccounts_List
  • Default Api Version: 2024-10-01
  • Resource: CognitiveServicesDeletedAccountResource
GetDeletedAccountsAsync(SubscriptionResource, CancellationToken)

Returns all the resources of a particular type belonging to a subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.CognitiveServices/deletedAccounts
  • Operation Id: DeletedAccounts_List
  • Default Api Version: 2024-10-01
  • Resource: CognitiveServicesDeletedAccountResource
GetLocationBasedModelCapacities(SubscriptionResource, AzureLocation, String, String, String, CancellationToken)

List Location Based ModelCapacities.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.CognitiveServices/locations/{location}/modelCapacities
  • Operation Id: LocationBasedModelCapacities_List
  • Default Api Version: 2024-10-01
GetLocationBasedModelCapacitiesAsync(SubscriptionResource, AzureLocation, String, String, String, CancellationToken)

List Location Based ModelCapacities.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.CognitiveServices/locations/{location}/modelCapacities
  • Operation Id: LocationBasedModelCapacities_List
  • Default Api Version: 2024-10-01
GetModelCapacities(SubscriptionResource, String, String, String, CancellationToken)

List ModelCapacities.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.CognitiveServices/modelCapacities
  • Operation Id: ModelCapacities_List
  • Default Api Version: 2024-10-01
GetModelCapacitiesAsync(SubscriptionResource, String, String, String, CancellationToken)

List ModelCapacities.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.CognitiveServices/modelCapacities
  • Operation Id: ModelCapacities_List
  • Default Api Version: 2024-10-01
GetModels(SubscriptionResource, AzureLocation, CancellationToken)

List Models.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.CognitiveServices/locations/{location}/models
  • Operation Id: Models_List
  • Default Api Version: 2024-10-01
GetModelsAsync(SubscriptionResource, AzureLocation, CancellationToken)

List Models.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.CognitiveServices/locations/{location}/models
  • Operation Id: Models_List
  • Default Api Version: 2024-10-01
GetNetworkSecurityPerimeterConfigurationResource(ArmClient, ResourceIdentifier)

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

GetRaiBlocklistItemResource(ArmClient, ResourceIdentifier)

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

GetRaiBlocklistResource(ArmClient, ResourceIdentifier)

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

GetRaiContentFilter(SubscriptionResource, AzureLocation, 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
GetRaiContentFilterAsync(SubscriptionResource, AzureLocation, 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
GetRaiContentFilterResource(ArmClient, ResourceIdentifier)

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.

GetRaiContentFilters(SubscriptionResource, AzureLocation)

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

GetRaiPolicyResource(ArmClient, ResourceIdentifier)

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

GetResourceSkus(SubscriptionResource, CancellationToken)

Gets the list of Microsoft.CognitiveServices SKUs available for your Subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.CognitiveServices/skus
  • Operation Id: ResourceSkus_List
  • Default Api Version: 2024-10-01
GetResourceSkusAsync(SubscriptionResource, CancellationToken)

Gets the list of Microsoft.CognitiveServices SKUs available for your Subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.CognitiveServices/skus
  • Operation Id: ResourceSkus_List
  • Default Api Version: 2024-10-01
GetUsages(SubscriptionResource, AzureLocation, String, CancellationToken)

Get usages for the requested subscription

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.CognitiveServices/locations/{location}/usages
  • Operation Id: Usages_List
  • Default Api Version: 2024-10-01
GetUsagesAsync(SubscriptionResource, AzureLocation, String, CancellationToken)

Get usages for the requested subscription

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.CognitiveServices/locations/{location}/usages
  • Operation Id: Usages_List
  • Default Api Version: 2024-10-01

Applies to