Skip to content

Commit b926516

Browse files
authored
[Cognitive Services] 2025-09-01 Stable 1RP API (#37420)
* Prep Stable release - based on 2025-07-01-preview * Add 'AzureStorageAccount' as valid connection category
1 parent 0b778f1 commit b926516

File tree

109 files changed

+16790
-1
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

109 files changed

+16790
-1
lines changed

specification/cognitiveservices/resource-manager/Microsoft.CognitiveServices/stable/2025-09-01/cognitiveservices.json

Lines changed: 9878 additions & 0 deletions
Large diffs are not rendered by default.
Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "00000000-1111-2222-3333-444444444444",
4+
"resourceGroupName": "test-rg",
5+
"accountName": "account-1",
6+
"capabilityHostName": "capabilityHostName",
7+
"api-version": "2025-09-01",
8+
"capabilityHost": {
9+
"properties": {
10+
"customerSubnet": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/myResourceGroups/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubnet"
11+
}
12+
}
13+
},
14+
"responses": {
15+
"200": {
16+
"headers": {},
17+
"body": {
18+
"id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/test-rg/providers/Microsoft.CognitiveServices/accounts/account-1/capabilityHosts/capabilityHostName",
19+
"name": "capabilityHostName",
20+
"type": "Microsoft.CognitiveServices/accounts/capabilityHosts",
21+
"properties": {
22+
"description": "string",
23+
"tags": {
24+
"string": "string"
25+
},
26+
"customerSubnet": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/myResourceGroups/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubne",
27+
"provisioningState": "Succeeded"
28+
}
29+
}
30+
},
31+
"201": {
32+
"headers": {
33+
"Location": "example_location"
34+
},
35+
"body": {
36+
"id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/test-rg/providers/Microsoft.CognitiveServices/accounts/account-1/capabilityHosts/capabilityHostName",
37+
"name": "capabilityHostName",
38+
"type": "Microsoft.CognitiveServices/accounts/capabilityHosts",
39+
"properties": {
40+
"description": "string",
41+
"tags": {
42+
"string": "string"
43+
},
44+
"customerSubnet": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/myResourceGroups/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubne",
45+
"provisioningState": "Succeeded"
46+
}
47+
}
48+
}
49+
}
50+
}
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "00000000-1111-2222-3333-444444444444",
4+
"resourceGroupName": "test-rg",
5+
"accountName": "account-1",
6+
"capabilityHostName": "capabilityHostName",
7+
"api-version": "2025-09-01"
8+
},
9+
"responses": {
10+
"202": {
11+
"headers": {
12+
"Location": "location_header_to_poll"
13+
}
14+
},
15+
"204": {}
16+
}
17+
}
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "00000000-1111-2222-3333-444444444444",
4+
"resourceGroupName": "test-rg",
5+
"accountName": "account-1",
6+
"capabilityHostName": "capabilityHostName",
7+
"api-version": "2025-09-01"
8+
},
9+
"responses": {
10+
"200": {
11+
"headers": {},
12+
"body": {
13+
"id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/test-rg/providers/Microsoft.CognitiveServices/accounts/account-1/capabilityHosts/capabilityHostName",
14+
"name": "capabilityHostName",
15+
"type": "Microsoft.CognitiveServices/accounts/capabilityHosts",
16+
"properties": {
17+
"description": "string",
18+
"tags": {
19+
"string": "string"
20+
},
21+
"customerSubnet": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/myResourceGroups/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubne",
22+
"provisioningState": "Succeeded"
23+
}
24+
}
25+
}
26+
}
27+
}
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "00000000-1111-2222-3333-444444444444",
4+
"resourceGroupName": "resourceGroup-1",
5+
"accountName": "account-1",
6+
"connectionName": "connection-1",
7+
"api-version": "2025-09-01",
8+
"connection": {
9+
"properties": {
10+
"category": "ContainerRegistry",
11+
"expiryTime": "2024-03-15T14:30:00Z",
12+
"target": "[tartget url]",
13+
"authType": "None"
14+
}
15+
}
16+
},
17+
"responses": {
18+
"200": {
19+
"body": {
20+
"id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1/providers/Microsoft.CognitiveServices/accounts/account-1/connections/connection-1",
21+
"name": "connection-1",
22+
"type": "Microsoft.CognitiveServices/accounts/connections",
23+
"properties": {
24+
"category": "ContainerRegistry",
25+
"expiryTime": "2024-03-15T14:30:00Z",
26+
"target": "[tartget url]",
27+
"authType": "None"
28+
}
29+
}
30+
}
31+
}
32+
}
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "00000000-1111-2222-3333-444444444444",
4+
"resourceGroupName": "resourceGroup-1",
5+
"accountName": "account-1",
6+
"connectionName": "connection-1",
7+
"api-version": "2025-09-01"
8+
},
9+
"responses": {
10+
"200": {},
11+
"204": {}
12+
}
13+
}
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "00000000-1111-2222-3333-444444444444",
4+
"resourceGroupName": "resourceGroup-1",
5+
"accountName": "account-1",
6+
"connectionName": "connection-1",
7+
"api-version": "2025-09-01"
8+
},
9+
"responses": {
10+
"200": {
11+
"body": {
12+
"id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1/providers/Microsoft.CognitiveServices/accounts/account-1/connections/connection-1",
13+
"name": "connection-1",
14+
"type": "Microsoft.CognitiveServices/accounts/connections",
15+
"properties": {
16+
"category": "ContainerRegistry",
17+
"expiryTime": "2024-03-15T14:30:00Z",
18+
"target": "[tartget url]",
19+
"authType": "None"
20+
}
21+
}
22+
}
23+
}
24+
}
Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "00000000-1111-2222-3333-444444444444",
4+
"resourceGroupName": "resourceGroup-1",
5+
"accountName": "account-1",
6+
"api-version": "2025-09-01",
7+
"target": "[tartget url]",
8+
"category": "ContainerRegistry"
9+
},
10+
"responses": {
11+
"200": {
12+
"body": {
13+
"value": [
14+
{
15+
"id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1/providers/Microsoft.CognitiveServices/accounts/account-1/linkedaccounts/connection-1",
16+
"name": "connection-1",
17+
"type": "Microsoft.CognitiveServices/accounts/connections",
18+
"properties": {
19+
"category": "ContainerRegistry",
20+
"expiryTime": "2024-03-15T14:30:00Z",
21+
"target": "[tartget url]",
22+
"authType": "PAT"
23+
}
24+
},
25+
{
26+
"id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1/providers/Microsoft.CognitiveServices/accounts/account-1/linkedaccounts/connection-2",
27+
"name": "connection-2",
28+
"type": "Microsoft.CognitiveServices/accounts/connections",
29+
"properties": {
30+
"category": "ContainerRegistry",
31+
"target": "[tartget url]",
32+
"authType": "PAT"
33+
}
34+
}
35+
]
36+
}
37+
}
38+
}
39+
}
Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "00000000-1111-2222-3333-444444444444",
4+
"resourceGroupName": "test-rg",
5+
"accountName": "account-1",
6+
"connectionName": "connection-1",
7+
"api-version": "2025-09-01",
8+
"connection": {
9+
"properties": {
10+
"authType": "AccessKey",
11+
"credentials": {
12+
"accessKeyId": "some_string",
13+
"secretAccessKey": "some_string"
14+
},
15+
"category": "ADLSGen2",
16+
"expiryTime": "2020-01-01T00:00:00Z",
17+
"target": "some_string",
18+
"metadata": {}
19+
}
20+
}
21+
},
22+
"responses": {
23+
"200": {
24+
"headers": {},
25+
"body": {
26+
"id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/resourceGroup-1/providers/Microsoft.CognitiveServices/accounts/account-1/connections/connection-1",
27+
"name": "connection-1",
28+
"type": "Microsoft.CognitiveServices/accounts/connections",
29+
"properties": {
30+
"authType": "AccessKey",
31+
"category": "ADLSGen2",
32+
"expiryTime": "2020-01-01T00:00:00Z",
33+
"target": "some_string",
34+
"metadata": {}
35+
}
36+
}
37+
}
38+
}
39+
}
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
{
2+
"parameters": {
3+
"api-version": "2025-09-01",
4+
"subscriptionId": "00000000-0000-0000-0000-000000000000",
5+
"resourceGroupName": "resourceGroupName",
6+
"accountName": "accountName",
7+
"raiBlocklistName": "myblocklist",
8+
"raiBlocklistItems": [
9+
{
10+
"name": "myblocklistitem1",
11+
"properties": {
12+
"pattern": "^[a-z0-9_-]{2,16}$",
13+
"isRegex": true
14+
}
15+
},
16+
{
17+
"name": "myblocklistitem2",
18+
"properties": {
19+
"pattern": "blockwords",
20+
"isRegex": false
21+
}
22+
}
23+
]
24+
},
25+
"responses": {
26+
"200": {
27+
"body": {
28+
"name": "myblocklist",
29+
"properties": {
30+
"description": "Brief description of the blocklist"
31+
},
32+
"etag": "\"00000000-0000-0000-0000-000000000000\""
33+
}
34+
}
35+
}
36+
}

0 commit comments

Comments
 (0)