Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{

Check notice on line 1 in specification/cognitiveservices/resource-manager/Microsoft.CognitiveServices/preview/2025-07-01-preview/cognitiveservices.json

View workflow job for this annotation

GitHub Actions / TypeSpec Requirement

Your service description will soon be required to convert from OpenAPI to TypeSpec. See https://aka.ms/azsdk/typespec.
"swagger": "2.0",
"info": {
"title": "CognitiveServicesManagementClient",
Expand Down Expand Up @@ -8869,7 +8869,8 @@
"Serp",
"BingLLMSearch",
"Serverless",
"ManagedOnlineEndpoint"
"ManagedOnlineEndpoint",
"AzureStorageAccount"
],
"type": "string",
"x-ms-enum": {
Expand Down

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
{
"parameters": {
"subscriptionId": "00000000-1111-2222-3333-444444444444",
"resourceGroupName": "test-rg",
"accountName": "account-1",
"capabilityHostName": "capabilityHostName",
"api-version": "2025-10-01-preview",
"capabilityHost": {
"properties": {
"customerSubnet": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/myResourceGroups/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubnet"
}
}
},
"responses": {
"200": {
"headers": {},
"body": {
"id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/test-rg/providers/Microsoft.CognitiveServices/accounts/account-1/capabilityHosts/capabilityHostName",
"name": "capabilityHostName",
"type": "Microsoft.CognitiveServices/accounts/capabilityHosts",
"properties": {
"description": "string",
"tags": {
"string": "string"
},
"customerSubnet": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/myResourceGroups/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubne",
"provisioningState": "Succeeded"
}
}
},
"201": {
"headers": {
"Location": "example_location"
},
"body": {
"id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/test-rg/providers/Microsoft.CognitiveServices/accounts/account-1/capabilityHosts/capabilityHostName",
"name": "capabilityHostName",
"type": "Microsoft.CognitiveServices/accounts/capabilityHosts",
"properties": {
"description": "string",
"tags": {
"string": "string"
},
"customerSubnet": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/myResourceGroups/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubne",
"provisioningState": "Succeeded"
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"parameters": {
"subscriptionId": "00000000-1111-2222-3333-444444444444",
"resourceGroupName": "test-rg",
"accountName": "account-1",
"capabilityHostName": "capabilityHostName",
"api-version": "2025-10-01-preview"
},
"responses": {
"202": {
"headers": {
"Location": "location_header_to_poll"
}
},
"204": {}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
{
"parameters": {
"subscriptionId": "00000000-1111-2222-3333-444444444444",
"resourceGroupName": "test-rg",
"accountName": "account-1",
"capabilityHostName": "capabilityHostName",
"api-version": "2025-10-01-preview"
},
"responses": {
"200": {
"headers": {},
"body": {
"id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/test-rg/providers/Microsoft.CognitiveServices/accounts/account-1/capabilityHosts/capabilityHostName",
"name": "capabilityHostName",
"type": "Microsoft.CognitiveServices/accounts/capabilityHosts",
"properties": {
"description": "string",
"tags": {
"string": "string"
},
"customerSubnet": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/myResourceGroups/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubne",
"provisioningState": "Succeeded"
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
{
"parameters": {
"subscriptionId": "00000000-1111-2222-3333-444444444444",
"resourceGroupName": "resourceGroup-1",
"accountName": "account-1",
"connectionName": "connection-1",
"api-version": "2025-10-01-preview",
"connection": {
"properties": {
"category": "ContainerRegistry",
"expiryTime": "2024-03-15T14:30:00Z",
"target": "[tartget url]",
"authType": "None"
}
}
},
"responses": {
"200": {
"body": {
"id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1/providers/Microsoft.CognitiveServices/accounts/account-1/connections/connection-1",
"name": "connection-1",
"type": "Microsoft.CognitiveServices/accounts/connections",
"properties": {
"category": "ContainerRegistry",
"expiryTime": "2024-03-15T14:30:00Z",
"target": "[tartget url]",
"authType": "None"
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"parameters": {
"subscriptionId": "00000000-1111-2222-3333-444444444444",
"resourceGroupName": "resourceGroup-1",
"accountName": "account-1",
"connectionName": "connection-1",
"api-version": "2025-10-01-preview"
},
"responses": {
"200": {},
"204": {}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{
"parameters": {
"subscriptionId": "00000000-1111-2222-3333-444444444444",
"resourceGroupName": "resourceGroup-1",
"accountName": "account-1",
"connectionName": "connection-1",
"api-version": "2025-10-01-preview"
},
"responses": {
"200": {
"body": {
"id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1/providers/Microsoft.CognitiveServices/accounts/account-1/connections/connection-1",
"name": "connection-1",
"type": "Microsoft.CognitiveServices/accounts/connections",
"properties": {
"category": "ContainerRegistry",
"expiryTime": "2024-03-15T14:30:00Z",
"target": "[tartget url]",
"authType": "None"
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
{
"parameters": {
"subscriptionId": "00000000-1111-2222-3333-444444444444",
"resourceGroupName": "resourceGroup-1",
"accountName": "account-1",
"api-version": "2025-10-01-preview",
"target": "[tartget url]",
"category": "ContainerRegistry"
},
"responses": {
"200": {
"body": {
"value": [
{
"id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1/providers/Microsoft.CognitiveServices/accounts/account-1/linkedaccounts/connection-1",
"name": "connection-1",
"type": "Microsoft.CognitiveServices/accounts/connections",
"properties": {
"category": "ContainerRegistry",
"expiryTime": "2024-03-15T14:30:00Z",
"target": "[tartget url]",
"authType": "PAT"
}
},
{
"id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1/providers/Microsoft.CognitiveServices/accounts/account-1/linkedaccounts/connection-2",
"name": "connection-2",
"type": "Microsoft.CognitiveServices/accounts/connections",
"properties": {
"category": "ContainerRegistry",
"target": "[tartget url]",
"authType": "PAT"
}
}
]
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
{
"parameters": {
"subscriptionId": "00000000-1111-2222-3333-444444444444",
"resourceGroupName": "test-rg",
"accountName": "account-1",
"connectionName": "connection-1",
"api-version": "2025-10-01-preview",
"connection": {
"properties": {
"authType": "AccessKey",
"credentials": {
"accessKeyId": "some_string",
"secretAccessKey": "some_string"
},
"category": "ADLSGen2",
"expiryTime": "2020-01-01T00:00:00Z",
"target": "some_string",
"metadata": {}
}
}
},
"responses": {
"200": {
"headers": {},
"body": {
"id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1/providers/Microsoft.CognitiveServices/accounts/account-1/connections/connection-1",
"name": "connection-1",
"type": "Microsoft.CognitiveServices/accounts/connections",
"properties": {
"authType": "AccessKey",
"category": "ADLSGen2",
"expiryTime": "2020-01-01T00:00:00Z",
"target": "some_string",
"metadata": {}
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
{
"parameters": {
"api-version": "2025-10-01-preview",
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"resourceGroupName": "resourceGroupName",
"accountName": "accountName",
"raiBlocklistName": "myblocklist",
"raiBlocklistItems": [
{
"name": "myblocklistitem1",
"properties": {
"pattern": "^[a-z0-9_-]{2,16}$",
"isRegex": true
}
},
{
"name": "myblocklistitem2",
"properties": {
"pattern": "blockwords",
"isRegex": false
}
}
]
},
"responses": {
"200": {
"body": {
"name": "myblocklist",
"properties": {
"description": "Brief description of the blocklist"
},
"etag": "\"00000000-0000-0000-0000-000000000000\""
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
{
"parameters": {
"api-version": "2025-10-01-preview",
"subscriptionId": "00000000-1111-2222-3333-444444444444",
"parameters": {
"model": {
"format": "OpenAI",
"name": "gpt-4",
"version": "0613"
},
"skuName": "ProvisionedManaged",
"workloads": [
{
"requestPerMinute": 10,
"requestParameters": {
"avgPromptTokens": 30,
"avgGeneratedTokens": 50
}
},
{
"requestPerMinute": 20,
"requestParameters": {
"avgPromptTokens": 60,
"avgGeneratedTokens": 20
}
}
]
}
},
"responses": {
"200": {
"body": {
"model": {
"format": "OpenAI",
"name": "gpt-4",
"version": "0613"
},
"skuName": "ProvisionedManaged",
"estimatedCapacity": {
"value": 346,
"deployableValue": 400
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"parameters": {
"api-version": "2025-10-01-preview",
"subscriptionId": "00000000-1111-2222-3333-444444444444",
"location": "westus",
"parameters": {
"subdomainName": "contosodemoapp1",
"type": "Microsoft.CognitiveServices/accounts"
}
},
"responses": {
"200": {
"body": {
"isSubdomainAvailable": false,
"reason": "Sub domain name 'contosodemoapp1' is not valid",
"subdomainName": "contosodemoapp1",
"type": "Microsoft.CognitiveServices/accounts"
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
{
"parameters": {
"api-version": "2025-10-01-preview",
"subscriptionId": "00000000-1111-2222-3333-444444444444",
"location": "westus",
"parameters": {
"skus": [
"S0"
],
"kind": "Face",
"type": "Microsoft.CognitiveServices/accounts"
}
},
"responses": {
"200": {
"body": {
"value": [
{
"kind": "Face",
"type": "Microsoft.CognitiveServices/accounts",
"skuName": "S0",
"skuAvailable": true,
"reason": null,
"message": null
}
]
}
}
}
}
Loading
Loading