Skip to content

Cognitive Services 2025-07-01-preview #35345

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
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

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-06-01",
"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-06-01"
},
"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-06-01"
},
"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-06-01",
"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-06-01"
},
"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-06-01"
},
"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-06-01",
"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-06-01",
"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-06-01",
"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-06-01",
"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-06-01",
"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-06-01",
"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