diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2023-05-01-preview/LocationCapabilities.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2023-05-01-preview/LocationCapabilities.json index 849911cd7eff..95c1d3855d44 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2023-05-01-preview/LocationCapabilities.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2023-05-01-preview/LocationCapabilities.json @@ -42,7 +42,8 @@ "supportedElasticPoolEditions", "supportedManagedInstanceVersions", "supportedInstancePoolEditions", - "supportedManagedInstanceEditions" + "supportedManagedInstanceEditions", + "supportedJobAgentVersions" ], "x-ms-enum": { "name": "CapabilityGroup", @@ -579,6 +580,119 @@ } } }, + "JobAgentEditionCapability": { + "description": "The job agent edition capability.", + "type": "object", + "properties": { + "name": { + "description": "The job agent edition name.", + "type": "string", + "readOnly": true + }, + "supportedServiceLevelObjectives": { + "description": "The list of supported service level objectives for the edition.", + "type": "array", + "items": { + "$ref": "#/definitions/JobAgentServiceLevelObjectiveCapability" + }, + "readOnly": true, + "x-ms-identifiers": [] + }, + "status": { + "description": "The status of the capability.", + "enum": [ + "Visible", + "Available", + "Default", + "Disabled" + ], + "type": "string", + "readOnly": true, + "x-ms-enum": { + "name": "CapabilityStatus", + "modelAsString": false + } + }, + "reason": { + "description": "The reason for the capability not being available.", + "type": "string" + } + } + }, + "JobAgentServiceLevelObjectiveCapability": { + "description": "The job agent service level objective capability.", + "type": "object", + "properties": { + "name": { + "description": "The service objective name.", + "type": "string", + "readOnly": true + }, + "sku": { + "$ref": "../../../common/v1/types.json#/definitions/Sku", + "description": "The sku.", + "readOnly": true + }, + "status": { + "description": "The status of the capability.", + "enum": [ + "Visible", + "Available", + "Default", + "Disabled" + ], + "type": "string", + "readOnly": true, + "x-ms-enum": { + "name": "CapabilityStatus", + "modelAsString": false + } + }, + "reason": { + "description": "The reason for the capability not being available.", + "type": "string" + } + } + }, + "JobAgentVersionCapability": { + "description": "The job agent version capability.", + "type": "object", + "properties": { + "name": { + "description": "The job agent version name.", + "type": "string", + "readOnly": true + }, + "supportedEditions": { + "description": "The list of supported editions.", + "type": "array", + "items": { + "$ref": "#/definitions/JobAgentEditionCapability" + }, + "readOnly": true, + "x-ms-identifiers": [] + }, + "status": { + "description": "The status of the capability.", + "enum": [ + "Visible", + "Available", + "Default", + "Disabled" + ], + "type": "string", + "readOnly": true, + "x-ms-enum": { + "name": "CapabilityStatus", + "modelAsString": false + } + }, + "reason": { + "description": "The reason for the capability not being available.", + "type": "string" + } + } + }, "LicenseTypeCapability": { "description": "The license type capability", "type": "object", @@ -634,6 +748,15 @@ }, "readOnly": true }, + "supportedJobAgentVersions": { + "description": "The list of supported job agent versions.", + "type": "array", + "items": { + "$ref": "#/definitions/JobAgentVersionCapability" + }, + "readOnly": true, + "x-ms-identifiers": [] + }, "status": { "description": "The status of the capability.", "enum": [ diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2023-05-01-preview/examples/LocationCapabilityListByLocation.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2023-05-01-preview/examples/LocationCapabilityListByLocation.json index ac9579423d85..b6b4be3f2518 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2023-05-01-preview/examples/LocationCapabilityListByLocation.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2023-05-01-preview/examples/LocationCapabilityListByLocation.json @@ -3203,6 +3203,52 @@ "status": "Default" } ], + "supportedJobAgentVersions": [ + { + "name": "1.0", + "status": "Default", + "supportedEditions": [ + { + "name": "1.0", + "status": "Default", + "supportedServiceLevelObjectives": [ + { + "name": "JA100", + "status": "Default", + "sku": { + "name": "JA100", + "capacity": 100 + } + }, + { + "name": "JA200", + "status": "Available", + "sku": { + "name": "JA200", + "capacity": 200 + } + }, + { + "name": "JA400", + "status": "Available", + "sku": { + "name": "JA400", + "capacity": 400 + } + }, + { + "name": "JA800", + "status": "Available", + "sku": { + "name": "JA800", + "capacity": 800 + } + } + ] + } + ] + } + ], "status": "Available" } }