@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.
|
| 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. Known values supported by the serviceThrottle |
| ActionType |
Extensible enum. Indicates the action type. "Internal" refers to actions that are for internal only APIs. Known values supported by the serviceInternal: Actions are for internal-only APIs. |
| AgentDeploymentPropertiesUnion |
Alias for AgentDeploymentPropertiesUnion |
| AgentDeploymentProvisioningState |
Provisioning state of an agentic deployment, as an Azure resource. Known values supported by the serviceSucceeded: The deployment was successfully completed. |
| AgentDeploymentState |
Current operational state of the agentic functionality represented by this deployment. Known values supported by the serviceStarting: The deployment is starting. |
| AgentDeploymentType |
Specifies the type of deployment for an agent, indicating how the underlying compute and network infrastructure is managed. Known values supported by the serviceManaged: The underlying infra is managed by the platform in the deployer's subscription |
| AgentProtocol |
Protocol used by the agent/exposed by a deployment. Known values supported by the serviceAgent: Agent protocol (aka Active) |
| AgenticApplicationProvisioningState |
Provisioning state of an agentic application. Known values supported by the serviceSucceeded: The application was successfully provisioned. |
| ApplicationAuthorizationPolicyUnion |
Alias for ApplicationAuthorizationPolicyUnion |
| AzureSupportedClouds |
The supported values for cloud setting as a string literal type |
| BuiltInAuthorizationScheme |
Authorization scheme type. Known values supported by the serviceDefault: Standard AzureML RBAC |
| ByPassSelection |
Setting for trusted services. Known values supported by the serviceNone |
| CapabilityHostKind |
Type of CapabilityHostKind |
| CapabilityHostProvisioningState |
Provisioning state of capability host. Known values supported by the serviceSucceeded |
| CommitmentPlanProvisioningState |
Gets the status of the resource at the time the operation was called. Known values supported by the serviceAccepted |
| ConnectionAuthType |
Authentication type of the connection target Known values supported by the servicePAT |
| ConnectionCategory |
Category of the connection Known values supported by the servicePythonFeed |
| ConnectionGroup |
Group based on connection category Known values supported by the serviceAzure |
| ConnectionPropertiesV2Union |
Alias for ConnectionPropertiesV2Union |
| ContentLevel |
Level at which content is filtered. Known values supported by the serviceLow |
| ContinuablePage |
An interface that describes a page of results. |
| CreatedByType |
The kind of entity that created the resource. Known values supported by the serviceUser: The entity was created by a user. |
| DefenderForAISettingState |
Defender for AI state on the AI resource. Known values supported by the serviceDisabled |
| DeploymentModelVersionUpgradeOption |
Deployment model version upgrade option. Known values supported by the serviceOnceNewDefaultVersionAvailable |
| DeploymentProvisioningState |
Gets the status of the resource at the time the operation was called. Known values supported by the serviceAccepted |
| DeploymentScaleType |
Deployment scale type. Known values supported by the serviceStandard |
| 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. Known values supported by the serviceRunning: The deployment is running and 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. Known values supported by the servicePlanned |
| EncryptionScopeProvisioningState |
Gets the status of the resource at the time the operation was called. Known values supported by the serviceAccepted |
| EncryptionScopeState |
The encryptionScope state. Known values supported by the serviceDisabled |
| FirewallSku |
Firewall Sku used for FQDN Rules Known values supported by the serviceStandard |
| HostingModel |
Account hosting model. Known values supported by the serviceWeb |
| IdentityKind |
Specifies the kind of Entra identity described by this object. Known values supported by the serviceAgentBlueprint: Represents a class identity, used for agentic applications. |
| IdentityManagementType |
Enumeration of identity types, from the perspective of management. Known values supported by the serviceSystem: Platform-managed identity. |
| IdentityProvisioningState |
Represents the provisioning state of an identity resource. Known values supported by the serviceCreating: Identity is being created. |
| IsolationMode |
Isolation mode for the managed network of a cognitive services account. Known values supported by the serviceDisabled |
| KeyName |
key name to generate (Key1|Key2) |
| KeySource |
Enumerates the possible value of keySource for Encryption Known values supported by the serviceMicrosoft.CognitiveServices |
| 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. Known values supported by the serviceV1 |
| ManagedNetworkProvisioningState |
Type of ManagedNetworkProvisioningState |
| ManagedNetworkStatus |
Status for the managed network of a cognitive services account. Known values supported by the serviceInactive |
| ManagedPERequirement |
Type of ManagedPERequirement |
| ManagedPEStatus |
Type of ManagedPEStatus |
| ModelLifecycleStatus |
Model lifecycle status. Known values supported by the serviceStable: Legacy state. Replaced with GenerallyAvailable going forward. |
| NetworkRuleAction |
The default action when no rule from ipRules and from virtualNetworkRules match. This is only used after the bypass property has been evaluated. Known values supported by the serviceAllow |
| NspAccessRuleDirection |
Direction of Access Rule Known values supported by the serviceInbound |
| Origin |
The intended executor of the operation; as in Resource Based Access Control (RBAC) and audit logs UX. Default value is "user,system" Known values supported by the serviceuser: Indicates the operation is initiated by a user. |
| OutboundRuleUnion |
Alias for OutboundRuleUnion |
| PrivateEndpointConnectionProvisioningState |
The current provisioning state. Known values supported by the serviceSucceeded: Connection has been provisioned |
| PrivateEndpointServiceConnectionStatus |
The private endpoint connection status. Known values supported by the servicePending: Connection waiting for approval or rejection |
| ProvisioningState |
Gets the status of the cognitive services account at the time the operation was called. Known values supported by the serviceAccepted |
| PublicNetworkAccess |
Whether or not public endpoint access is allowed for this account. Known values supported by the serviceEnabled |
| QuotaScopeType |
The quota scope that determines the level at which the quota is applied. Known values supported by the serviceRegional |
| QuotaUsageStatus |
Cognitive Services account quota usage status. Known values supported by the serviceIncluded |
| RaiActionType |
The action types to apply to the content filters Known values supported by the serviceNone |
| RaiEgressDefaultAction |
The default action when no user-defined egress rules match. Known values supported by the serviceAllow: Allow traffic by default when no rules match. |
| RaiEgressHeaderOperation |
The operation to apply to a header in a Transform or Rewrite action. Known values supported by the serviceSet: Set or overwrite the header value, creating it if it does not exist. |
| RaiEgressMode |
The enforcement mode for egress rules.
If omitted on create, the server defaults to Enforced. Known values supported by the serviceEnforced: Rules are enforced. Matching traffic is allowed or denied per rule actions. |
| RaiEgressRuleActionType |
The kind of action an egress rule takes when it matches. Known values supported by the serviceAllow: Allow the matched traffic. |
| RaiEgressRuleType |
The type of an egress rule, determining what kind of traffic matching it performs. Known values supported by the serviceFqdn: 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. Known values supported by the servicehttp: HTTP scheme. |
| RaiPolicyContentSource |
Content source to apply the Content Filters. Known values supported by the servicePrompt |
| 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. Known values supported by the serviceDefault |
| RaiPolicyType |
Content Filters policy type. Known values supported by the serviceUserManaged |
| ResourceIdentityType |
The identity type. |
| ResourceSkuRestrictionsReasonCode |
The reason for restriction. Known values supported by the serviceQuotaId |
| ResourceSkuRestrictionsType |
The type of restrictions. |
| RoutingMethods |
Multiregion routing methods. Known values supported by the servicePriority |
| RoutingMode |
The model-router routing mode that determines how requests are distributed across models. Known values supported by the servicecost: Route requests to minimize cost while meeting performance requirements. |
| RuleAction |
The action enum for a managed network outbound rule. Known values supported by the serviceAllow |
| RuleCategory |
Category of a managed network Outbound Rule of a cognitive services account. Known values supported by the serviceRequired |
| RuleStatus |
Type of a managed network Outbound Rule of a cognitive services account. Known values supported by the serviceInactive |
| RuleType |
Type of a managed network Outbound Rule of a cognitive services account. Known values supported by the serviceFQDN |
| ScenarioType |
Specifies what features in AI Foundry network injection applies to. Currently only supports 'agent' for agent scenarios. 'none' means no network injection. Known values supported by the servicenone |
| 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. Known values supported by the serviceDefault: Default service tier meaning the request will be processed with the standard 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. Known values supported by the serviceFree |
| TierUpgradePolicy |
Gets the tier upgrade policy for the subscription. Known values supported by the serviceOnceUpgradeIsAvailable |
| TrafficRoutingProtocol |
Traffic routing protocol, used to distribute an application's inbound traffic to its deployments. Known values supported by the serviceFixedRatio: Percentage based routing |
| TrustedCertificateSourceType |
Type of Azure resource containing trusted CA certificate bundles. Known values supported by the serviceAzureKeyVault: Azure Key Vault secrets containing CA certificates or certificate bundles. |
| UnitType |
The unit of the metric. Known values supported by the serviceCount |
| UpgradeAvailabilityStatus |
Specifies whether an upgrade to the next quota tier is available. Known values supported by the serviceAvailable |
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
| is |
Typeguard for RestError |
| restore |
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
| Rest |
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>
- options
-
RestorePollerOptions<TResult, PathUncheckedResponse>
Returns
PollerLike<OperationState<TResult>, TResult>
Variable Details
RestError
A custom error type for failed pipeline requests.
RestError: RestErrorConstructor