Skip to content
Merged
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-10-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 @@ -7080,7 +7080,7 @@
}
}
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CognitiveServices/accounts/{accountName}/projects/{projectName}/applications/{appName}/deployments": {
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CognitiveServices/accounts/{accountName}/projects/{projectName}/applications/{appName}/agentDeployments": {
"get": {
"tags": [
"AgentDeployment"
Expand Down Expand Up @@ -7171,7 +7171,7 @@
}
}
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CognitiveServices/accounts/{accountName}/projects/{projectName}/applications/{appName}/deployments/{deploymentName}": {
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CognitiveServices/accounts/{accountName}/projects/{projectName}/applications/{appName}/agentDeployments/{deploymentName}": {
"delete": {
"tags": [
"AgentDeployment"
Expand Down Expand Up @@ -7374,7 +7374,7 @@
"x-ms-long-running-operation": true
}
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CognitiveServices/accounts/{accountName}/projects/{projectName}/applications/{appName}/deployments/{deploymentName}/start": {
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CognitiveServices/accounts/{accountName}/projects/{projectName}/applications/{appName}/agentDeployments/{deploymentName}/start": {
"post": {
"tags": [
"AgentDeployment"
Expand Down Expand Up @@ -7425,7 +7425,7 @@
}
}
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CognitiveServices/accounts/{accountName}/projects/{projectName}/applications/{appName}/deployments/{deploymentName}/stop": {
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CognitiveServices/accounts/{accountName}/projects/{projectName}/applications/{appName}/agentDeployments/{deploymentName}/stop": {
"post": {
"tags": [
"AgentDeployment"
Expand Down Expand Up @@ -11906,6 +11906,10 @@
"type": "string"
},
"x-nullable": true
},
"enablePublicHostingEnvironment": {
"type": "boolean",
"description": "Whether public hosting environment is enabled for the capability host"
}
},
"x-ms-client-name": "CapabilityHostProperties",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@
"api-version": "2025-10-01-preview",
"capabilityHost": {
"properties": {
"customerSubnet": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/myResourceGroups/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubnet"
"customerSubnet": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/myResourceGroups/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubnet",
"enablePublicHostingEnvironment": true
}
}
},
Expand All @@ -24,7 +25,8 @@
"string": "string"
},
"customerSubnet": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/myResourceGroups/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubne",
"provisioningState": "Succeeded"
"provisioningState": "Succeeded",
"enablePublicHostingEnvironment": true
}
}
},
Expand All @@ -42,7 +44,8 @@
"string": "string"
},
"customerSubnet": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/myResourceGroups/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubne",
"provisioningState": "Succeeded"
"provisioningState": "Succeeded",
"enablePublicHostingEnvironment": true
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@
"string": "string"
},
"customerSubnet": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/myResourceGroups/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubne",
"provisioningState": "Succeeded"
"provisioningState": "Succeeded",
"enablePublicHostingEnvironment": true
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@
"body": {
"value": [
{
"id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/test-rg/providers/Microsoft.CognitiveServices/accounts/my-cognitive-services-account/projects/my-project/applications/agent-app-1/deployments/deploy-001",
"id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/test-rg/providers/Microsoft.CognitiveServices/accounts/my-cognitive-services-account/projects/my-project/applications/agent-app-1/agentDeployments/deploy-001",
"name": "deploy-001",
"type": "Microsoft.CognitiveServices/accounts/projects/applications/deployments",
"type": "Microsoft.CognitiveServices/accounts/projects/applications/agentDeployments",
"properties": {
"displayName": "Production deployment for customer support agents",
"deploymentId": "550e8400-e29b-41d4-a716-446655440001",
Expand Down Expand Up @@ -46,9 +46,9 @@
}
},
{
"id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/test-rg/providers/Microsoft.CognitiveServices/accounts/my-cognitive-services-account/projects/my-project/applications/agent-app-1/deployments/deploy-002",
"id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/test-rg/providers/Microsoft.CognitiveServices/accounts/my-cognitive-services-account/projects/my-project/applications/agent-app-1/agentDeployments/deploy-002",
"name": "deploy-002",
"type": "Microsoft.CognitiveServices/accounts/projects/applications/deployments",
"type": "Microsoft.CognitiveServices/accounts/projects/applications/agentDeployments",
"properties": {
"displayName": "Staging deployment for testing new features",
"deploymentId": "550e8400-e29b-41d4-a716-446655440002",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,9 @@
"200": {
"headers": {},
"body": {
"id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/test-rg/providers/Microsoft.CognitiveServices/accounts/my-cognitive-services-account/projects/my-project/applications/agent-app-1/deployments/deployment-1",
"id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/test-rg/providers/Microsoft.CognitiveServices/accounts/my-cognitive-services-account/projects/my-project/applications/agent-app-1/agentDeployments/deployment-1",
"name": "deployment-1",
"type": "Microsoft.CognitiveServices/accounts/projects/applications/deployments",
"type": "Microsoft.CognitiveServices/accounts/projects/applications/agentDeployments",
"properties": {
"displayName": "Production Deployment",
"deploymentId": "550e8400-e29b-41d4-a716-446655440001",
Expand Down Expand Up @@ -70,9 +70,9 @@
"Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-1111-2222-3333-444444444444/providers/Microsoft.CognitiveServices/locations/westus/operationresults/00000000-1111-2222-3333-444444444444?api-version=2025-10-01-preview"
},
"body": {
"id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/test-rg/providers/Microsoft.CognitiveServices/accounts/my-cognitive-services-account/projects/my-project/applications/agent-app-1/deployments/deployment-1",
"id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/test-rg/providers/Microsoft.CognitiveServices/accounts/my-cognitive-services-account/projects/my-project/applications/agent-app-1/agentDeployments/deployment-1",
"name": "deployment-1",
"type": "Microsoft.CognitiveServices/accounts/projects/applications/deployments",
"type": "Microsoft.CognitiveServices/accounts/projects/applications/agentDeployments",
"properties": {
"displayName": "Production Deployment",
"deploymentId": "550e8400-e29b-41d4-a716-446655440001",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@
"200": {
"headers": {},
"body": {
"id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/test-rg/providers/Microsoft.CognitiveServices/accounts/my-cognitive-services-account/projects/my-project/applications/agent-app-1/deployments/deployment-1",
"id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/test-rg/providers/Microsoft.CognitiveServices/accounts/my-cognitive-services-account/projects/my-project/applications/agent-app-1/agentDeployments/deployment-1",
"name": "deployment-1",
"type": "Microsoft.CognitiveServices/accounts/projects/applications/deployments",
"type": "Microsoft.CognitiveServices/accounts/projects/applications/agentDeployments",
"properties": {
"displayName": "Production Deployment",
"deploymentId": "550e8400-e29b-41d4-a716-446655440001",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@
"body": {
"value": [
{
"id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/test-rg/providers/Microsoft.CognitiveServices/accounts/my-cognitive-services-account/projects/my-project/applications/agent-app-1/deployments/deployment-1",
"id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/test-rg/providers/Microsoft.CognitiveServices/accounts/my-cognitive-services-account/projects/my-project/applications/agent-app-1/agentDeployments/deployment-1",
"name": "deployment-1",
"type": "Microsoft.CognitiveServices/accounts/projects/applications/deployments",
"type": "Microsoft.CognitiveServices/accounts/projects/applications/agentDeployments",
"properties": {
"displayName": "Production Deployment",
"deploymentId": "550e8400-e29b-41d4-a716-446655440001",
Expand Down
6 changes: 3 additions & 3 deletions specification/cognitiveservices/resource-manager/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,9 @@ suppressions:
- code: ProvisioningStateMustBeReadOnly
reason: Schema ref is AgentDeploymentResource -> AgentDeployment. AgentDeployment has a readonly provisioning state.
where:
- $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CognitiveServices/accounts/{accountName}/projects/{projectName}/applications/{appName}/deployments/{deploymentName}"].get.responses.200.schema
- $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CognitiveServices/accounts/{accountName}/projects/{projectName}/applications/{appName}/deployments/{deploymentName}"].put.responses.200.schema
- $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CognitiveServices/accounts/{accountName}/projects/{projectName}/applications/{appName}/deployments/{deploymentName}"].put.responses.201.schema
- $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CognitiveServices/accounts/{accountName}/projects/{projectName}/applications/{appName}/agentDeployments/{deploymentName}"].get.responses.200.schema
- $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CognitiveServices/accounts/{accountName}/projects/{projectName}/applications/{appName}/agentDeployments/{deploymentName}"].put.responses.200.schema
- $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CognitiveServices/accounts/{accountName}/projects/{projectName}/applications/{appName}/agentDeployments/{deploymentName}"].put.responses.201.schema
- code: ArmResourcePropertiesBag
reason: This API is copied from Machine Learning Services RP where this behavior is already established.
where:
Expand Down
Loading