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
29 changes: 29 additions & 0 deletions azure-aro/specs/actions/create-scope.json.tpl
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
{
"name": "create-scope",
"slug": "create-scope",
"type": "create",
"retryable": false,
"service_specification_id": "{{ env.Getenv "SERVICE_SPECIFICATION_ID" }}",
"parameters": {
"schema": {
"type": "object",
"required": [
"scope_id"
],
"properties": {
"scope_id": {
"type": "string"
}
}
},
"values": {}
},
"results": {
"schema": {
"type": "object",
"required": [],
"properties": {}
},
"values": {}
}
}
33 changes: 33 additions & 0 deletions azure-aro/specs/actions/delete-deployment.json.tpl
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
{
"name": "delete-deployment",
"slug": "delete-deployment",
"type": "custom",
"retryable": false,
"service_specification_id": "{{ env.Getenv "SERVICE_SPECIFICATION_ID" }}",
"parameters": {
"schema": {
"type": "object",
"required": [
"scope_id",
"deployment_id"
],
"properties": {
"scope_id": {
"type": "string"
},
"deployment_id": {
"type": "string"
}
}
},
"values": {}
},
"results": {
"schema": {
"type": "object",
"required": [],
"properties": {}
},
"values": {}
}
}
29 changes: 29 additions & 0 deletions azure-aro/specs/actions/delete-scope.json.tpl
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
{
"name": "delete-scope",
"slug": "delete-scope",
"type": "custom",
"retryable": false,
"service_specification_id": "{{ env.Getenv "SERVICE_SPECIFICATION_ID" }}",
"parameters": {
"schema": {
"type": "object",
"required": [
"scope_id"
],
"properties": {
"scope_id": {
"type": "string"
}
}
},
"values": {}
},
"results": {
"schema": {
"type": "object",
"required": [],
"properties": {}
},
"values": {}
}
}
33 changes: 33 additions & 0 deletions azure-aro/specs/actions/finalize-blue-green.json.tpl
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
{
"name": "finalize-blue-green",
"slug": "finalize-blue-green",
"type": "custom",
"retryable": false,
"service_specification_id": "{{ env.Getenv "SERVICE_SPECIFICATION_ID" }}",
"parameters": {
"schema": {
"type": "object",
"required": [
"scope_id",
"deployment_id"
],
"properties": {
"scope_id": {
"type": "string"
},
"deployment_id": {
"type": "string"
}
}
},
"values": {}
},
"results": {
"schema": {
"type": "object",
"required": [],
"properties": {}
},
"values": {}
}
}
18 changes: 18 additions & 0 deletions azure-aro/specs/actions/kill-instances.json.tpl
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"name": "Kill instances",
"type": "custom",
"icon": "material-symbols:delete-outline",
"results": {
"schema": { "type": "object", "required": [], "properties": {} },
"values": {}
},
"service_specification_id": "{{ env.Getenv "SERVICE_SPECIFICATION_ID" }}",
"parameters": {
"schema": { "type": "object", "required": [], "properties": {} },
"values": {}
},
"annotations": {
"show_on": ["performance"],
"runs_over": "scope"
}
}
19 changes: 19 additions & 0 deletions azure-aro/specs/actions/pause-autoscaling.json.tpl
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"name": "Pause autoscaling",
"type": "custom",
"icon": "material-symbols:pause-circle-outline",
"results": {
"schema": { "type": "object", "required": [], "properties": {} },
"values": {}
},
"service_specification_id": "{{ env.Getenv "SERVICE_SPECIFICATION_ID" }}",
"parameters": {
"schema": { "type": "object", "required": [], "properties": {} },
"values": {}
},
"annotations": {
"show_on": ["performance"],
"runs_over": "scope"
},
"enabled_when": ".service.attributes.scaling_type == \"auto\""
}
30 changes: 30 additions & 0 deletions azure-aro/specs/actions/restart-pods.json.tpl
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
{
"name": "Restart pods",
"type": "custom",
"icon": "material-symbols:refresh",
"results": {
"schema": {
"type": "object",
"required": [],
"properties": {}
},
"values": {}
},
"service_specification_id": "{{ env.Getenv "SERVICE_SPECIFICATION_ID" }}",
"parameters": {
"schema": {
"type": "object",
"required": [
],
"properties": {
}
},
"values": {}
},
"annotations": {
"show_on": [
"performance"
],
"runs_over": "scope"
}
}
19 changes: 19 additions & 0 deletions azure-aro/specs/actions/resume-autoscaling.json.tpl
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"name": "Resume autoscaling",
"type": "custom",
"icon": "material-symbols:play-circle-outline",
"results": {
"schema": { "type": "object", "required": [], "properties": {} },
"values": {}
},
"service_specification_id": "{{ env.Getenv "SERVICE_SPECIFICATION_ID" }}",
"parameters": {
"schema": { "type": "object", "required": [], "properties": {} },
"values": {}
},
"annotations": {
"show_on": ["performance"],
"runs_over": "scope"
},
"enabled_when": ".service.attributes.scaling_type == \"auto\""
}
33 changes: 33 additions & 0 deletions azure-aro/specs/actions/rollback-deployment.json.tpl
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
{
"name": "rollback-deployment",
"slug": "rollback-deployment",
"type": "custom",
"retryable": false,
"service_specification_id": "{{ env.Getenv "SERVICE_SPECIFICATION_ID" }}",
"parameters": {
"schema": {
"type": "object",
"required": [
"scope_id",
"deployment_id"
],
"properties": {
"scope_id": {
"type": "string"
},
"deployment_id": {
"type": "string"
}
}
},
"values": {}
},
"results": {
"schema": {
"type": "object",
"required": [],
"properties": {}
},
"values": {}
}
}
33 changes: 33 additions & 0 deletions azure-aro/specs/actions/set-desired-instance-count.json.tpl
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
{
"name": "Set desired instance count",
"type": "custom",
"icon": "material-symbols:note-add-outline",
"results": {
"schema": { "type": "object", "required": [], "properties": {} },
"values": {}
},
"service_specification_id": "{{ env.Getenv "SERVICE_SPECIFICATION_ID" }}",
"parameters": {
"schema": {
"type": "object",
"required": ["desired_instances"],
"properties": {
"desired_instances": {
"type": "integer",
"title": "Desired Instance Count",
"description": "Set the number of instances you want to run",
"additionalKeywords": {
"default": ".service.attributes.autoscaling.min_replicas // 1",
"maximum": ".service.attributes.autoscaling.max_replicas // 10",
"minimum": ".service.attributes.autoscaling.min_replicas // 1"
}
}
}
},
"values": {}
},
"annotations": {
"show_on": ["performance"],
"runs_over": "scope"
}
}
33 changes: 33 additions & 0 deletions azure-aro/specs/actions/start-blue-green.json.tpl
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
{
"name": "start-blue-green",
"slug": "start-blue-green",
"type": "custom",
"retryable": false,
"service_specification_id": "{{ env.Getenv "SERVICE_SPECIFICATION_ID" }}",
"parameters": {
"schema": {
"type": "object",
"required": [
"scope_id",
"deployment_id"
],
"properties": {
"scope_id": {
"type": "string"
},
"deployment_id": {
"type": "string"
}
}
},
"values": {}
},
"results": {
"schema": {
"type": "object",
"required": [],
"properties": {}
},
"values": {}
}
}
32 changes: 32 additions & 0 deletions azure-aro/specs/actions/start-initial.json.tpl
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
{
"name": "start-initial",
"slug": "start-initial",
"type": "custom",
"service_specification_id": "{{ env.Getenv "SERVICE_SPECIFICATION_ID" }}",
"parameters": {
"schema": {
"type": "object",
"required": [
"scope_id",
"deployment_id"
],
"properties": {
"scope_id": {
"type": "string"
},
"deployment_id": {
"type": "string"
}
}
},
"values": {}
},
"results": {
"schema": {
"type": "object",
"required": [],
"properties": {}
},
"values": {}
}
}
Loading