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

Name Description
CalculateModelCapacity(SubscriptionResource, CalculateModelCapacityContent, CancellationToken)

Model capacity calculator. <item> Mocking. To mock this method, please mock CalculateModelCapacity(CalculateModelCapacityContent, CancellationToken) instead. </item>

CalculateModelCapacityAsync(SubscriptionResource, CalculateModelCapacityContent, CancellationToken)

Model capacity calculator. <item> Mocking. To mock this method, please mock CalculateModelCapacityAsync(CalculateModelCapacityContent, CancellationToken) instead. </item>

CheckDomainAvailability(SubscriptionResource, CognitiveServicesDomainAvailabilityContent, CancellationToken)

Check whether a domain is available. <item> Mocking. To mock this method, please mock CheckDomainAvailability(CognitiveServicesDomainAvailabilityContent, CancellationToken) instead. </item>

CheckDomainAvailabilityAsync(SubscriptionResource, CognitiveServicesDomainAvailabilityContent, CancellationToken)

Check whether a domain is available. <item> Mocking. To mock this method, please mock CheckDomainAvailabilityAsync(CognitiveServicesDomainAvailabilityContent, CancellationToken) instead. </item>

CheckSkuAvailability(SubscriptionResource, AzureLocation, CognitiveServicesSkuAvailabilityContent, CancellationToken)

Check available SKUs. <item> Mocking. To mock this method, please mock CheckSkuAvailability(AzureLocation, CognitiveServicesSkuAvailabilityContent, CancellationToken) instead. </item>

CheckSkuAvailabilityAsync(SubscriptionResource, AzureLocation, CognitiveServicesSkuAvailabilityContent, CancellationToken)

Check available SKUs. <item> Mocking. To mock this method, please mock CheckSkuAvailabilityAsync(AzureLocation, CognitiveServicesSkuAvailabilityContent, CancellationToken) instead. </item>

GetCognitiveServicesAccount(ResourceGroupResource, String, CancellationToken)

Returns a Cognitive Services account specified by the parameters. <item> Mocking. To mock this method, please mock GetCognitiveServicesAccount(String, CancellationToken) instead. </item>

GetCognitiveServicesAccountAsync(ResourceGroupResource, String, CancellationToken)

Returns a Cognitive Services account specified by the parameters. <item> Mocking. To mock this method, please mock GetCognitiveServicesAccountAsync(String, CancellationToken) instead. </item>

GetCognitiveServicesAccountDeploymentResource(ArmClient, ResourceIdentifier)

Gets an object representing a CognitiveServicesAccountDeploymentResource along with the instance operations that can be performed on it but with no data. <item> Mocking. To mock this method, please mock GetCognitiveServicesAccountDeploymentResource(ResourceIdentifier) instead. </item>

GetCognitiveServicesAccountResource(ArmClient, ResourceIdentifier)

Gets an object representing a CognitiveServicesAccountResource along with the instance operations that can be performed on it but with no data. <item> Mocking. To mock this method, please mock GetCognitiveServicesAccountResource(ResourceIdentifier) instead. </item>

GetCognitiveServicesAccounts(ResourceGroupResource)

Gets a collection of CognitiveServicesAccounts in the ResourceGroupResource<item> Mocking. To mock this method, please mock GetCognitiveServicesAccounts() instead. </item>

GetCognitiveServicesAccounts(SubscriptionResource, CancellationToken)

Returns all the resources of a particular type belonging to a subscription. <item> Mocking. To mock this method, please mock GetCognitiveServicesAccounts(CancellationToken) instead. </item>

GetCognitiveServicesAccountsAsync(SubscriptionResource, CancellationToken)

Returns all the resources of a particular type belonging to a subscription. <item> Mocking. To mock this method, please mock GetCognitiveServicesAccountsAsync(CancellationToken) instead. </item>

GetCognitiveServicesAgentApplicationResource(ArmClient, ResourceIdentifier)

Gets an object representing a CognitiveServicesAgentApplicationResource along with the instance operations that can be performed on it but with no data. <item> Mocking. To mock this method, please mock GetCognitiveServicesAgentApplicationResource(ResourceIdentifier) instead. </item>

GetCognitiveServicesAgentDeploymentResource(ArmClient, ResourceIdentifier)

Gets an object representing a CognitiveServicesAgentDeploymentResource along with the instance operations that can be performed on it but with no data. <item> Mocking. To mock this method, please mock GetCognitiveServicesAgentDeploymentResource(ResourceIdentifier) instead. </item>

GetCognitiveServicesCapabilityHostResource(ArmClient, ResourceIdentifier)

Gets an object representing a CognitiveServicesCapabilityHostResource along with the instance operations that can be performed on it but with no data. <item> Mocking. To mock this method, please mock GetCognitiveServicesCapabilityHostResource(ResourceIdentifier) instead. </item>

GetCognitiveServicesCommitmentPlan(ResourceGroupResource, String, CancellationToken)

Returns a Cognitive Services commitment plan specified by the parameters. <item> Mocking. To mock this method, please mock GetCognitiveServicesCommitmentPlan(String, CancellationToken) instead. </item>

GetCognitiveServicesCommitmentPlanAsync(ResourceGroupResource, String, CancellationToken)

Returns a Cognitive Services commitment plan specified by the parameters. <item> Mocking. To mock this method, please mock GetCognitiveServicesCommitmentPlanAsync(String, CancellationToken) instead. </item>

GetCognitiveServicesCommitmentPlanResource(ArmClient, ResourceIdentifier)

Gets an object representing a CognitiveServicesCommitmentPlanResource along with the instance operations that can be performed on it but with no data. <item> Mocking. To mock this method, please mock GetCognitiveServicesCommitmentPlanResource(ResourceIdentifier) instead. </item>

GetCognitiveServicesCommitmentPlans(ResourceGroupResource)

Gets a collection of CognitiveServicesCommitmentPlans in the ResourceGroupResource<item> Mocking. To mock this method, please mock GetCognitiveServicesCommitmentPlans() instead. </item>

GetCognitiveServicesCommitmentPlans(SubscriptionResource, CancellationToken)

Returns all the resources of a particular type belonging to a subscription. <item> Mocking. To mock this method, please mock GetCognitiveServicesCommitmentPlans(CancellationToken) instead. </item>

GetCognitiveServicesCommitmentPlansAsync(SubscriptionResource, CancellationToken)

Returns all the resources of a particular type belonging to a subscription. <item> Mocking. To mock this method, please mock GetCognitiveServicesCommitmentPlansAsync(CancellationToken) instead. </item>

GetCognitiveServicesConnectionResource(ArmClient, ResourceIdentifier)

Gets an object representing a CognitiveServicesConnectionResource along with the instance operations that can be performed on it but with no data. <item> Mocking. To mock this method, please mock GetCognitiveServicesConnectionResource(ResourceIdentifier) instead. </item>

GetCognitiveServicesDeletedAccount(SubscriptionResource, AzureLocation, String, String, CancellationToken)

Returns a Cognitive Services account specified by the parameters. <item> Mocking. To mock this method, please mock GetCognitiveServicesDeletedAccount(AzureLocation, String, String, CancellationToken) instead. </item>

GetCognitiveServicesDeletedAccountAsync(SubscriptionResource, AzureLocation, String, String, CancellationToken)

Returns a Cognitive Services account specified by the parameters. <item> Mocking. To mock this method, please mock GetCognitiveServicesDeletedAccountAsync(AzureLocation, String, String, CancellationToken) instead. </item>

GetCognitiveServicesDeletedAccountResource(ArmClient, ResourceIdentifier)

Gets an object representing a CognitiveServicesDeletedAccountResource along with the instance operations that can be performed on it but with no data. <item> Mocking. To mock this method, please mock GetCognitiveServicesDeletedAccountResource(ResourceIdentifier) instead. </item>

GetCognitiveServicesDeletedAccounts(SubscriptionResource)

Gets a collection of CognitiveServicesDeletedAccounts in the SubscriptionResource<item> Mocking. To mock this method, please mock GetCognitiveServicesDeletedAccounts() instead. </item>

GetCognitiveServicesEncryptionScopeResource(ArmClient, ResourceIdentifier)

Gets an object representing a CognitiveServicesEncryptionScopeResource along with the instance operations that can be performed on it but with no data. <item> Mocking. To mock this method, please mock GetCognitiveServicesEncryptionScopeResource(ResourceIdentifier) instead. </item>

GetCognitiveServicesManagedNetworkSettingsResource(ArmClient, ResourceIdentifier)

Gets an object representing a CognitiveServicesManagedNetworkSettingsResource along with the instance operations that can be performed on it but with no data. <item> Mocking. To mock this method, please mock GetCognitiveServicesManagedNetworkSettingsResource(ResourceIdentifier) instead. </item>

GetCognitiveServicesOutboundRuleBasicResource(ArmClient, ResourceIdentifier)

Gets an object representing a CognitiveServicesOutboundRuleBasicResource along with the instance operations that can be performed on it but with no data. <item> Mocking. To mock this method, please mock GetCognitiveServicesOutboundRuleBasicResource(ResourceIdentifier) instead. </item>

GetCognitiveServicesPrivateEndpointConnectionResource(ArmClient, ResourceIdentifier)

Gets an object representing a CognitiveServicesPrivateEndpointConnectionResource along with the instance operations that can be performed on it but with no data. <item> Mocking. To mock this method, please mock GetCognitiveServicesPrivateEndpointConnectionResource(ResourceIdentifier) instead. </item>

GetCognitiveServicesProjectCapabilityHostResource(ArmClient, ResourceIdentifier)

Gets an object representing a CognitiveServicesProjectCapabilityHostResource 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 CognitiveServicesProjectCapabilityHostResourceResourceIdentifier from its components. <item>MockingTo mock this method, please mock GetCognitiveServicesProjectCapabilityHostResource(ResourceIdentifier) instead.</item>

GetCognitiveServicesProjectConnectionResource(ArmClient, ResourceIdentifier)

Gets an object representing a CognitiveServicesProjectConnectionResource along with the instance operations that can be performed on it but with no data. <item> Mocking. To mock this method, please mock GetCognitiveServicesProjectConnectionResource(ResourceIdentifier) instead. </item>

GetCognitiveServicesProjectResource(ArmClient, ResourceIdentifier)

Gets an object representing a CognitiveServicesProjectResource along with the instance operations that can be performed on it but with no data. <item> Mocking. To mock this method, please mock GetCognitiveServicesProjectResource(ResourceIdentifier) instead. </item>

GetCognitiveServicesProjectScopedCapabilityHostResource(ArmClient, ResourceIdentifier)

Gets an object representing a CognitiveServicesProjectScopedCapabilityHostResource along with the instance operations that can be performed on it but with no data. <item> Mocking. To mock this method, please mock GetCognitiveServicesProjectScopedCapabilityHostResource(ResourceIdentifier) instead. </item>

GetCognitiveServicesQuotaTier(SubscriptionResource, String, CancellationToken)

Gets the Quota Tier information for the given subscription. QuotaTiers is a subscription wide resource type. It holds current tier information. <item> Mocking. To mock this method, please mock GetCognitiveServicesQuotaTier(String, CancellationToken) instead. </item>

GetCognitiveServicesQuotaTierAsync(SubscriptionResource, String, CancellationToken)

Gets the Quota Tier information for the given subscription. QuotaTiers is a subscription wide resource type. It holds current tier information. <item> Mocking. To mock this method, please mock GetCognitiveServicesQuotaTierAsync(String, CancellationToken) instead. </item>

GetCognitiveServicesQuotaTierResource(ArmClient, ResourceIdentifier)

Gets an object representing a CognitiveServicesQuotaTierResource along with the instance operations that can be performed on it but with no data. <item> Mocking. To mock this method, please mock GetCognitiveServicesQuotaTierResource(ResourceIdentifier) instead. </item>

GetCognitiveServicesQuotaTiers(SubscriptionResource)

Gets a collection of CognitiveServicesQuotaTiers in the SubscriptionResource<item> Mocking. To mock this method, please mock GetCognitiveServicesQuotaTiers() instead. </item>

GetCommitmentPlanAccountAssociationResource(ArmClient, ResourceIdentifier)

Gets an object representing a CommitmentPlanAccountAssociationResource along with the instance operations that can be performed on it but with no data. <item> Mocking. To mock this method, please mock GetCommitmentPlanAccountAssociationResource(ResourceIdentifier) instead. </item>

GetCommitmentPlanResource(ArmClient, ResourceIdentifier)

Gets an object representing a CommitmentPlanResource along with the instance operations that can be performed on it but with no data. <item> Mocking. To mock this method, please mock GetCommitmentPlanResource(ResourceIdentifier) instead. </item>

GetCommitmentTiers(SubscriptionResource, AzureLocation, CancellationToken)

List Commitment Tiers. <item> Mocking. To mock this method, please mock GetCommitmentTiers(AzureLocation, CancellationToken) instead. </item>

GetCommitmentTiersAsync(SubscriptionResource, AzureLocation, CancellationToken)

List Commitment Tiers. <item> Mocking. To mock this method, please mock GetCommitmentTiersAsync(AzureLocation, CancellationToken) instead. </item>

GetDefenderForAISettingResource(ArmClient, ResourceIdentifier)

Gets an object representing a DefenderForAISettingResource along with the instance operations that can be performed on it but with no data. <item> Mocking. To mock this method, please mock GetDefenderForAISettingResource(ResourceIdentifier) instead. </item>

GetDeletedAccounts(SubscriptionResource, CancellationToken)

Returns all the resources of a particular type belonging to a subscription. <item> Mocking. To mock this method, please mock GetDeletedAccounts(CancellationToken) instead. </item>

GetDeletedAccountsAsync(SubscriptionResource, CancellationToken)

Returns all the resources of a particular type belonging to a subscription. <item> Mocking. To mock this method, please mock GetDeletedAccountsAsync(CancellationToken) instead. </item>

GetLocationBasedModelCapacities(SubscriptionResource, AzureLocation, String, String, String, CancellationToken)

List Location Based ModelCapacities. <item> Mocking. To mock this method, please mock GetLocationBasedModelCapacities(AzureLocation, String, String, String, CancellationToken) instead. </item>

GetLocationBasedModelCapacitiesAsync(SubscriptionResource, AzureLocation, String, String, String, CancellationToken)

List Location Based ModelCapacities. <item> Mocking. To mock this method, please mock GetLocationBasedModelCapacitiesAsync(AzureLocation, String, String, String, CancellationToken) instead. </item>

GetModelCapacities(SubscriptionResource, String, String, String, CancellationToken)

List ModelCapacities. <item> Mocking. To mock this method, please mock GetModelCapacities(String, String, String, CancellationToken) instead. </item>

GetModelCapacitiesAsync(SubscriptionResource, String, String, String, CancellationToken)

List ModelCapacities. <item> Mocking. To mock this method, please mock GetModelCapacitiesAsync(String, String, String, CancellationToken) instead. </item>

GetModels(SubscriptionResource, AzureLocation, CancellationToken)

List Models. <item> Mocking. To mock this method, please mock GetModels(AzureLocation, CancellationToken) instead. </item>

GetModelsAsync(SubscriptionResource, AzureLocation, CancellationToken)

List Models. <item> Mocking. To mock this method, please mock GetModelsAsync(AzureLocation, CancellationToken) instead. </item>

GetNetworkSecurityPerimeterConfigurationResource(ArmClient, ResourceIdentifier)

Gets an object representing a NetworkSecurityPerimeterConfigurationResource along with the instance operations that can be performed on it but with no data. <item> Mocking. To mock this method, please mock GetNetworkSecurityPerimeterConfigurationResource(ResourceIdentifier) instead. </item>

GetRaiBlocklistItemResource(ArmClient, ResourceIdentifier)

Gets an object representing a RaiBlocklistItemResource along with the instance operations that can be performed on it but with no data. <item> Mocking. To mock this method, please mock GetRaiBlocklistItemResource(ResourceIdentifier) instead. </item>

GetRaiBlocklistResource(ArmClient, ResourceIdentifier)

Gets an object representing a RaiBlocklistResource along with the instance operations that can be performed on it but with no data. <item> Mocking. To mock this method, please mock GetRaiBlocklistResource(ResourceIdentifier) instead. </item>

GetRaiContentFilter(SubscriptionResource, AzureLocation, String, CancellationToken)

Get Content Filters by Name. <item> Mocking. To mock this method, please mock GetRaiContentFilter(AzureLocation, String, CancellationToken) instead. </item>

GetRaiContentFilterAsync(SubscriptionResource, AzureLocation, String, CancellationToken)

Get Content Filters by Name. <item> Mocking. To mock this method, please mock GetRaiContentFilterAsync(AzureLocation, String, CancellationToken) instead. </item>

GetRaiContentFilterResource(ArmClient, ResourceIdentifier)

Gets an object representing a RaiContentFilterResource along with the instance operations that can be performed on it but with no data. <item> Mocking. To mock this method, please mock GetRaiContentFilterResource(ResourceIdentifier) instead. </item>

GetRaiContentFilters(SubscriptionResource, AzureLocation)

Gets a collection of RaiContentFilters in the SubscriptionResource<item> Mocking. To mock this method, please mock GetRaiContentFilters(AzureLocation) instead. </item>

GetRaiExternalSafetyProviderSchema(SubscriptionResource, String, CancellationToken)

Gets the specified external safety provider associated with the Subscription <item> Mocking. To mock this method, please mock GetRaiExternalSafetyProviderSchema(String, CancellationToken) instead. </item>

GetRaiExternalSafetyProviderSchemaAsync(SubscriptionResource, String, CancellationToken)

Gets the specified external safety provider associated with the Subscription <item> Mocking. To mock this method, please mock GetRaiExternalSafetyProviderSchemaAsync(String, CancellationToken) instead. </item>

GetRaiExternalSafetyProviderSchemaResource(ArmClient, ResourceIdentifier)

Gets an object representing a RaiExternalSafetyProviderSchemaResource along with the instance operations that can be performed on it but with no data. <item> Mocking. To mock this method, please mock GetRaiExternalSafetyProviderSchemaResource(ResourceIdentifier) instead. </item>

GetRaiExternalSafetyProviderSchemas(SubscriptionResource)

Gets a collection of RaiExternalSafetyProviderSchemas in the SubscriptionResource<item> Mocking. To mock this method, please mock GetRaiExternalSafetyProviderSchemas() instead. </item>

GetRaiPolicyResource(ArmClient, ResourceIdentifier)

Gets an object representing a RaiPolicyResource along with the instance operations that can be performed on it but with no data. <item> Mocking. To mock this method, please mock GetRaiPolicyResource(ResourceIdentifier) instead. </item>

GetRaiToolLabelResource(ArmClient, ResourceIdentifier)

Gets an object representing a RaiToolLabelResource along with the instance operations that can be performed on it but with no data. <item> Mocking. To mock this method, please mock GetRaiToolLabelResource(ResourceIdentifier) instead. </item>

GetRaiTopicResource(ArmClient, ResourceIdentifier)

Gets an object representing a RaiTopicResource along with the instance operations that can be performed on it but with no data. <item> Mocking. To mock this method, please mock GetRaiTopicResource(ResourceIdentifier) instead. </item>

GetResourceSkus(SubscriptionResource, CancellationToken)

Gets the list of Microsoft.CognitiveServices SKUs available for your Subscription. <item> Mocking. To mock this method, please mock GetResourceSkus(CancellationToken) instead. </item>

GetResourceSkusAsync(SubscriptionResource, CancellationToken)

Gets the list of Microsoft.CognitiveServices SKUs available for your Subscription. <item> Mocking. To mock this method, please mock GetResourceSkusAsync(CancellationToken) instead. </item>

GetSubscriptionRaiPolicyResource(ArmClient, ResourceIdentifier)

Gets an object representing a SubscriptionRaiPolicyResource along with the instance operations that can be performed on it but with no data. <item> Mocking. To mock this method, please mock GetSubscriptionRaiPolicyResource(ResourceIdentifier) instead. </item>

GetUsages(SubscriptionResource, AzureLocation, String, CancellationToken)

Get usages for the requested subscription <item> Mocking. To mock this method, please mock GetUsages(AzureLocation, String, CancellationToken) instead. </item>

GetUsagesAsync(SubscriptionResource, AzureLocation, String, CancellationToken)

Get usages for the requested subscription <item> Mocking. To mock this method, please mock GetUsagesAsync(AzureLocation, String, CancellationToken) instead. </item>

Applies to