Skip to content
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
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-11-15-preview", "swagger": "mgmt-plane/cognitiveservices/ResourceProviders/Microsoft.CognitiveServices/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ29nbml0aXZlU2VydmljZXMvYWNjb3VudHMve2FjY291bnROYW1lfS9jb3N0Q29udHJvbHM=/V/MjAyNi0xMS0xNS1wcmV2aWV3"}], "commandGroups": [{"name": "cognitiveservices account costcontrol", "commands": [{"name": "list", "version": "2026-11-15-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cognitiveservices/accounts/{}/costcontrols", "version": "2026-11-15-preview", "swagger": "mgmt-plane/cognitiveservices/ResourceProviders/Microsoft.CognitiveServices/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ29nbml0aXZlU2VydmljZXMvYWNjb3VudHMve2FjY291bnROYW1lfS9jb3N0Q29udHJvbHM=/V/MjAyNi0xMS0xNS1wcmV2aWV3"}], "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": "AccountCostControls_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-11-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", "required": true, "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": "float64", "name": "amount", "required": true, "format": {"minimum": 0.0, "exclusiveMinimum": true}}, {"type": "string", "name": "category", "required": true, "enum": {"items": [{"value": "Cost"}, {"value": "Tokens"}]}}, {"type": "object", "name": "filter", "props": [{"type": "object", "name": "additionalInfo", "props": [{"type": "string", "name": "name", "required": true, "enum": {"items": [{"value": "agent"}, {"value": "deployment"}, {"value": "project"}, {"value": "sessionId"}, {"value": "tokenType"}]}}, {"type": "string", "name": "operator", "required": true, "enum": {"items": [{"value": "In"}]}}, {"type": "array<string>", "name": "values", "required": true, "format": {"minLength": 1}, "item": {"type": "string", "format": {"minLength": 1}}}]}, {"type": "array<@CostControlFilter_read>", "name": "and", "format": {"minLength": 2}, "item": {"type": "@CostControlFilter_read"}}], "cls": "CostControlFilter_read"}, {"type": "array<object>", "name": "grouping", "format": {"maxLength": 1}, "item": {"type": "object", "props": [{"type": "string", "name": "name", "required": true, "enum": {"items": [{"value": "agent"}, {"value": "project"}, {"value": "sessionId"}]}}, {"type": "string", "name": "type", "required": true, "enum": {"items": [{"value": "AdditionalInfoKey"}]}}]}}, {"type": "object", "name": "notifications", "additionalProps": {"item": {"type": "object", "props": [{"type": "boolean", "name": "enabled", "required": true}, {"type": "ResourceId", "name": "eventGridConnectionId", "required": true, "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.CognitiveServices/accounts/connections/{}"}}, {"type": "string", "name": "operator", "required": true, "enum": {"items": [{"value": "GreaterThanOrEqualTo"}]}}, {"type": "float64", "name": "threshold", "required": true, "format": {"minimum": 0.0, "exclusiveMinimum": true}}, {"type": "string", "name": "thresholdType", "required": true, "enum": {"items": [{"value": "Absolute"}, {"value": "Percentage"}]}}]}}}, {"type": "string", "name": "provider", "enum": {"items": [{"value": "Microsoft.CognitiveServices"}]}}, {"type": "object", "name": "providerProperties", "props": [{"type": "object", "name": "actions", "additionalProps": {"item": {"type": "object", "props": [{"type": "string", "name": "operator", "required": true, "enum": {"items": [{"value": "GreaterThanOrEqualTo"}]}}, {"type": "float64", "name": "threshold", "required": true, "format": {"minimum": 0.0, "exclusiveMinimum": true}}, {"type": "string", "name": "thresholdType", "required": true, "enum": {"items": [{"value": "Absolute"}, {"value": "Percentage"}]}}, {"type": "string", "name": "type", "required": true, "enum": {"items": [{"value": "Block"}]}}]}}}]}, {"type": "string", "name": "timeGrain", "required": true, "enum": {"items": [{"value": "Daily"}, {"value": "Monthly"}, {"value": "Weekly"}]}}, {"type": "object", "name": "timePeriod", "required": true, "props": [{"type": "dateTime", "name": "endDate", "required": true}, {"type": "dateTime", "name": "startDate", "required": true}]}]}, {"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-11-15-preview", "swagger": "mgmt-plane/cognitiveservices/ResourceProviders/Microsoft.CognitiveServices/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ29nbml0aXZlU2VydmljZXMvYWNjb3VudHMve2FjY291bnROYW1lfS9jb3N0Q29udHJvbHM=/V/MjAyNi0xMS0xNS1wcmV2aWV3"}], "commandGroups": [{"name": "cognitiveservices account costcontrol", "commands": [{"name": "list", "version": "2026-11-15-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cognitiveservices/accounts/{}/costcontrols", "version": "2026-11-15-preview", "swagger": "mgmt-plane/cognitiveservices/ResourceProviders/Microsoft.CognitiveServices/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ29nbml0aXZlU2VydmljZXMvYWNjb3VudHMve2FjY291bnROYW1lfS9jb3N0Q29udHJvbHM=/V/MjAyNi0xMS0xNS1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.accountName", "options": ["n", "name", "account-name"], "required": true, "group": "", "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": "AccountCostControls_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-11-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", "required": true, "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": "float64", "name": "amount", "required": true, "format": {"minimum": 0.0, "exclusiveMinimum": true}}, {"type": "string", "name": "category", "required": true, "enum": {"items": [{"value": "Cost"}, {"value": "Tokens"}]}}, {"type": "object", "name": "filter", "props": [{"type": "object", "name": "additionalInfo", "props": [{"type": "string", "name": "name", "required": true, "enum": {"items": [{"value": "agent"}, {"value": "deployment"}, {"value": "project"}, {"value": "sessionId"}, {"value": "tokenType"}]}}, {"type": "string", "name": "operator", "required": true, "enum": {"items": [{"value": "In"}]}}, {"type": "array<string>", "name": "values", "required": true, "format": {"minLength": 1}, "item": {"type": "string", "format": {"minLength": 1}}}]}, {"type": "array<@CostControlFilter_read>", "name": "and", "format": {"minLength": 2}, "item": {"type": "@CostControlFilter_read"}}], "cls": "CostControlFilter_read"}, {"type": "array<object>", "name": "grouping", "format": {"maxLength": 1}, "item": {"type": "object", "props": [{"type": "string", "name": "name", "required": true, "enum": {"items": [{"value": "agent"}, {"value": "project"}, {"value": "sessionId"}]}}, {"type": "string", "name": "type", "required": true, "enum": {"items": [{"value": "AdditionalInfoKey"}]}}]}}, {"type": "object", "name": "notifications", "additionalProps": {"item": {"type": "object", "props": [{"type": "boolean", "name": "enabled", "required": true}, {"type": "ResourceId", "name": "eventGridConnectionId", "required": true, "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.CognitiveServices/accounts/connections/{}"}}, {"type": "string", "name": "operator", "required": true, "enum": {"items": [{"value": "GreaterThanOrEqualTo"}]}}, {"type": "float64", "name": "threshold", "required": true, "format": {"minimum": 0.0, "exclusiveMinimum": true}}, {"type": "string", "name": "thresholdType", "required": true, "enum": {"items": [{"value": "Absolute"}, {"value": "Percentage"}]}}]}}}, {"type": "string", "name": "provider", "enum": {"items": [{"value": "Microsoft.CognitiveServices"}]}}, {"type": "object", "name": "providerProperties", "props": [{"type": "object", "name": "actions", "additionalProps": {"item": {"type": "object", "props": [{"type": "string", "name": "operator", "required": true, "enum": {"items": [{"value": "GreaterThanOrEqualTo"}]}}, {"type": "float64", "name": "threshold", "required": true, "format": {"minimum": 0.0, "exclusiveMinimum": true}}, {"type": "string", "name": "thresholdType", "required": true, "enum": {"items": [{"value": "Absolute"}, {"value": "Percentage"}]}}, {"type": "string", "name": "type", "required": true, "enum": {"items": [{"value": "Block"}]}}]}}}]}, {"type": "string", "name": "timeGrain", "required": true, "enum": {"items": [{"value": "Daily"}, {"value": "Monthly"}, {"value": "Weekly"}]}}, {"type": "object", "name": "timePeriod", "required": true, "props": [{"type": "dateTime", "name": "endDate", "required": true}, {"type": "dateTime", "name": "startDate", "required": true}]}]}, {"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 @@ -5,7 +5,7 @@
<command name="list" version="2026-11-15-preview">
<resource id="/subscriptions/{}/resourcegroups/{}/providers/microsoft.cognitiveservices/accounts/{}/costcontrols" version="2026-11-15-preview" swagger="mgmt-plane/cognitiveservices/ResourceProviders/Microsoft.CognitiveServices/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQ29nbml0aXZlU2VydmljZXMvYWNjb3VudHMve2FjY291bnROYW1lfS9jb3N0Q29udHJvbHM=/V/MjAyNi0xMS0xNS1wcmV2aWV3"/>
<argGroup name="">
<arg type="string" var="$Path.accountName" options="account-name" required="True" idPart="name">
<arg type="string" var="$Path.accountName" options="account-name name n" required="True" group="" idPart="name">
<help short="The name of Cognitive Services account."/>
<format pattern="^[a-zA-Z0-9][a-zA-Z0-9_.-]*$" maxLength="64" minLength="2"/>
</arg>
Expand Down

Large diffs are not rendered by default.

Loading
Loading