Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
Prev Previous commit
Run npx tsv .
  • Loading branch information
needuv committed Mar 17, 2025
commit 742b3f02bda54684fb836aa2d8d64728f540a638
4 changes: 3 additions & 1 deletion specification/ai/Azure.AI.Projects/connections/routes.tsp
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,9 @@ using Azure.Core.Foundations;

namespace Azure.AI.Projects;

alias ConnectionServiceTraits = SupportsClientRequestId;
alias ConnectionServiceTraits = SupportsClientRequestId &
NoRepeatableRequests &
NoConditionalRequests;

alias ConnectionOperations = Azure.Core.ResourceOperations<ConnectionServiceTraits>;

Expand Down
4 changes: 3 additions & 1 deletion specification/ai/Azure.AI.Projects/deployments/routes.tsp
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,9 @@ using Azure.Core.Foundations;

namespace Azure.AI.Projects;

alias DeploymentServiceTraits = SupportsClientRequestId;
alias DeploymentServiceTraits = SupportsClientRequestId &
NoRepeatableRequests &
NoConditionalRequests;

alias DeploymentOperations = Azure.Core.ResourceOperations<DeploymentServiceTraits>;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -455,18 +455,6 @@
},
{
"$ref": "#/parameters/Azure.Core.ClientRequestIdHeader"
},
{
"$ref": "#/parameters/Azure.Core.ConditionalRequestHeaders.ifMatch"
},
{
"$ref": "#/parameters/Azure.Core.ConditionalRequestHeaders.ifNoneMatch"
},
{
"$ref": "#/parameters/Azure.Core.ConditionalRequestHeaders.ifUnmodifiedSince"
},
{
"$ref": "#/parameters/Azure.Core.ConditionalRequestHeaders.ifModifiedSince"
}
],
"responses": {
Expand All @@ -476,10 +464,6 @@
"$ref": "#/definitions/Connection"
},
"headers": {
"ETag": {
"type": "string",
"description": "The entity tag for the response."
},
"x-ms-client-request-id": {
"type": "string",
"format": "uuid",
Expand Down Expand Up @@ -862,7 +846,7 @@
}
}
},
"/deployments/{deploymentName}": {
"/deployments/{name}": {
"get": {
"operationId": "Deployments_Get",
"description": "Get a deployed model.",
Expand All @@ -871,26 +855,14 @@
"$ref": "#/parameters/Azure.Core.Foundations.ApiVersionParameter"
},
{
"name": "deploymentName",
"name": "name",
"in": "path",
"description": "Name of the deployment for the model",
"description": "Name of the deployment",
"required": true,
"type": "string"
},
{
"$ref": "#/parameters/Azure.Core.ClientRequestIdHeader"
},
{
"$ref": "#/parameters/Azure.Core.ConditionalRequestHeaders.ifMatch"
},
{
"$ref": "#/parameters/Azure.Core.ConditionalRequestHeaders.ifNoneMatch"
},
{
"$ref": "#/parameters/Azure.Core.ConditionalRequestHeaders.ifUnmodifiedSince"
},
{
"$ref": "#/parameters/Azure.Core.ConditionalRequestHeaders.ifModifiedSince"
}
],
"responses": {
Expand All @@ -900,10 +872,6 @@
"$ref": "#/definitions/Deployment"
},
"headers": {
"ETag": {
"type": "string",
"description": "The entity tag for the response."
},
"x-ms-client-request-id": {
"type": "string",
"format": "uuid",
Expand Down Expand Up @@ -9343,11 +9311,6 @@
"type": "object",
"description": "Response from the listSecrets operation",
"properties": {
"id": {
"type": "string",
"description": "Fully qualified resource identifier",
"readOnly": true
},
"name": {
"type": "string",
"description": "The name of the resource",
Expand All @@ -9372,7 +9335,6 @@
}
},
"required": [
"id",
"name",
"type",
"target",
Expand Down Expand Up @@ -9600,64 +9562,52 @@
"type": "object",
"description": "Model Deployment Definition",
"properties": {
"deploymentName": {
"name": {
"type": "string",
"description": "Name of the deployment for the model",
"description": "Name of the deployment",
"readOnly": true
},
"modelName": {
"type": "string",
"description": "Publisher-specific name of the model",
"description": "Publisher-specific name of the deployed model",
"readOnly": true
},
"modelVersion": {
"type": "string",
"description": "Publisher-specific version of the model",
"description": "Publisher-specific version of the deployed model",
"readOnly": true
},
"publisher": {
"modelPublisher": {
"type": "string",
"description": "Name of the model publisher",
"description": "Name of the deployed model's publisher",
"readOnly": true
},
"capabilities": {
"type": "object",
"description": "Capabilities of model",
"description": "Capabilities of deployed model",
"additionalProperties": {
"type": "string"
},
"readOnly": true
},
"raiPolicyName": {
"type": "string",
"description": "RAI policy enabled for model",
"readOnly": true
},
"sku": {
"$ref": "#/definitions/Sku",
"description": "Sku of the model deployment",
"readOnly": true
},
"connectionName": {
"type": "string",
"description": "Name of the connection the model comes from",
"readOnly": true
},
"systemData": {
"$ref": "#/definitions/SystemData",
"description": "System data of the resource",
"description": "Name of the connection the deployment comes from",
"readOnly": true
}
},
"required": [
"deploymentName",
"name",
"modelName",
"modelVersion",
"publisher",
"modelPublisher",
"capabilities",
"raiPolicyName",
"sku",
"systemData"
"sku"
]
},
"EmbeddingConfiguration": {
Expand Down Expand Up @@ -10059,7 +10009,8 @@
"description": "The Connection items on this page",
"items": {
"$ref": "#/definitions/Connection"
}
},
"x-ms-identifiers": []
},
"nextLink": {
"type": "string",
Expand Down Expand Up @@ -10391,44 +10342,6 @@
"x-ms-parameter-location": "method",
"x-ms-client-name": "clientRequestId"
},
"Azure.Core.ConditionalRequestHeaders.ifMatch": {
"name": "If-Match",
"in": "header",
"description": "The request should only proceed if an entity matches this string.",
"required": false,
"type": "string",
"x-ms-parameter-location": "method",
"x-ms-client-name": "ifMatch"
},
"Azure.Core.ConditionalRequestHeaders.ifModifiedSince": {
"name": "If-Modified-Since",
"in": "header",
"description": "The request should only proceed if the entity was modified after this time.",
"required": false,
"type": "string",
"format": "date-time",
"x-ms-parameter-location": "method",
"x-ms-client-name": "ifModifiedSince"
},
"Azure.Core.ConditionalRequestHeaders.ifNoneMatch": {
"name": "If-None-Match",
"in": "header",
"description": "The request should only proceed if no entity matches this string.",
"required": false,
"type": "string",
"x-ms-parameter-location": "method",
"x-ms-client-name": "ifNoneMatch"
},
"Azure.Core.ConditionalRequestHeaders.ifUnmodifiedSince": {
"name": "If-Unmodified-Since",
"in": "header",
"description": "The request should only proceed if the entity was not modified after this time.",
"required": false,
"type": "string",
"format": "date-time",
"x-ms-parameter-location": "method",
"x-ms-client-name": "ifUnmodifiedSince"
},
"Azure.Core.Foundations.ApiVersionParameter": {
"name": "api-version",
"in": "query",
Expand Down
Loading