Skip to content
Draft
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 +1 @@
{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cognitiveservices/accounts/{}/costcontrols", "version": "2026-09-15-preview", "swagger": "mgmt-plane/cognitiveservices/ResourceProviders/Microsoft.CognitiveServices/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ29nbml0aXZlU2VydmljZXMvYWNjb3VudHMve2FjY291bnROYW1lfS9jb3N0Q29udHJvbHM=/V/MjAyNi0wOS0xNS1wcmV2aWV3"}], "commandGroups": [{"name": "cognitiveservices account costcontrol", "commands": [{"name": "list", "version": "2026-09-15-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cognitiveservices/accounts/{}/costcontrols", "version": "2026-09-15-preview", "swagger": "mgmt-plane/cognitiveservices/ResourceProviders/Microsoft.CognitiveServices/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ29nbml0aXZlU2VydmljZXMvYWNjb3VudHMve2FjY291bnROYW1lfS9jb3N0Q29udHJvbHM=/V/MjAyNi0wOS0xNS1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.accountName", "options": ["account-name"], "required": true, "idPart": "name", "help": {"short": "The name of Cognitive Services account."}, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9_.-]*$", "maxLength": 64, "minLength": 2}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}], "operations": [{"operationId": "CostControls_List", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CognitiveServices/accounts/{accountName}/costControls", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "accountName", "arg": "$Path.accountName", "required": true, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9_.-]*$", "maxLength": 64, "minLength": 2}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"pattern": "^[-\\w\\._\\(\\)]+$", "maxLength": 90, "minLength": 1}}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true, "format": {"minLength": 1}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2026-09-15-preview"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"type": "string", "name": "nextLink"}, {"type": "array<object>", "name": "value", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"readOnly": true, "type": "string", "name": "id"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "string", "name": "displayName", "format": {"maxLength": 128}}, {"type": "array<object>", "name": "rules", "required": true, "format": {"maxLength": 50, "minLength": 1}, "item": {"type": "object", "props": [{"type": "float64", "name": "amount", "required": true, "format": {"minimum": 0.0, "exclusiveMinimum": true}}, {"type": "array<object>", "name": "counterKey", "required": true, "format": {"maxLength": 1, "minLength": 1}, "item": {"type": "object", "props": [{"type": "string", "name": "attribute", "format": {"pattern": "^[a-zA-Z][a-zA-Z0-9_.-]{0,127}$", "maxLength": 128}}, {"type": "string", "name": "type", "required": true, "enum": {"items": [{"value": "account"}, {"value": "agent"}, {"value": "custom"}, {"value": "identity"}, {"value": "project"}, {"value": "session"}]}}]}}, {"type": "object", "name": "match", "props": [{"type": "array<string>", "name": "foundry.caller.agent.id", "format": {"maxLength": 20, "minLength": 1}, "item": {"type": "string", "format": {"minLength": 1}}}, {"type": "array<string>", "name": "foundry.caller.identity.oid", "format": {"maxLength": 20, "minLength": 1}, "item": {"type": "string", "format": {"minLength": 1}}}, {"type": "array<string>", "name": "foundry.caller.session.id", "format": {"maxLength": 20, "minLength": 1}, "item": {"type": "string", "format": {"minLength": 1}}}, {"type": "array<string>", "name": "foundry.project.id", "format": {"maxLength": 20, "minLength": 1}, "item": {"type": "string", "format": {"minLength": 1}}}]}, {"type": "string", "name": "name", "required": true, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9_.-]{0,63}$", "maxLength": 64}}, {"type": "string", "name": "period", "enum": {"items": [{"value": "day"}, {"value": "hour"}, {"value": "minute"}, {"value": "month"}, {"value": "week"}, {"value": "year"}]}}, {"default": {"value": true}, "type": "boolean", "name": "recurring"}, {"nullable": true, "type": "array<object>", "name": "thresholds", "format": {"maxLength": 10}, "item": {"type": "object", "props": [{"default": {"value": "audit"}, "type": "string", "name": "action", "enum": {"items": [{"value": "alert"}, {"value": "audit"}, {"value": "block"}]}}, {"type": "string", "name": "type", "required": true, "enum": {"items": [{"value": "absolute"}, {"value": "percentage"}]}}, {"type": "float64", "name": "value", "required": true, "format": {"minimum": 0.0}}]}}, {"type": "string", "name": "unit", "required": true, "enum": {"items": [{"value": "usd"}]}}]}}]}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt"}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt"}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"readOnly": true, "type": "string", "name": "type"}]}}]}}}}, {"isError": true, "body": {"json": {"schema": {"readOnly": true, "type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "array", "ref": "$Instance.value", "clientFlatten": true, "nextLink": "$Instance.nextLink"}]}]}]}
{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cognitiveservices/accounts/{}/costcontrols", "version": "2026-09-15-preview", "swagger": "mgmt-plane/cognitiveservices/ResourceProviders/Microsoft.CognitiveServices/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ29nbml0aXZlU2VydmljZXMvYWNjb3VudHMve2FjY291bnROYW1lfS9jb3N0Q29udHJvbHM=/V/MjAyNi0wOS0xNS1wcmV2aWV3"}], "commandGroups": [{"name": "cognitiveservices account costcontrol", "commands": [{"name": "list", "version": "2026-09-15-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cognitiveservices/accounts/{}/costcontrols", "version": "2026-09-15-preview", "swagger": "mgmt-plane/cognitiveservices/ResourceProviders/Microsoft.CognitiveServices/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ29nbml0aXZlU2VydmljZXMvYWNjb3VudHMve2FjY291bnROYW1lfS9jb3N0Q29udHJvbHM=/V/MjAyNi0wOS0xNS1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.accountName", "options": ["account-name"], "required": true, "idPart": "name", "help": {"short": "The name of Cognitive Services account."}, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9_.-]*$", "maxLength": 64, "minLength": 2}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}], "operations": [{"operationId": "CostControls_List", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CognitiveServices/accounts/{accountName}/costControls", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "accountName", "arg": "$Path.accountName", "required": true, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9_.-]*$", "maxLength": 64, "minLength": 2}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"pattern": "^[-\\w\\._\\(\\)]+$", "maxLength": 90, "minLength": 1}}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true, "format": {"minLength": 1}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2026-09-15-preview"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"type": "string", "name": "nextLink"}, {"type": "array<object>", "name": "value", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"readOnly": true, "type": "string", "name": "id"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "string", "name": "displayName", "format": {"maxLength": 128}}, {"type": "array<object>", "name": "rules", "required": true, "format": {"maxLength": 50, "minLength": 1}, "item": {"type": "object", "props": [{"type": "float64", "name": "amount", "required": true, "format": {"minimum": 0.0, "exclusiveMinimum": true}}, {"type": "array<object>", "name": "counterKey", "required": true, "format": {"maxLength": 1, "minLength": 1}, "item": {"type": "object", "props": [{"type": "string", "name": "attribute", "format": {"pattern": "^[a-zA-Z][a-zA-Z0-9_.-]{0,127}$", "maxLength": 128}}, {"type": "string", "name": "type", "required": true, "enum": {"items": [{"value": "account"}, {"value": "agent"}, {"value": "custom"}, {"value": "identity"}, {"value": "project"}, {"value": "session"}]}}]}}, {"type": "object", "name": "match", "props": [{"type": "array<string>", "name": "agentIds", "format": {"maxLength": 20, "minLength": 1}, "item": {"type": "string", "format": {"minLength": 1}}}, {"type": "array<string>", "name": "identityObjectIds", "format": {"maxLength": 20, "minLength": 1}, "item": {"type": "string", "format": {"minLength": 1}}}, {"type": "array<string>", "name": "projectIds", "format": {"maxLength": 20, "minLength": 1}, "item": {"type": "string", "format": {"minLength": 1}}}, {"type": "array<string>", "name": "sessionIds", "format": {"maxLength": 20, "minLength": 1}, "item": {"type": "string", "format": {"minLength": 1}}}]}, {"type": "string", "name": "name", "required": true, "format": {"pattern": "^[a-zA-Z0-9][a-zA-Z0-9_.-]{0,63}$", "maxLength": 64}}, {"type": "string", "name": "period", "enum": {"items": [{"value": "day"}, {"value": "hour"}, {"value": "minute"}, {"value": "month"}, {"value": "week"}, {"value": "year"}]}}, {"default": {"value": true}, "type": "boolean", "name": "recurring"}, {"nullable": true, "type": "array<object>", "name": "thresholds", "format": {"maxLength": 10}, "item": {"type": "object", "props": [{"default": {"value": "audit"}, "type": "string", "name": "action", "enum": {"items": [{"value": "alert"}, {"value": "audit"}, {"value": "block"}]}}, {"type": "string", "name": "type", "required": true, "enum": {"items": [{"value": "absolute"}, {"value": "percentage"}]}}, {"type": "float64", "name": "value", "required": true, "format": {"minimum": 0.0}}]}}, {"type": "string", "name": "unit", "required": true, "enum": {"items": [{"value": "usd"}]}}]}}]}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt"}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt"}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"readOnly": true, "type": "string", "name": "type"}]}}]}}}}, {"isError": true, "body": {"json": {"schema": {"readOnly": true, "type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "array", "ref": "$Instance.value", "clientFlatten": true, "nextLink": "$Instance.nextLink"}]}]}]}
Original file line number Diff line number Diff line change
Expand Up @@ -72,25 +72,25 @@
</item>
</prop>
<prop type="object" name="match">
<prop type="array<string>" name="foundry.caller.agent.id">
<prop type="array<string>" name="agentIds">
<format maxLength="20" minLength="1"/>
<item type="string">
<format minLength="1"/>
</item>
</prop>
<prop type="array<string>" name="foundry.caller.identity.oid">
<prop type="array<string>" name="identityObjectIds">
<format maxLength="20" minLength="1"/>
<item type="string">
<format minLength="1"/>
</item>
</prop>
<prop type="array<string>" name="foundry.caller.session.id">
<prop type="array<string>" name="projectIds">
<format maxLength="20" minLength="1"/>
<item type="string">
<format minLength="1"/>
</item>
</prop>
<prop type="array<string>" name="foundry.project.id">
<prop type="array<string>" name="sessionIds">
<format maxLength="20" minLength="1"/>
<item type="string">
<format minLength="1"/>
Expand Down

Large diffs are not rendered by default.

Loading
Loading