@azure/arm-cognitiveservices package

Interfaces

AADAuthTypeConnectionProperties

This connection type covers the AAD auth for any applicable Azure service

AbusePenalty

The abuse penalty.

AccessKeyAuthTypeConnectionProperties

model interface AccessKeyAuthTypeConnectionProperties

Account

Cognitive Services account is an Azure resource representing the provisioned account, it's type, location and SKU.

AccountCapabilityHostsCreateOrUpdateOptionalParams

Optional parameters.

AccountCapabilityHostsDeleteOptionalParams

Optional parameters.

AccountCapabilityHostsGetOptionalParams

Optional parameters.

AccountCapabilityHostsListOptionalParams

Optional parameters.

AccountCapabilityHostsOperations

Interface representing a AccountCapabilityHosts operations.

AccountConnectionsCreateOptionalParams

Optional parameters.

AccountConnectionsDeleteOptionalParams

Optional parameters.

AccountConnectionsGetOptionalParams

Optional parameters.

AccountConnectionsListOptionalParams

Optional parameters.

AccountConnectionsOperations

Interface representing a AccountConnections operations.

AccountConnectionsUpdateOptionalParams

Optional parameters.

AccountKeyAuthTypeConnectionProperties

This connection type covers the account key connection for Azure storage

AccountModel

Cognitive Services account Model.

AccountProperties

Properties of Cognitive Services account.

AccountSku

Cognitive Services resource type and SKU.

AccountSkuListResult

The list of cognitive services accounts operation response.

AccountsCreateOptionalParams

Optional parameters.

AccountsDeleteOptionalParams

Optional parameters.

AccountsGetOptionalParams

Optional parameters.

AccountsListByResourceGroupOptionalParams

Optional parameters.

AccountsListKeysOptionalParams

Optional parameters.

AccountsListModelsOptionalParams

Optional parameters.

AccountsListOptionalParams

Optional parameters.

AccountsListSkusOptionalParams

Optional parameters.

AccountsListUsagesOptionalParams

Optional parameters.

AccountsOperations

Interface representing a Accounts operations.

AccountsRegenerateKeyOptionalParams

Optional parameters.

AccountsUpdateOptionalParams

Optional parameters.

AgentApplication

Agent Application resource

AgentApplicationsCreateOrUpdateOptionalParams

Optional parameters.

AgentApplicationsDeleteOptionalParams

Optional parameters.

AgentApplicationsDisableOptionalParams

Optional parameters.

AgentApplicationsEnableOptionalParams

Optional parameters.

AgentApplicationsGetOptionalParams

Optional parameters.

AgentApplicationsListAgentsOptionalParams

Optional parameters.

AgentApplicationsListOptionalParams

Optional parameters.

AgentApplicationsOperations

Interface representing a AgentApplications operations.

AgentDeployment

Agent Deployment resource

AgentDeploymentProperties

Type representing an agent deployment as a management construct.

AgentDeploymentsCreateOrUpdateOptionalParams

Optional parameters.

AgentDeploymentsDeleteOptionalParams

Optional parameters.

AgentDeploymentsGetOptionalParams

Optional parameters.

AgentDeploymentsListOptionalParams

Optional parameters.

AgentDeploymentsOperations

Interface representing a AgentDeployments operations.

AgentDeploymentsStartOptionalParams

Optional parameters.

AgentDeploymentsStopOptionalParams

Optional parameters.

AgentProtocolVersion

Type modeling the protocol and version used by an agent/exposed by a deployment.

AgentReference

Agent Reference resource

AgentReferenceProperties

Type modeling a reference to a version of an agent definition.

AgentReferenceResourceArmPaginatedResult

A paginated list of Agent Reference entities.

AgenticApplicationProperties

Resource type representing an agentic application as a management construct.

ApiKeyAuthConnectionProperties

This connection type covers the generic ApiKey auth connection categories, for examples: AzureOpenAI: Category:= AzureOpenAI AuthType:= ApiKey (as type discriminator) Credentials:= {ApiKey} as .ApiKey Target:= {ApiBase}

CognitiveService: Category:= CognitiveService AuthType:= ApiKey (as type discriminator) Credentials:= {SubscriptionKey} as ApiKey Target:= ServiceRegion={serviceRegion}

CognitiveSearch: Category:= CognitiveSearch AuthType:= ApiKey (as type discriminator) Credentials:= {Key} as ApiKey Target:= {Endpoint}

Use Metadata property bag for ApiType, ApiVersion, Kind and other metadata fields

ApiKeys

The access keys for the cognitive services account.

ApiProperties

The api properties for special APIs.

ApplicationAuthorizationPolicy

Represents a policy for authorizing applications based on specified authentication and authorization schemes.

ApplicationTrafficRoutingPolicy

Type representing an application traffic policy as a property of an agentic application.

AssignedIdentity

Type representing an identity assignment

BillingMeterInfo

model interface BillingMeterInfo

CalculateModelCapacityOptionalParams

Optional parameters.

CalculateModelCapacityParameter

Calculate Model Capacity parameter.

CalculateModelCapacityResult

Calculate Model Capacity result.

CalculateModelCapacityResultEstimatedCapacity

Model Estimated Capacity.

CallRateLimit

The call rate limit Cognitive Services account.

CapabilityHost

Azure Resource Manager resource envelope.

CapabilityHostProperties

model interface CapabilityHostProperties

CapacityConfig

The capacity configuration.

CertificateBundleReference

A reference to a specific version of a Key Vault secret containing a PEM-encoded CA certificate or certificate bundle.

ChannelsBuiltInAuthorizationPolicy

Represents a built-in authorization policy specific to Azure Bot Service/Channels authentication.

CheckDomainAvailabilityOptionalParams

Optional parameters.

CheckDomainAvailabilityParameter

Check Domain availability parameter.

CheckSkuAvailabilityOptionalParams

Optional parameters.

CheckSkuAvailabilityParameter

Check SKU availability parameter.

CognitiveServicesManagementClientOptionalParams

Optional parameters for the client.

CommitmentCost

Cognitive Services account commitment cost.

CommitmentPeriod

Cognitive Services account commitment period.

CommitmentPlan

Cognitive Services account commitment plan.

CommitmentPlanAccountAssociation

The commitment plan association.

CommitmentPlanAccountAssociationProperties

The commitment plan account association properties.

CommitmentPlanAssociation

The commitment plan association.

CommitmentPlanProperties

Properties of Cognitive Services account commitment plan.

CommitmentPlansCreateOrUpdateAssociationOptionalParams

Optional parameters.

CommitmentPlansCreateOrUpdateOptionalParams

Optional parameters.

CommitmentPlansCreateOrUpdatePlanOptionalParams

Optional parameters.

CommitmentPlansDeleteAssociationOptionalParams

Optional parameters.

CommitmentPlansDeleteOptionalParams

Optional parameters.

CommitmentPlansDeletePlanOptionalParams

Optional parameters.

CommitmentPlansGetAssociationOptionalParams

Optional parameters.

CommitmentPlansGetOptionalParams

Optional parameters.

CommitmentPlansGetPlanOptionalParams

Optional parameters.

CommitmentPlansListAssociationsOptionalParams

Optional parameters.

CommitmentPlansListOptionalParams

Optional parameters.

CommitmentPlansListPlansByResourceGroupOptionalParams

Optional parameters.

CommitmentPlansListPlansBySubscriptionOptionalParams

Optional parameters.

CommitmentPlansOperations

Interface representing a CommitmentPlans operations.

CommitmentPlansUpdatePlanOptionalParams

Optional parameters.

CommitmentQuota

Cognitive Services account commitment quota.

CommitmentTier

Cognitive Services account commitment tier.

CommitmentTiersListOptionalParams

Optional parameters.

CommitmentTiersOperations

Interface representing a CommitmentTiers operations.

ConnectionAccessKey

model interface ConnectionAccessKey

ConnectionAccountKey

Account key object for connection credential.

ConnectionApiKey

Api key object for connection credential.

ConnectionManagedIdentity

model interface ConnectionManagedIdentity

ConnectionOAuth2

ClientId and ClientSecret are required. Other properties are optional depending on each OAuth2 provider's implementation.

ConnectionPersonalAccessToken

model interface ConnectionPersonalAccessToken

ConnectionPropertiesV2

Connection property base schema.

ConnectionPropertiesV2BasicResource

Connection base resource schema.

ConnectionServicePrincipal

model interface ConnectionServicePrincipal

ConnectionSharedAccessSignature

model interface ConnectionSharedAccessSignature

ConnectionUpdateContent

The properties that the Cognitive services connection will be updated with.

ConnectionUsernamePassword

model interface ConnectionUsernamePassword

CustomBlocklistConfig

Gets or sets the source to which filter applies.

CustomKeys

Custom Keys credential object

CustomKeysConnectionProperties

Category:= CustomKeys AuthType:= CustomKeys (as type discriminator) Credentials:= {CustomKeys} as CustomKeys Target:= {any value} Use Metadata property bag for ApiVersion and other metadata fields

DefenderForAISetting

The Defender for AI resource.

DefenderForAISettingProperties

The Defender for AI resource properties.

DefenderForAISettingsCreateOrUpdateOptionalParams

Optional parameters.

DefenderForAISettingsGetOptionalParams

Optional parameters.

DefenderForAISettingsListOptionalParams

Optional parameters.

DefenderForAISettingsOperations

Interface representing a DefenderForAISettings operations.

DefenderForAISettingsUpdateOptionalParams

Optional parameters.

DeletedAccountsGetOptionalParams

Optional parameters.

DeletedAccountsListOptionalParams

Optional parameters.

DeletedAccountsOperations

Interface representing a DeletedAccounts operations.

DeletedAccountsPurgeOptionalParams

Optional parameters.

Deployment

Cognitive Services account deployment.

DeploymentCapacitySettings

Internal use only.

DeploymentModel

Properties of Cognitive Services account deployment model.

DeploymentProperties

Properties of Cognitive Services account deployment.

DeploymentRouting

Routing configuration for the model-router deployment. Specifies how requests are routed across multiple models.

DeploymentScaleSettings

Properties of Cognitive Services account deployment model. (Deprecated, please use Deployment.sku instead.)

DeploymentSizeCapacity

Capacity information for a specific deployment size.

DeploymentsCreateOrUpdateOptionalParams

Optional parameters.

DeploymentsDeleteOptionalParams

Optional parameters.

DeploymentsGetOptionalParams

Optional parameters.

DeploymentsListOptionalParams

Optional parameters.

DeploymentsListSkusOptionalParams

Optional parameters.

DeploymentsOperations

Interface representing a Deployments operations.

DeploymentsPauseOptionalParams

Optional parameters.

DeploymentsResumeOptionalParams

Optional parameters.

DeploymentsUpdateOptionalParams

Optional parameters.

DomainAvailability

Domain availability.

Encryption

Properties to configure Encryption

EncryptionScope

Cognitive Services EncryptionScope

EncryptionScopeProperties

Properties to EncryptionScope

EncryptionScopesCreateOrUpdateOptionalParams

Optional parameters.

EncryptionScopesDeleteOptionalParams

Optional parameters.

EncryptionScopesGetOptionalParams

Optional parameters.

EncryptionScopesListOptionalParams

Optional parameters.

EncryptionScopesOperations

Interface representing a EncryptionScopes operations.

ErrorAdditionalInfo

The resource management error additional info.

ErrorDetail

The error detail.

ErrorResponse

Common error response for all Azure Resource Manager APIs to return error details for failed operations.

FqdnOutboundRule

FQDN Outbound Rule for the managed network of a cognitive services account.

HostedAgentDeployment

Represents a hosted agent deployment where the underlying infrastructure is owned by the platform.

Identity

Identity for the resource.

IpRule

A rule governing the accessibility from a specific ip address or ip range.

KeyVaultProperties

Properties to configure keyVault Properties

LocationBasedModelCapacitiesListOptionalParams

Optional parameters.

LocationBasedModelCapacitiesOperations

Interface representing a LocationBasedModelCapacities operations.

ManagedAgentDeployment

Represents a managed agent deployment where the underlying infrastructure is managed by the platform in the deployer's subscription.

ManagedComputeCapacitiesListOptionalParams

Optional parameters.

ManagedComputeCapacitiesOperations

Interface representing a ManagedComputeCapacities operations.

ManagedComputeCapacity

Managed compute capacity information for Cognitive Services managed compute deployments. Provides available accelerator capacity per type and region at the subscription level.

ManagedComputeCapacityProperties

Properties of a managed compute capacity resource.

ManagedIdentityAuthTypeConnectionProperties

model interface ManagedIdentityAuthTypeConnectionProperties

ManagedNetworkProvisionOptions

Managed Network Provisioning options for managed network of a cognitive services account.

ManagedNetworkProvisionStatus

Status of the Provisioning for the managed network of a cognitive services account.

ManagedNetworkProvisionsOperations

Interface representing a ManagedNetworkProvisions operations.

ManagedNetworkProvisionsProvisionManagedNetworkOptionalParams

Optional parameters.

ManagedNetworkSettings

Managed Network settings for a cognitive services account.

ManagedNetworkSettingsBasicResource

model interface ManagedNetworkSettingsBasicResource

ManagedNetworkSettingsDeleteOptionalParams

Optional parameters.

ManagedNetworkSettingsEx

model interface ManagedNetworkSettingsEx

ManagedNetworkSettingsGetOptionalParams

Optional parameters.

ManagedNetworkSettingsListOptionalParams

Optional parameters.

ManagedNetworkSettingsOperations

Interface representing a ManagedNetworkSettings operations.

ManagedNetworkSettingsPatchOptionalParams

Optional parameters.

ManagedNetworkSettingsProperties

The properties of the managed network settings of a cognitive services account.

ManagedNetworkSettingsPropertiesBasicResource

Concrete proxy resource types can be created by aliasing this type using a specific property type.

ManagedNetworkSettingsPutOptionalParams

Optional parameters.

MetricName

A metric name.

Model

Cognitive Services Model.

ModelCapacitiesListOptionalParams

Optional parameters.

ModelCapacitiesOperations

Interface representing a ModelCapacities operations.

ModelCapacityCalculatorWorkload

Model Capacity Calculator Workload.

ModelCapacityCalculatorWorkloadRequestParam

Dictionary, Model Capacity Calculator Workload Parameters.

ModelCapacityListResultValueItem

model interface ModelCapacityListResultValueItem

ModelDeprecationInfo

Cognitive Services account ModelDeprecationInfo.

ModelSku

Describes an available Cognitive Services Model SKU.

ModelSkuCapacityProperties

Cognitive Services account ModelSkuCapacity.

ModelsListOptionalParams

Optional parameters.

ModelsOperations

Interface representing a Models operations.

MultiRegionSettings

The multiregion settings Cognitive Services account.

NetworkInjection

Specifies in AI Foundry where virtual network injection occurs to secure scenarios like Agents entirely within the user's private network, eliminating public internet exposure while maintaining control over network configurations and resources.

NetworkRuleSet

A set of rules governing the network accessibility.

NetworkSecurityPerimeter

Information about a linked Network Security Perimeter

NetworkSecurityPerimeterAccessRule

Network Security Perimeter Access Rule

NetworkSecurityPerimeterAccessRuleProperties

The Properties of Network Security Perimeter Rule

NetworkSecurityPerimeterAccessRulePropertiesSubscriptionsItem

Subscription for inbound rule

NetworkSecurityPerimeterConfiguration

NSP Configuration for an Cognitive Services account.

NetworkSecurityPerimeterConfigurationAssociationInfo

Network Security Perimeter Configuration Association Information

NetworkSecurityPerimeterConfigurationProperties

The properties of an NSP Configuration.

NetworkSecurityPerimeterConfigurationsGetOptionalParams

Optional parameters.

NetworkSecurityPerimeterConfigurationsListOptionalParams

Optional parameters.

NetworkSecurityPerimeterConfigurationsOperations

Interface representing a NetworkSecurityPerimeterConfigurations operations.

NetworkSecurityPerimeterConfigurationsReconcileOptionalParams

Optional parameters.

NetworkSecurityPerimeterProfileInfo

Network Security Perimeter Profile Information

NoneAuthTypeConnectionProperties

model interface NoneAuthTypeConnectionProperties

OAuth2AuthTypeConnectionProperties

model interface OAuth2AuthTypeConnectionProperties

Operation

Details of a REST API operation, returned from the Resource Provider Operations API

OperationDisplay

Localized display information for an operation.

OperationsListOptionalParams

Optional parameters.

OperationsOperations

Interface representing a Operations operations.

OrganizationSharedBuiltInAuthorizationPolicy

Built-in authorization policy scoped to organization/tenant.

OutboundRule

Outbound Rule for the managed network of a cognitive services account.

OutboundRuleBasicResource

Concrete proxy resource types can be created by aliasing this type using a specific property type.

OutboundRuleCreateOrUpdateOptionalParams

Optional parameters.

OutboundRuleDeleteOptionalParams

Optional parameters.

OutboundRuleGetOptionalParams

Optional parameters.

OutboundRuleListOptionalParams

Optional parameters.

OutboundRuleOperations

Interface representing a OutboundRule operations.

OutboundRulesOperations

Interface representing a OutboundRules operations.

OutboundRulesPostOptionalParams

Optional parameters.

PATAuthTypeConnectionProperties

model interface PATAuthTypeConnectionProperties

PageSettings

Options for the byPage method

PagedAsyncIterableIterator

An interface that allows async iterable iteration both to completion and by page.

PatchResourceTags

The object being used to update tags of a resource, in general used for PATCH operations.

PatchResourceTagsAndSku

The object being used to update tags and sku of a resource, in general used for PATCH operations.

PrivateEndpoint

The private endpoint resource.

PrivateEndpointConnection

The Private Endpoint Connection resource.

PrivateEndpointConnectionListResult

A list of private endpoint connections

PrivateEndpointConnectionProperties

Properties of the PrivateEndpointConnectProperties.

PrivateEndpointConnectionsCreateOrUpdateOptionalParams

Optional parameters.

PrivateEndpointConnectionsDeleteOptionalParams

Optional parameters.

PrivateEndpointConnectionsGetOptionalParams

Optional parameters.

PrivateEndpointConnectionsListOptionalParams

Optional parameters.

PrivateEndpointConnectionsOperations

Interface representing a PrivateEndpointConnections operations.

PrivateEndpointOutboundRule

Private Endpoint outbound rule for the managed network of a cognitive services account.

PrivateEndpointOutboundRuleDestination

Private Endpoint destination for an outbound rule.

PrivateLinkResource

A private link resource

PrivateLinkResourceListResult

A list of private link resources

PrivateLinkResourceProperties

Properties of a private link resource.

PrivateLinkResourcesListOptionalParams

Optional parameters.

PrivateLinkResourcesOperations

Interface representing a PrivateLinkResources operations.

PrivateLinkServiceConnectionState

A collection of information about the state of the connection between service consumer and provider.

Project

Cognitive Services project is an Azure resource representing the provisioned account's project, it's type, location and SKU.

ProjectCapabilityHost

Azure Resource Manager resource envelope for Project CapabilityHost.

ProjectCapabilityHostProperties

model interface ProjectCapabilityHostProperties

ProjectCapabilityHostsCreateOrUpdateOptionalParams

Optional parameters.

ProjectCapabilityHostsDeleteOptionalParams

Optional parameters.

ProjectCapabilityHostsGetOptionalParams

Optional parameters.

ProjectCapabilityHostsListOptionalParams

Optional parameters.

ProjectCapabilityHostsOperations

Interface representing a ProjectCapabilityHosts operations.

ProjectConnectionsCreateOptionalParams

Optional parameters.

ProjectConnectionsDeleteOptionalParams

Optional parameters.

ProjectConnectionsGetOptionalParams

Optional parameters.

ProjectConnectionsListOptionalParams

Optional parameters.

ProjectConnectionsOperations

Interface representing a ProjectConnections operations.

ProjectConnectionsUpdateOptionalParams

Optional parameters.

ProjectProperties

Properties of Cognitive Services Project'.

ProjectsCreateOptionalParams

Optional parameters.

ProjectsDeleteOptionalParams

Optional parameters.

ProjectsGetOptionalParams

Optional parameters.

ProjectsListOptionalParams

Optional parameters.

ProjectsOperations

Interface representing a Projects operations.

ProjectsUpdateOptionalParams

Optional parameters.

ProvisioningIssue

model interface ProvisioningIssue

ProvisioningIssueProperties

Properties of Provisioning Issue

ProxyResource

The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location

QuotaLimit

model interface QuotaLimit

QuotaTier

The quota tier information for the subscription

QuotaTierProperties

Properties of Quota Tier resource'.

QuotaTierUpgradeEligibilityInfo

Information about the quota tier upgrade eligibility for the subscription.

QuotaTiersCreateOrUpdateOptionalParams

Optional parameters.

QuotaTiersGetOptionalParams

Optional parameters.

QuotaTiersListBySubscriptionOptionalParams

Optional parameters.

QuotaTiersOperations

Interface representing a QuotaTiers operations.

QuotaTiersUpdateOptionalParams

Optional parameters.

RaiBlocklist

Cognitive Services RaiBlocklist.

RaiBlocklistConfig

Azure OpenAI blocklist config.

RaiBlocklistItem

Cognitive Services RaiBlocklist Item.

RaiBlocklistItemBulkRequest

The Cognitive Services RaiBlocklist Item request body.

RaiBlocklistItemProperties

RAI Custom Blocklist Item properties.

RaiBlocklistItemsBatchAddOptionalParams

Optional parameters.

RaiBlocklistItemsBatchDeleteOptionalParams

Optional parameters.

RaiBlocklistItemsCreateOrUpdateOptionalParams

Optional parameters.

RaiBlocklistItemsDeleteOptionalParams

Optional parameters.

RaiBlocklistItemsGetOptionalParams

Optional parameters.

RaiBlocklistItemsListOptionalParams

Optional parameters.

RaiBlocklistItemsOperations

Interface representing a RaiBlocklistItems operations.

RaiBlocklistProperties

RAI Custom Blocklist properties.

RaiBlocklistsCreateOrUpdateOptionalParams

Optional parameters.

RaiBlocklistsDeleteOptionalParams

Optional parameters.

RaiBlocklistsGetOptionalParams

Optional parameters.

RaiBlocklistsListOptionalParams

Optional parameters.

RaiBlocklistsOperations

Interface representing a RaiBlocklists operations.

RaiContentFilter

Azure OpenAI Content Filter.

RaiContentFilterProperties

Azure OpenAI Content Filter Properties.

RaiContentFiltersGetOptionalParams

Optional parameters.

RaiContentFiltersListOptionalParams

Optional parameters.

RaiContentFiltersOperations

Interface representing a RaiContentFilters operations.

RaiEgressHeaderTransform

A header transformation applied to matched traffic. For Set or Insert operations, exactly one of value or valueRef must be provided. For Remove operations, neither value nor valueRef should be set.

RaiEgressHeaderValueRef

A dynamic source for a header value. Exactly one of secretRef or managedIdentityRef must be set.

RaiEgressManagedIdentityRef

A reference to a managed-identity token used as a header value.

RaiEgressPolicyConfig

Egress (outbound network) policy configuration nested within an RAI policy. Controls which external endpoints sandboxed agents can reach and what transformations (header injection, URL rewrite) are applied to matching traffic.

RaiEgressRewriteTarget

Where a Rewrite action sends matched traffic. At least one field must be set; omitted fields retain the original request values. This constraint is enforced by the server (400 Bad Request if all fields are omitted).

RaiEgressRule

A single egress rule. Rules are evaluated in order; first match wins.

RaiEgressRuleAction

The action an egress rule takes when it matches.

  • Allow/Deny: no additional fields needed; headers and rewrite must not be set.
  • Transform: headers is required with at least one entry; rewrite must not be set.
  • Rewrite: rewrite is required with at least one of scheme/host/path; headers is optional for injecting headers alongside the redirect.
RaiEgressRuleMatch

The match criteria for an egress rule. If both host and path are omitted, the rule matches all traffic. Host uses DNS wildcard syntax (e.g., "*.openai.com" matches "api.openai.com"). Path uses URI prefix matching with an asterisk as a single-segment wildcard. For example, "/v1/*" matches "/v1/chat".

RaiEgressSecretRef

A reference to a stored secret used as a header value.

RaiExternalSafetyProviderCreateOrUpdateOptionalParams

Optional parameters.

RaiExternalSafetyProviderDeleteOptionalParams

Optional parameters.

RaiExternalSafetyProviderGetOptionalParams

Optional parameters.

RaiExternalSafetyProviderOperations

Interface representing a RaiExternalSafetyProvider operations.

RaiExternalSafetyProviderSchema

Cognitive Services Rai External Safety provider Schema.

RaiExternalSafetyProviderSchemaProperties

RAI External SafetyProvider schema properties.

RaiExternalSafetyProvidersListOptionalParams

Optional parameters.

RaiExternalSafetyProvidersOperations

Interface representing a RaiExternalSafetyProviders operations.

RaiMonitorConfig

Cognitive Services Rai Monitor Config.

RaiPoliciesCreateOrUpdateOptionalParams

Optional parameters.

RaiPoliciesDeleteOptionalParams

Optional parameters.

RaiPoliciesGetOptionalParams

Optional parameters.

RaiPoliciesListOptionalParams

Optional parameters.

RaiPoliciesOperations

Interface representing a RaiPolicies operations.

RaiPolicy

Cognitive Services RaiPolicy.

RaiPolicyContentFilter

Azure OpenAI Content Filter.

RaiPolicyProperties

Azure OpenAI Content Filters properties.

RaiSafetyProviderConfig

Azure OpenAI RAI safety provider config.

RaiToolLabel

Cognitive Services RAI Tool Label resource.

RaiToolLabelProperties

RAI Tool Label properties.

RaiToolLabelPropertiesAccountScope

Account-level tool label definition.

RaiToolLabelPropertiesProjectScopesItem

model interface RaiToolLabelPropertiesProjectScopesItem

RaiToolLabelsCreateOrUpdateOptionalParams

Optional parameters.

RaiToolLabelsDeleteOptionalParams

Optional parameters.

RaiToolLabelsGetOptionalParams

Optional parameters.

RaiToolLabelsListOptionalParams

Optional parameters.

RaiToolLabelsOperations

Interface representing a RaiToolLabels operations.

RaiTopic

Cognitive Services Rai Topic.

RaiTopicProperties

RAI Custom Topic properties.

RaiTopicsCreateOrUpdateOptionalParams

Optional parameters.

RaiTopicsDeleteOptionalParams

Optional parameters.

RaiTopicsGetOptionalParams

Optional parameters.

RaiTopicsListOptionalParams

Optional parameters.

RaiTopicsOperations

Interface representing a RaiTopics operations.

RegenerateKeyParameters

Regenerate key parameters.

RegionSetting

The call rate limit Cognitive Services account.

ReplacementConfig

Configuration for model replacement.

RequestMatchPattern

model interface RequestMatchPattern

Resource

Common fields that are returned in the response for all Azure Resource Manager resources

ResourceBase

model interface ResourceBase

ResourceSku

Describes an available Cognitive Services SKU.

ResourceSkuRestrictionInfo

model interface ResourceSkuRestrictionInfo

ResourceSkuRestrictions

Describes restrictions of a SKU.

ResourceSkusListOptionalParams

Optional parameters.

ResourceSkusOperations

Interface representing a ResourceSkus operations.

RestorePollerOptions
RoleBasedBuiltInAuthorizationPolicy

Built-in role-based authorization policy.

SASAuthTypeConnectionProperties

model interface SASAuthTypeConnectionProperties

SafetyProviderConfig

Gets or sets the source to which safety providers applies.

ServicePrincipalAuthTypeConnectionProperties

model interface ServicePrincipalAuthTypeConnectionProperties

ServiceTagOutboundRule

Service Tag outbound rule for the managed network of a cognitive services account.

ServiceTagOutboundRuleDestination

Service Tag destination for an outbound rule.

SimplePollerLike

A simple poller that can be used to poll a long running operation.

Sku

The resource model definition representing SKU

SkuAvailability

SKU availability.

SkuAvailabilityListResult

Check SKU availability result list.

SkuCapability

SkuCapability indicates the capability of a certain feature.

SkuChangeInfo

Sku change info of account.

SkuResource

Properties of Cognitive Services account resource sku resource properties.

SubscriptionRaiPolicyCreateOrUpdateOptionalParams

Optional parameters.

SubscriptionRaiPolicyDeleteOptionalParams

Optional parameters.

SubscriptionRaiPolicyGetOptionalParams

Optional parameters.

SubscriptionRaiPolicyOperations

Interface representing a SubscriptionRaiPolicy operations.

SystemData

Metadata pertaining to creation and last modification of the resource.

TestRaiExternalSafetyProviderCreateOrUpdateOptionalParams

Optional parameters.

TestRaiExternalSafetyProviderOperations

Interface representing a TestRaiExternalSafetyProvider operations.

ThrottlingRule

model interface ThrottlingRule

TrafficRoutingRule

Represents a rule for routing traffic to a specific deployment.

TrustedCertificateSource

An Azure resource containing the CA certificate bundles trusted by supported features in the account.

Usage

The usage data for a usage request.

UsageListResult

The response to a list usage request.

UsagesListOptionalParams

Optional parameters.

UsagesOperations

Interface representing a Usages operations.

UserAssignedIdentity

User-assigned managed identity.

UserOwnedAmlWorkspace

The user owned AML account for Cognitive Services account.

UserOwnedStorage

The user owned storage for Cognitive Services account.

UsernamePasswordAuthTypeConnectionProperties

model interface UsernamePasswordAuthTypeConnectionProperties

VersionedAgentReference

Type modeling a reference to a version of an agent definition.

VirtualNetworkRule

A rule governing the accessibility from a specific virtual network.

Type Aliases

AbusePenaltyAction

The action of AbusePenalty.
KnownAbusePenaltyAction can be used interchangeably with AbusePenaltyAction, this enum contains the known values that the service supports.

Known values supported by the service

Throttle
Block

ActionType

Extensible enum. Indicates the action type. "Internal" refers to actions that are for internal only APIs.
KnownActionType can be used interchangeably with ActionType, this enum contains the known values that the service supports.

Known values supported by the service

Internal: Actions are for internal-only APIs.

AgentDeploymentPropertiesUnion

Alias for AgentDeploymentPropertiesUnion

AgentDeploymentProvisioningState

Provisioning state of an agentic deployment, as an Azure resource.
KnownAgentDeploymentProvisioningState can be used interchangeably with AgentDeploymentProvisioningState, this enum contains the known values that the service supports.

Known values supported by the service

Succeeded: The deployment was successfully completed.
Failed: The deployment failed.
Canceled: The deployment was canceled.
Creating: The deployment is being created.
Updating: The deployment is being updated.
Deleting: The deployment is being deleted.

AgentDeploymentState

Current operational state of the agentic functionality represented by this deployment.
KnownAgentDeploymentState can be used interchangeably with AgentDeploymentState, this enum contains the known values that the service supports.

Known values supported by the service

Starting: The deployment is starting.
Running: The deployment started/is operational.
Stopping: The deployment is being stopped.
Stopped: The deployment was stopped.
Failed: The deployment failed.
Deleting: The deployment is being deleted.
Deleted: The deployment was deleted.
Updating: The deployment is being updated.

AgentDeploymentType

Specifies the type of deployment for an agent, indicating how the underlying compute and network infrastructure is managed.
KnownAgentDeploymentType can be used interchangeably with AgentDeploymentType, this enum contains the known values that the service supports.

Known values supported by the service

Managed: The underlying infra is managed by the platform in the deployer's subscription
Hosted: The underlying infra is owned by the platform
Custom: The underlying infra is provisioned by the deployer (BYO)

AgentProtocol

Protocol used by the agent/exposed by a deployment.
KnownAgentProtocol can be used interchangeably with AgentProtocol, this enum contains the known values that the service supports.

Known values supported by the service

Agent: Agent protocol (aka Active)
A2A: Agent2Agent standard
Responses: OpenAI-compatible

AgenticApplicationProvisioningState

Provisioning state of an agentic application.
KnownAgenticApplicationProvisioningState can be used interchangeably with AgenticApplicationProvisioningState, this enum contains the known values that the service supports.

Known values supported by the service

Succeeded: The application was successfully provisioned.
Failed: The application provisioning failed.
Canceled: The application provisioning was canceled.
Creating: The application is being created.
Updating: The application is being updated.
Deleting: The application is being deleted.

ApplicationAuthorizationPolicyUnion

Alias for ApplicationAuthorizationPolicyUnion

AzureSupportedClouds

The supported values for cloud setting as a string literal type

BuiltInAuthorizationScheme

Authorization scheme type.
KnownBuiltInAuthorizationScheme can be used interchangeably with BuiltInAuthorizationScheme, this enum contains the known values that the service supports.

Known values supported by the service

Default: Standard AzureML RBAC
OrganizationScope: Claim-based, requires membership in the tenant
Channels: Channels-specific (AzureBotService) authorization
Custom: Custom scheme defined by the application author

ByPassSelection

Setting for trusted services.
KnownByPassSelection can be used interchangeably with ByPassSelection, this enum contains the known values that the service supports.

Known values supported by the service

None
AzureServices

CapabilityHostKind

Type of CapabilityHostKind

CapabilityHostProvisioningState

Provisioning state of capability host.
KnownCapabilityHostProvisioningState can be used interchangeably with CapabilityHostProvisioningState, this enum contains the known values that the service supports.

Known values supported by the service

Succeeded
Failed
Canceled
Creating
Updating
Deleting

CommitmentPlanProvisioningState

Gets the status of the resource at the time the operation was called.
KnownCommitmentPlanProvisioningState can be used interchangeably with CommitmentPlanProvisioningState, this enum contains the known values that the service supports.

Known values supported by the service

Accepted
Creating
Deleting
Moving
Failed
Succeeded
Canceled

ConnectionAuthType

Authentication type of the connection target
KnownConnectionAuthType can be used interchangeably with ConnectionAuthType, this enum contains the known values that the service supports.

Known values supported by the service

PAT
ManagedIdentity
UsernamePassword
None
SAS
AccountKey
ServicePrincipal
AccessKey
ApiKey
CustomKeys
OAuth2
AAD
DelegatedSAS
ProjectManagedIdentity
AccountManagedIdentity
UserEntraToken
AgentUserImpersonation
AgenticIdentityToken
AgenticUser

ConnectionCategory

Category of the connection
KnownConnectionCategory can be used interchangeably with ConnectionCategory, this enum contains the known values that the service supports.

Known values supported by the service

PythonFeed
ContainerRegistry
Git
S3
Snowflake
AzureKeyVault
AzureSqlDb
AzureSynapseAnalytics
AzureMySqlDb
AzurePostgresDb
ADLSGen2
AzureContainerAppEnvironment
Redis
ApiKey
AzureOpenAI
AIServices
CognitiveSearch
CognitiveService
CustomKeys
AzureBlob
AzureStorageAccount
AzureOneLake
CosmosDb
CosmosDbMongoDbApi
AzureDataExplorer
AzureMariaDb
AzureDatabricksDeltaLake
AzureSqlMi
AzureTableStorage
AmazonRdsForOracle
AmazonRdsForSqlServer
AmazonRedshift
Db2
Drill
GoogleBigQuery
Greenplum
Hbase
Hive
Impala
Informix
MariaDb
MicrosoftAccess
MySql
Netezza
Oracle
Phoenix
PostgreSql
Presto
SapOpenHub
SapBw
SapHana
SapTable
Spark
SqlServer
Sybase
Teradata
Vertica
Pinecone
Databricks
Cassandra
Couchbase
MongoDbV2
MongoDbAtlas
AmazonS3Compatible
FileServer
FtpServer
GoogleCloudStorage
Hdfs
OracleCloudStorage
Sftp
GenericHttp
ODataRest
Odbc
GenericRest
RemoteTool
AmazonMws
Concur
Dynamics
DynamicsAx
DynamicsCrm
GoogleAdWords
Hubspot
Jira
Magento
Marketo
Office365
Eloqua
Responsys
OracleServiceCloud
PayPal
QuickBooks
Salesforce
SalesforceServiceCloud
SalesforceMarketingCloud
SapCloudForCustomer
SapEcc
ServiceNow
SharePointOnlineList
Shopify
Square
WebTable
Xero
Zoho
GenericContainerRegistry
Elasticsearch
AppInsights
AppConfig
OpenAI
Serp
BingLLMSearch
Serverless
ManagedOnlineEndpoint
ApiManagement
ModelGateway
GroundingWithBingSearch
GroundingWithCustomSearch
Sharepoint
MicrosoftFabric
PowerPlatformEnvironment
RemoteA2A

ConnectionGroup

Group based on connection category
KnownConnectionGroup can be used interchangeably with ConnectionGroup, this enum contains the known values that the service supports.

Known values supported by the service

Azure
AzureAI
Database
NoSQL
File
GenericProtocol
ServicesAndApps

ConnectionPropertiesV2Union

Alias for ConnectionPropertiesV2Union

ContentLevel

Level at which content is filtered.
KnownContentLevel can be used interchangeably with ContentLevel, this enum contains the known values that the service supports.

Known values supported by the service

Low
Medium
High

ContinuablePage

An interface that describes a page of results.

CreatedByType

The kind of entity that created the resource.
KnownCreatedByType can be used interchangeably with CreatedByType, this enum contains the known values that the service supports.

Known values supported by the service

User: The entity was created by a user.
Application: The entity was created by an application.
ManagedIdentity: The entity was created by a managed identity.
Key: The entity was created by a key.

DefenderForAISettingState

Defender for AI state on the AI resource.
KnownDefenderForAISettingState can be used interchangeably with DefenderForAISettingState, this enum contains the known values that the service supports.

Known values supported by the service

Disabled
Enabled

DeploymentModelVersionUpgradeOption

Deployment model version upgrade option.
KnownDeploymentModelVersionUpgradeOption can be used interchangeably with DeploymentModelVersionUpgradeOption, this enum contains the known values that the service supports.

Known values supported by the service

OnceNewDefaultVersionAvailable
OnceCurrentVersionExpired
NoAutoUpgrade

DeploymentProvisioningState

Gets the status of the resource at the time the operation was called.
KnownDeploymentProvisioningState can be used interchangeably with DeploymentProvisioningState, this enum contains the known values that the service supports.

Known values supported by the service

Accepted
Creating
Deleting
Moving
Failed
Succeeded
Disabled
Canceled

DeploymentScaleType

Deployment scale type.
KnownDeploymentScaleType can be used interchangeably with DeploymentScaleType, this enum contains the known values that the service supports.

Known values supported by the service

Standard
Manual

DeploymentState

The state of the deployment. Controls whether the deployment is accepting inference requests. Use 'Running' for active deployments that process requests, or 'Paused' to temporarily stop inference while preserving the deployment configuration.
KnownDeploymentState can be used interchangeably with DeploymentState, this enum contains the known values that the service supports.

Known values supported by the service

Running: The deployment is running and accepting inference requests.
Paused: The deployment is paused and not accepting inference requests.

DeprecationStatus

Indicates whether the deprecation date is a confirmed planned end-of-life date or an estimated deprecation date. When 'Planned', the deprecation date represents a confirmed and communicated model end-of-life date. When 'Tentative', the deprecation date is an estimated timeline that may be subject to change.
KnownDeprecationStatus can be used interchangeably with DeprecationStatus, this enum contains the known values that the service supports.

Known values supported by the service

Planned
Tentative

EncryptionScopeProvisioningState

Gets the status of the resource at the time the operation was called.
KnownEncryptionScopeProvisioningState can be used interchangeably with EncryptionScopeProvisioningState, this enum contains the known values that the service supports.

Known values supported by the service

Accepted
Creating
Deleting
Moving
Failed
Succeeded
Canceled

EncryptionScopeState

The encryptionScope state.
KnownEncryptionScopeState can be used interchangeably with EncryptionScopeState, this enum contains the known values that the service supports.

Known values supported by the service

Disabled
Enabled

FirewallSku

Firewall Sku used for FQDN Rules
KnownFirewallSku can be used interchangeably with FirewallSku, this enum contains the known values that the service supports.

Known values supported by the service

Standard
Basic

HostingModel

Account hosting model.
KnownHostingModel can be used interchangeably with HostingModel, this enum contains the known values that the service supports.

Known values supported by the service

Web
ConnectedContainer
DisconnectedContainer
ProvisionedWeb

IdentityKind

Specifies the kind of Entra identity described by this object.
KnownIdentityKind can be used interchangeably with IdentityKind, this enum contains the known values that the service supports.

Known values supported by the service

AgentBlueprint: Represents a class identity, used for agentic applications.
AgentInstance: Represents an instance identity.
AgenticUser: Represents an agentic instance identity with user-like traits.
Managed: Represents a classic managed identity.
None: No identity.

IdentityManagementType

Enumeration of identity types, from the perspective of management.
KnownIdentityManagementType can be used interchangeably with IdentityManagementType, this enum contains the known values that the service supports.

Known values supported by the service

System: Platform-managed identity.
User: User-managed identity.
None: No identity.

IdentityProvisioningState

Represents the provisioning state of an identity resource.
KnownIdentityProvisioningState can be used interchangeably with IdentityProvisioningState, this enum contains the known values that the service supports.

Known values supported by the service

Creating: Identity is being created.
Updating: Identity is being updated.
Succeeded: Identity has been successfully provisioned.
Failed: Identity provisioning has failed.
Canceled: Identity provisioning has been canceled.
Deleting: Identity is being deleted.

IsolationMode

Isolation mode for the managed network of a cognitive services account.
KnownIsolationMode can be used interchangeably with IsolationMode, this enum contains the known values that the service supports.

Known values supported by the service

Disabled
AllowInternetOutbound
AllowOnlyApprovedOutbound

KeyName

key name to generate (Key1|Key2)

KeySource

Enumerates the possible value of keySource for Encryption
KnownKeySource can be used interchangeably with KeySource, this enum contains the known values that the service supports.

Known values supported by the service

Microsoft.CognitiveServices
Microsoft.KeyVault

ManagedNetworkKind

The Kind of the managed network. Users can switch from V1 to V2 for granular access controls, but cannot switch back to V1 once V2 is enabled.
KnownManagedNetworkKind can be used interchangeably with ManagedNetworkKind, this enum contains the known values that the service supports.

Known values supported by the service

V1
V2

ManagedNetworkProvisioningState

Type of ManagedNetworkProvisioningState

ManagedNetworkStatus

Status for the managed network of a cognitive services account.
KnownManagedNetworkStatus can be used interchangeably with ManagedNetworkStatus, this enum contains the known values that the service supports.

Known values supported by the service

Inactive
Active

ManagedPERequirement

Type of ManagedPERequirement

ManagedPEStatus

Type of ManagedPEStatus

ModelLifecycleStatus

Model lifecycle status.
KnownModelLifecycleStatus can be used interchangeably with ModelLifecycleStatus, this enum contains the known values that the service supports.

Known values supported by the service

Stable: Legacy state. Replaced with GenerallyAvailable going forward.
Preview: Model is in preview and may be subject to changes.
GenerallyAvailable: Model is generally available for production use.
Deprecating: Model is being deprecated and will be removed in the future. Only customers with existing deployments can create new deployments with this model.
Deprecated: Model has been deprecated, also known as retired, and is no longer supported. Inference calls to deployments of models in this lifecycle state will return 410 errors.
Legacy: Model is a legacy version that is no longer recommended for use. Customers should migrate to newer models. Check replacementConfig for upgrade information.

NetworkRuleAction

The default action when no rule from ipRules and from virtualNetworkRules match. This is only used after the bypass property has been evaluated.
KnownNetworkRuleAction can be used interchangeably with NetworkRuleAction, this enum contains the known values that the service supports.

Known values supported by the service

Allow
Deny

NspAccessRuleDirection

Direction of Access Rule
KnownNspAccessRuleDirection can be used interchangeably with NspAccessRuleDirection, this enum contains the known values that the service supports.

Known values supported by the service

Inbound
Outbound

Origin

The intended executor of the operation; as in Resource Based Access Control (RBAC) and audit logs UX. Default value is "user,system"
KnownOrigin can be used interchangeably with Origin, this enum contains the known values that the service supports.

Known values supported by the service

user: Indicates the operation is initiated by a user.
system: Indicates the operation is initiated by a system.
user,system: Indicates the operation is initiated by a user or system.

OutboundRuleUnion

Alias for OutboundRuleUnion

PrivateEndpointConnectionProvisioningState

The current provisioning state.
KnownPrivateEndpointConnectionProvisioningState can be used interchangeably with PrivateEndpointConnectionProvisioningState, this enum contains the known values that the service supports.

Known values supported by the service

Succeeded: Connection has been provisioned
Creating: Connection is being created
Deleting: Connection is being deleted
Failed: Connection provisioning has failed

PrivateEndpointServiceConnectionStatus

The private endpoint connection status.
KnownPrivateEndpointServiceConnectionStatus can be used interchangeably with PrivateEndpointServiceConnectionStatus, this enum contains the known values that the service supports.

Known values supported by the service

Pending: Connection waiting for approval or rejection
Approved: Connection approved
Rejected: Connection Rejected

ProvisioningState

Gets the status of the cognitive services account at the time the operation was called.
KnownProvisioningState can be used interchangeably with ProvisioningState, this enum contains the known values that the service supports.

Known values supported by the service

Accepted
Creating
Deleting
Moving
Failed
Succeeded
Canceled
ResolvingDNS

PublicNetworkAccess

Whether or not public endpoint access is allowed for this account.
KnownPublicNetworkAccess can be used interchangeably with PublicNetworkAccess, this enum contains the known values that the service supports.

Known values supported by the service

Enabled
Disabled

QuotaScopeType

The quota scope that determines the level at which the quota is applied.
KnownQuotaScopeType can be used interchangeably with QuotaScopeType, this enum contains the known values that the service supports.

Known values supported by the service

Regional
Global
DataZone
Classic

QuotaUsageStatus

Cognitive Services account quota usage status.
KnownQuotaUsageStatus can be used interchangeably with QuotaUsageStatus, this enum contains the known values that the service supports.

Known values supported by the service

Included
Blocked
InOverage
Unknown

RaiActionType

The action types to apply to the content filters
KnownRaiActionType can be used interchangeably with RaiActionType, this enum contains the known values that the service supports.

Known values supported by the service

None
BLOCKING
ANNOTATING
HITL
RETRY

RaiEgressDefaultAction

The default action when no user-defined egress rules match.
KnownRaiEgressDefaultAction can be used interchangeably with RaiEgressDefaultAction, this enum contains the known values that the service supports.

Known values supported by the service

Allow: Allow traffic by default when no rules match.
Deny: Deny traffic by default when no rules match.

RaiEgressHeaderOperation

The operation to apply to a header in a Transform or Rewrite action.
KnownRaiEgressHeaderOperation can be used interchangeably with RaiEgressHeaderOperation, this enum contains the known values that the service supports.

Known values supported by the service

Set: Set or overwrite the header value, creating it if it does not exist.
Insert: Add the header only if it is not already present.
Remove: Remove the header if present.

RaiEgressMode

The enforcement mode for egress rules. If omitted on create, the server defaults to Enforced.
KnownRaiEgressMode can be used interchangeably with RaiEgressMode, this enum contains the known values that the service supports.

Known values supported by the service

Enforced: Rules are enforced. Matching traffic is allowed or denied per rule actions.
Audit: Rules are evaluated and logged but not enforced. Traffic is always forwarded regardless of rule action. A would-be Deny is logged but not applied. Transform and Rewrite actions are still applied to matching traffic (only Deny enforcement is suppressed).

RaiEgressRuleActionType

The kind of action an egress rule takes when it matches.
KnownRaiEgressRuleActionType can be used interchangeably with RaiEgressRuleActionType, this enum contains the known values that the service supports.

Known values supported by the service

Allow: Allow the matched traffic.
Deny: Deny the matched traffic.
Transform: Forward the matched traffic after applying header transforms. Requires at least one header.
Rewrite: Redirect the matched traffic to a new destination, optionally applying header transforms. Requires a rewrite target.

RaiEgressRuleType

The type of an egress rule, determining what kind of traffic matching it performs.
KnownRaiEgressRuleType can be used interchangeably with RaiEgressRuleType, this enum contains the known values that the service supports.

Known values supported by the service

Fqdn: Fully qualified domain name (FQDN) based rule matching on host and path patterns.

RaiEgressScheme

URL scheme for rewrite targets. Only HTTP and HTTPS are supported.
KnownRaiEgressScheme can be used interchangeably with RaiEgressScheme, this enum contains the known values that the service supports.

Known values supported by the service

http: HTTP scheme.
https: HTTPS scheme.

RaiPolicyContentSource

Content source to apply the Content Filters.
KnownRaiPolicyContentSource can be used interchangeably with RaiPolicyContentSource, this enum contains the known values that the service supports.

Known values supported by the service

Prompt
Completion
PreToolCall
PostToolCall
PreRun
PostRun

RaiPolicyMode

Rai policy mode. The enum value mapping is as below: Default = 0, Deferred=1, Blocking=2, Asynchronous_filter =3. Please use 'Asynchronous_filter' after 2025-06-01. It is the same as 'Deferred' in previous version.
KnownRaiPolicyMode can be used interchangeably with RaiPolicyMode, this enum contains the known values that the service supports.

Known values supported by the service

Default
Deferred
Blocking
Asynchronous_filter

RaiPolicyType

Content Filters policy type.
KnownRaiPolicyType can be used interchangeably with RaiPolicyType, this enum contains the known values that the service supports.

Known values supported by the service

UserManaged
SystemManaged

ResourceIdentityType

The identity type.

ResourceSkuRestrictionsReasonCode

The reason for restriction.
KnownResourceSkuRestrictionsReasonCode can be used interchangeably with ResourceSkuRestrictionsReasonCode, this enum contains the known values that the service supports.

Known values supported by the service

QuotaId
NotAvailableForSubscription

ResourceSkuRestrictionsType

The type of restrictions.

RoutingMethods

Multiregion routing methods.
KnownRoutingMethods can be used interchangeably with RoutingMethods, this enum contains the known values that the service supports.

Known values supported by the service

Priority
Weighted
Performance

RoutingMode

The model-router routing mode that determines how requests are distributed across models.
KnownRoutingMode can be used interchangeably with RoutingMode, this enum contains the known values that the service supports.

Known values supported by the service

cost: Route requests to minimize cost while meeting performance requirements.
balanced: Balance cost and quality when routing requests across models.
quality: Route requests to maximize quality regardless of cost.

RuleAction

The action enum for a managed network outbound rule.
KnownRuleAction can be used interchangeably with RuleAction, this enum contains the known values that the service supports.

Known values supported by the service

Allow
Deny

RuleCategory

Category of a managed network Outbound Rule of a cognitive services account.
KnownRuleCategory can be used interchangeably with RuleCategory, this enum contains the known values that the service supports.

Known values supported by the service

Required
Recommended
UserDefined
Dependency

RuleStatus

Type of a managed network Outbound Rule of a cognitive services account.
KnownRuleStatus can be used interchangeably with RuleStatus, this enum contains the known values that the service supports.

Known values supported by the service

Inactive
Active
Provisioning
Deleting
Failed

RuleType

Type of a managed network Outbound Rule of a cognitive services account.
KnownRuleType can be used interchangeably with RuleType, this enum contains the known values that the service supports.

Known values supported by the service

FQDN
PrivateEndpoint
ServiceTag

ScenarioType

Specifies what features in AI Foundry network injection applies to. Currently only supports 'agent' for agent scenarios. 'none' means no network injection.
KnownScenarioType can be used interchangeably with ScenarioType, this enum contains the known values that the service supports.

Known values supported by the service

none
agent

ServiceTier

The service tier for the deployment. Determines the pricing and performance level for request processing. Use 'Default' for standard pricing or 'Priority' for higher-priority processing with premium pricing. Note: Pause operations are only supported on Standard, DataZoneStandard, and GlobalStandard SKUs.
KnownServiceTier can be used interchangeably with ServiceTier, this enum contains the known values that the service supports.

Known values supported by the service

Default: Default service tier meaning the request will be processed with the standard pricing and performance for the selected model.
Priority: Priority service tier meaning the request will be processed with higher pricing and performance for the selected model.

SkuTier

This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT.
KnownSkuTier can be used interchangeably with SkuTier, this enum contains the known values that the service supports.

Known values supported by the service

Free
Basic
Standard
Premium
Enterprise

TierUpgradePolicy

Gets the tier upgrade policy for the subscription.
KnownTierUpgradePolicy can be used interchangeably with TierUpgradePolicy, this enum contains the known values that the service supports.

Known values supported by the service

OnceUpgradeIsAvailable
NoAutoUpgrade

TrafficRoutingProtocol

Traffic routing protocol, used to distribute an application's inbound traffic to its deployments.
KnownTrafficRoutingProtocol can be used interchangeably with TrafficRoutingProtocol, this enum contains the known values that the service supports.

Known values supported by the service

FixedRatio: Percentage based routing

TrustedCertificateSourceType

Type of Azure resource containing trusted CA certificate bundles.
KnownTrustedCertificateSourceType can be used interchangeably with TrustedCertificateSourceType, this enum contains the known values that the service supports.

Known values supported by the service

AzureKeyVault: Azure Key Vault secrets containing CA certificates or certificate bundles.

UnitType

The unit of the metric.
KnownUnitType can be used interchangeably with UnitType, this enum contains the known values that the service supports.

Known values supported by the service

Count
Bytes
Seconds
Percent
CountPerSecond
BytesPerSecond
Milliseconds

UpgradeAvailabilityStatus

Specifies whether an upgrade to the next quota tier is available.
KnownUpgradeAvailabilityStatus can be used interchangeably with UpgradeAvailabilityStatus, this enum contains the known values that the service supports.

Known values supported by the service

Available
NotAvailable

Enums

AzureClouds

An enum to describe Azure Cloud environments.

KnownAbusePenaltyAction

The action of AbusePenalty.

KnownActionType

Extensible enum. Indicates the action type. "Internal" refers to actions that are for internal only APIs.

KnownAgentDeploymentProvisioningState

Provisioning state of an agentic deployment, as an Azure resource.

KnownAgentDeploymentState

Current operational state of the agentic functionality represented by this deployment.

KnownAgentDeploymentType

Specifies the type of deployment for an agent, indicating how the underlying compute and network infrastructure is managed.

KnownAgenticApplicationProvisioningState

Provisioning state of an agentic application.

KnownAgentProtocol

Protocol used by the agent/exposed by a deployment.

KnownBuiltInAuthorizationScheme

Authorization scheme type.

KnownByPassSelection

Setting for trusted services.

KnownCapabilityHostKind

Known values of CapabilityHostKind that the service accepts.

KnownCapabilityHostProvisioningState

Provisioning state of capability host.

KnownCommitmentPlanProvisioningState

Gets the status of the resource at the time the operation was called.

KnownConnectionAuthType

Authentication type of the connection target

KnownConnectionCategory

Category of the connection

KnownConnectionGroup

Group based on connection category

KnownContentLevel

Level at which content is filtered.

KnownCreatedByType

The kind of entity that created the resource.

KnownDefenderForAISettingState

Defender for AI state on the AI resource.

KnownDeploymentModelVersionUpgradeOption

Deployment model version upgrade option.

KnownDeploymentProvisioningState

Gets the status of the resource at the time the operation was called.

KnownDeploymentScaleType

Deployment scale type.

KnownDeploymentState

The state of the deployment. Controls whether the deployment is accepting inference requests. Use 'Running' for active deployments that process requests, or 'Paused' to temporarily stop inference while preserving the deployment configuration.

KnownDeprecationStatus

Indicates whether the deprecation date is a confirmed planned end-of-life date or an estimated deprecation date. When 'Planned', the deprecation date represents a confirmed and communicated model end-of-life date. When 'Tentative', the deprecation date is an estimated timeline that may be subject to change.

KnownEncryptionScopeProvisioningState

Gets the status of the resource at the time the operation was called.

KnownEncryptionScopeState

The encryptionScope state.

KnownFirewallSku

Firewall Sku used for FQDN Rules

KnownHostingModel

Account hosting model.

KnownIdentityKind

Specifies the kind of Entra identity described by this object.

KnownIdentityManagementType

Enumeration of identity types, from the perspective of management.

KnownIdentityProvisioningState

Represents the provisioning state of an identity resource.

KnownIsolationMode

Isolation mode for the managed network of a cognitive services account.

KnownKeySource

Enumerates the possible value of keySource for Encryption

KnownManagedNetworkKind

The Kind of the managed network. Users can switch from V1 to V2 for granular access controls, but cannot switch back to V1 once V2 is enabled.

KnownManagedNetworkProvisioningState

Known values of ManagedNetworkProvisioningState that the service accepts.

KnownManagedNetworkStatus

Status for the managed network of a cognitive services account.

KnownManagedPERequirement

Known values of ManagedPERequirement that the service accepts.

KnownManagedPEStatus

Known values of ManagedPEStatus that the service accepts.

KnownModelLifecycleStatus

Model lifecycle status.

KnownNetworkRuleAction

The default action when no rule from ipRules and from virtualNetworkRules match. This is only used after the bypass property has been evaluated.

KnownNspAccessRuleDirection

Direction of Access Rule

KnownOrigin

The intended executor of the operation; as in Resource Based Access Control (RBAC) and audit logs UX. Default value is "user,system"

KnownPrivateEndpointConnectionProvisioningState

The current provisioning state.

KnownPrivateEndpointServiceConnectionStatus

The private endpoint connection status.

KnownProvisioningState

Gets the status of the cognitive services account at the time the operation was called.

KnownPublicNetworkAccess

Whether or not public endpoint access is allowed for this account.

KnownQuotaScopeType

The quota scope that determines the level at which the quota is applied.

KnownQuotaUsageStatus

Cognitive Services account quota usage status.

KnownRaiActionType

The action types to apply to the content filters

KnownRaiEgressDefaultAction

The default action when no user-defined egress rules match.

KnownRaiEgressHeaderOperation

The operation to apply to a header in a Transform or Rewrite action.

KnownRaiEgressMode

The enforcement mode for egress rules. If omitted on create, the server defaults to Enforced.

KnownRaiEgressRuleActionType

The kind of action an egress rule takes when it matches.

KnownRaiEgressRuleType

The type of an egress rule, determining what kind of traffic matching it performs.

KnownRaiEgressScheme

URL scheme for rewrite targets. Only HTTP and HTTPS are supported.

KnownRaiPolicyContentSource

Content source to apply the Content Filters.

KnownRaiPolicyMode

Rai policy mode. The enum value mapping is as below: Default = 0, Deferred=1, Blocking=2, Asynchronous_filter =3. Please use 'Asynchronous_filter' after 2025-06-01. It is the same as 'Deferred' in previous version.

KnownRaiPolicyType

Content Filters policy type.

KnownResourceSkuRestrictionsReasonCode

The reason for restriction.

KnownRoutingMethods

Multiregion routing methods.

KnownRoutingMode

The model-router routing mode that determines how requests are distributed across models.

KnownRuleAction

The action enum for a managed network outbound rule.

KnownRuleCategory

Category of a managed network Outbound Rule of a cognitive services account.

KnownRuleStatus

Type of a managed network Outbound Rule of a cognitive services account.

KnownRuleType

Type of a managed network Outbound Rule of a cognitive services account.

KnownScenarioType

Specifies what features in AI Foundry network injection applies to. Currently only supports 'agent' for agent scenarios. 'none' means no network injection.

KnownServiceTier

The service tier for the deployment. Determines the pricing and performance level for request processing. Use 'Default' for standard pricing or 'Priority' for higher-priority processing with premium pricing. Note: Pause operations are only supported on Standard, DataZoneStandard, and GlobalStandard SKUs.

KnownSkuTier

This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT.

KnownTierUpgradePolicy

Gets the tier upgrade policy for the subscription.

KnownTrafficRoutingProtocol

Traffic routing protocol, used to distribute an application's inbound traffic to its deployments.

KnownTrustedCertificateSourceType

Type of Azure resource containing trusted CA certificate bundles.

KnownUnitType

The unit of the metric.

KnownUpgradeAvailabilityStatus

Specifies whether an upgrade to the next quota tier is available.

KnownVersions

The available API versions.

Functions

isRestError(unknown)

Typeguard for RestError

restorePoller<TResponse, TResult>(CognitiveServicesManagementClient, string, (args: any[]) => PollerLike<OperationState<TResult>, TResult>, RestorePollerOptions<TResult, PathUncheckedResponse>)

Creates a poller from the serialized state of another poller. This can be useful when you want to create pollers on a different host or a poller needs to be constructed after the original one is not in scope.

Variables

RestError

A custom error type for failed pipeline requests.

Function Details

isRestError(unknown)

Typeguard for RestError

function isRestError(e: unknown): e is RestError

Parameters

e

unknown

Something caught by a catch clause.

Returns

e is RestError

restorePoller<TResponse, TResult>(CognitiveServicesManagementClient, string, (args: any[]) => PollerLike<OperationState<TResult>, TResult>, RestorePollerOptions<TResult, PathUncheckedResponse>)

Creates a poller from the serialized state of another poller. This can be useful when you want to create pollers on a different host or a poller needs to be constructed after the original one is not in scope.

function restorePoller<TResponse, TResult>(client: CognitiveServicesManagementClient, serializedState: string, sourceOperation: (args: any[]) => PollerLike<OperationState<TResult>, TResult>, options?: RestorePollerOptions<TResult, PathUncheckedResponse>): PollerLike<OperationState<TResult>, TResult>

Parameters

serializedState

string

sourceOperation

(args: any[]) => PollerLike<OperationState<TResult>, TResult>

Returns

PollerLike<OperationState<TResult>, TResult>

Variable Details

RestError

A custom error type for failed pipeline requests.

RestError: RestErrorConstructor

Type