diff --git a/Commands/durabletask/readme.md b/Commands/durabletask/readme.md index 3c308d181..691b63b98 100644 --- a/Commands/durabletask/readme.md +++ b/Commands/durabletask/readme.md @@ -1,11 +1,14 @@ # [Group] _durabletask_ -Commands to manage Durabletasks. +Commands to manage Durabletask schedulers and taskhubs ## Subgroups - [namespace](/Commands/durabletask/namespace/readme.md) : Commands to manage Durabletask namespaces +- [scheduler](/Commands/durabletask/scheduler/readme.md) +: Commands to manage Durabletask schedulers + - [taskhub](/Commands/durabletask/taskhub/readme.md) -: Commands to manage Durabletask taskhubs. +: Commands to manage Durabletask taskhubs diff --git a/Commands/durabletask/scheduler/_create.md b/Commands/durabletask/scheduler/_create.md new file mode 100644 index 000000000..610d02a44 --- /dev/null +++ b/Commands/durabletask/scheduler/_create.md @@ -0,0 +1,16 @@ +# [Command] _durabletask scheduler create_ + +Create a Scheduler + +## Versions + +### [2024-10-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kdXJhYmxldGFzay9zY2hlZHVsZXJzL3t9/2024-10-01-preview.xml) **Stable** + + + +#### examples + +- Create a scheduler in eastus + ```bash + durable-task scheduler create --resource-group testrg --scheduler-name testscheduler --location eastus --ip-allowlist "[0.0.0.0/0]" --sku-capacity "1", --sku-name "Dedicated" --tags "{}" + ``` diff --git a/Commands/durabletask/scheduler/_delete.md b/Commands/durabletask/scheduler/_delete.md new file mode 100644 index 000000000..86144198f --- /dev/null +++ b/Commands/durabletask/scheduler/_delete.md @@ -0,0 +1,16 @@ +# [Command] _durabletask scheduler delete_ + +Delete a Scheduler + +## Versions + +### [2024-10-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kdXJhYmxldGFzay9zY2hlZHVsZXJzL3t9/2024-10-01-preview.xml) **Stable** + + + +#### examples + +- Delete a scheduler + ```bash + durable-task scheduler delete --resource-group testrg --scheduler-name testscheduler + ``` diff --git a/Commands/durabletask/scheduler/_list.md b/Commands/durabletask/scheduler/_list.md new file mode 100644 index 000000000..ba0669475 --- /dev/null +++ b/Commands/durabletask/scheduler/_list.md @@ -0,0 +1,17 @@ +# [Command] _durabletask scheduler list_ + +List Schedulers by subscription + +## Versions + +### [2024-10-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kdXJhYmxldGFzay9zY2hlZHVsZXJz/2024-10-01-preview.xml) **Stable** + + + + +#### examples + +- List all schedulers in a resource group + ```bash + durable-task scheduler list -g testrg + ``` diff --git a/Commands/durabletask/scheduler/_show.md b/Commands/durabletask/scheduler/_show.md new file mode 100644 index 000000000..f660345fb --- /dev/null +++ b/Commands/durabletask/scheduler/_show.md @@ -0,0 +1,16 @@ +# [Command] _durabletask scheduler show_ + +Get a Scheduler + +## Versions + +### [2024-10-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kdXJhYmxldGFzay9zY2hlZHVsZXJzL3t9/2024-10-01-preview.xml) **Stable** + + + +#### examples + +- Show information on a particular scheduler + ```bash + durable-task scheduler show --resource-group testrg --scheduler-name testscheduler + ``` diff --git a/Commands/durabletask/scheduler/_update.md b/Commands/durabletask/scheduler/_update.md new file mode 100644 index 000000000..1fe5d89fd --- /dev/null +++ b/Commands/durabletask/scheduler/_update.md @@ -0,0 +1,9 @@ +# [Command] _durabletask scheduler update_ + +Update a Scheduler + +## Versions + +### [2024-10-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kdXJhYmxldGFzay9zY2hlZHVsZXJzL3t9/2024-10-01-preview.xml) **Stable** + + diff --git a/Commands/durabletask/scheduler/readme.md b/Commands/durabletask/scheduler/readme.md new file mode 100644 index 000000000..d7cde660b --- /dev/null +++ b/Commands/durabletask/scheduler/readme.md @@ -0,0 +1,20 @@ +# [Group] _durabletask scheduler_ + +Commands to manage Durabletask schedulers + +## Commands + +- [create](/Commands/durabletask/scheduler/_create.md) +: Create a Scheduler + +- [delete](/Commands/durabletask/scheduler/_delete.md) +: Delete a Scheduler + +- [list](/Commands/durabletask/scheduler/_list.md) +: List Schedulers by subscription + +- [show](/Commands/durabletask/scheduler/_show.md) +: Get a Scheduler + +- [update](/Commands/durabletask/scheduler/_update.md) +: Update a Scheduler diff --git a/Commands/durabletask/taskhub/_create.md b/Commands/durabletask/taskhub/_create.md index 6a8a1af94..3b5f407f3 100644 --- a/Commands/durabletask/taskhub/_create.md +++ b/Commands/durabletask/taskhub/_create.md @@ -14,3 +14,14 @@ Create a Task Hub ```bash durabletask taskhub create -g resource-group-name -s testnamespace -n taskhub-name ``` + +### [2024-10-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kdXJhYmxldGFzay9zY2hlZHVsZXJzL3t9L3Rhc2todWJzL3t9/2024-10-01-preview.xml) **Stable** + + + +#### examples + +- Create a taskhub in a scheduler + ```bash + durabletask taskhub create --resource-group testrg--scheduler-name testscheduler --task-hub-name testtaskhub + ``` diff --git a/Commands/durabletask/taskhub/_delete.md b/Commands/durabletask/taskhub/_delete.md index 4f93ac1be..f2bfb247b 100644 --- a/Commands/durabletask/taskhub/_delete.md +++ b/Commands/durabletask/taskhub/_delete.md @@ -14,3 +14,14 @@ Delete a Task Hub ```bash durabletask taskhub delete -g resource-grou-name -s namespace-name -n taskhub-name ``` + +### [2024-10-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kdXJhYmxldGFzay9zY2hlZHVsZXJzL3t9L3Rhc2todWJzL3t9/2024-10-01-preview.xml) **Stable** + + + +#### examples + +- Delete a taskhub in a scheduler + ```bash + durabletask taskhub delete --resource-group testrg --scheduler-name testscheduler --task-hub-name testtuskhub + ``` diff --git a/Commands/durabletask/taskhub/_list.md b/Commands/durabletask/taskhub/_list.md index 60a3b6017..63cd630f8 100644 --- a/Commands/durabletask/taskhub/_list.md +++ b/Commands/durabletask/taskhub/_list.md @@ -14,3 +14,14 @@ List Task Hubs ```bash durabletask taskhub show -g resource-group-name -s namespace-name ``` + +### [2024-10-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kdXJhYmxldGFzay9zY2hlZHVsZXJzL3t9L3Rhc2todWJz/2024-10-01-preview.xml) **Stable** + + + +#### examples + +- List all taskhubs for a given scheduler + ```bash + durabletask taskhub list --resource-group testrg --scheduler-name testscheduler + ``` diff --git a/Commands/durabletask/taskhub/_show.md b/Commands/durabletask/taskhub/_show.md index 10353e685..53798e4c9 100644 --- a/Commands/durabletask/taskhub/_show.md +++ b/Commands/durabletask/taskhub/_show.md @@ -14,3 +14,14 @@ Get a Task Hub ```bash durabletask taskhub show -g resource-group-name -s namespace-name -n taskhub-name ``` + +### [2024-10-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kdXJhYmxldGFzay9zY2hlZHVsZXJzL3t9L3Rhc2todWJzL3t9/2024-10-01-preview.xml) **Stable** + + + +#### examples + +- Show information on a particular taskhub + ```bash + durabletask taskhub show --resource-group testrg --scheduler-name testscheduler --task-hub-name testtuskhub + ``` diff --git a/Commands/durabletask/taskhub/_update.md b/Commands/durabletask/taskhub/_update.md index d8f143fb3..6029d1c1e 100644 --- a/Commands/durabletask/taskhub/_update.md +++ b/Commands/durabletask/taskhub/_update.md @@ -7,3 +7,7 @@ Update a Task Hub ### [2024-02-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kdXJhYmxldGFzay9uYW1lc3BhY2VzL3t9L3Rhc2todWJzL3t9/2024-02-01-preview.xml) **Preview** + +### [2024-10-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kdXJhYmxldGFzay9zY2hlZHVsZXJzL3t9L3Rhc2todWJzL3t9/2024-10-01-preview.xml) **Stable** + + diff --git a/Commands/durabletask/taskhub/readme.md b/Commands/durabletask/taskhub/readme.md index bed91bc39..9f67ced1f 100644 --- a/Commands/durabletask/taskhub/readme.md +++ b/Commands/durabletask/taskhub/readme.md @@ -1,6 +1,6 @@ # [Group] _durabletask taskhub_ -Commands to manage Durabletask taskhubs. +Commands to manage Durabletask taskhubs ## Commands diff --git a/Commands/readme.md b/Commands/readme.md index 0ea219b47..2a8373218 100644 --- a/Commands/readme.md +++ b/Commands/readme.md @@ -141,7 +141,7 @@ : Manage Dns Resolver - [durabletask](/Commands/durabletask/readme.md) -: Commands to manage Durabletasks. +: Commands to manage Durabletask schedulers and taskhubs - [dynatrace](/Commands/dynatrace/readme.md) : Manage dynatrace diff --git a/Commands/tree.json b/Commands/tree.json index 66aa49050..88ff45508 100644 --- a/Commands/tree.json +++ b/Commands/tree.json @@ -50866,6 +50866,164 @@ "namespace" ] }, + "scheduler": { + "commands": { + "create": { + "help": { + "short": "Create a Scheduler" + }, + "names": [ + "durabletask", + "scheduler", + "create" + ], + "versions": [ + { + "examples": [ + { + "commands": [ + "durable-task scheduler create --resource-group testrg --scheduler-name testscheduler --location eastus --ip-allowlist \"[0.0.0.0/0]\" --sku-capacity \"1\", --sku-name \"Dedicated\" --tags \"{}\"" + ], + "name": "Create a scheduler in eastus" + } + ], + "name": "2024-10-01-preview", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.durabletask/schedulers/{}", + "plane": "mgmt-plane", + "version": "2024-10-01-preview" + } + ] + } + ] + }, + "delete": { + "help": { + "short": "Delete a Scheduler" + }, + "names": [ + "durabletask", + "scheduler", + "delete" + ], + "versions": [ + { + "examples": [ + { + "commands": [ + "durable-task scheduler delete --resource-group testrg --scheduler-name testscheduler" + ], + "name": "Delete a scheduler" + } + ], + "name": "2024-10-01-preview", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.durabletask/schedulers/{}", + "plane": "mgmt-plane", + "version": "2024-10-01-preview" + } + ] + } + ] + }, + "list": { + "help": { + "short": "List Schedulers by subscription" + }, + "names": [ + "durabletask", + "scheduler", + "list" + ], + "versions": [ + { + "examples": [ + { + "commands": [ + "durable-task scheduler list -g testrg" + ], + "name": "List all schedulers in a resource group" + } + ], + "name": "2024-10-01-preview", + "resources": [ + { + "id": "/subscriptions/{}/providers/microsoft.durabletask/schedulers", + "plane": "mgmt-plane", + "version": "2024-10-01-preview" + }, + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.durabletask/schedulers", + "plane": "mgmt-plane", + "version": "2024-10-01-preview" + } + ] + } + ] + }, + "show": { + "help": { + "short": "Get a Scheduler" + }, + "names": [ + "durabletask", + "scheduler", + "show" + ], + "versions": [ + { + "examples": [ + { + "commands": [ + "durable-task scheduler show --resource-group testrg --scheduler-name testscheduler" + ], + "name": "Show information on a particular scheduler" + } + ], + "name": "2024-10-01-preview", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.durabletask/schedulers/{}", + "plane": "mgmt-plane", + "version": "2024-10-01-preview" + } + ] + } + ] + }, + "update": { + "help": { + "short": "Update a Scheduler" + }, + "names": [ + "durabletask", + "scheduler", + "update" + ], + "versions": [ + { + "name": "2024-10-01-preview", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.durabletask/schedulers/{}", + "plane": "mgmt-plane", + "version": "2024-10-01-preview" + } + ] + } + ] + } + }, + "help": { + "short": "Commands to manage Durabletask schedulers" + }, + "names": [ + "durabletask", + "scheduler" + ] + }, "taskhub": { "commands": { "create": { @@ -50896,6 +51054,24 @@ } ], "stage": "Preview" + }, + { + "examples": [ + { + "commands": [ + "durabletask taskhub create --resource-group testrg--scheduler-name testscheduler --task-hub-name testtaskhub" + ], + "name": "Create a taskhub in a scheduler" + } + ], + "name": "2024-10-01-preview", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.durabletask/schedulers/{}/taskhubs/{}", + "plane": "mgmt-plane", + "version": "2024-10-01-preview" + } + ] } ] }, @@ -50927,6 +51103,24 @@ } ], "stage": "Preview" + }, + { + "examples": [ + { + "commands": [ + "durabletask taskhub delete --resource-group testrg --scheduler-name testscheduler --task-hub-name testtuskhub" + ], + "name": "Delete a taskhub in a scheduler" + } + ], + "name": "2024-10-01-preview", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.durabletask/schedulers/{}/taskhubs/{}", + "plane": "mgmt-plane", + "version": "2024-10-01-preview" + } + ] } ] }, @@ -50958,6 +51152,24 @@ } ], "stage": "Preview" + }, + { + "examples": [ + { + "commands": [ + "durabletask taskhub list --resource-group testrg --scheduler-name testscheduler" + ], + "name": "List all taskhubs for a given scheduler" + } + ], + "name": "2024-10-01-preview", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.durabletask/schedulers/{}/taskhubs", + "plane": "mgmt-plane", + "version": "2024-10-01-preview" + } + ] } ] }, @@ -50989,6 +51201,24 @@ } ], "stage": "Preview" + }, + { + "examples": [ + { + "commands": [ + "durabletask taskhub show --resource-group testrg --scheduler-name testscheduler --task-hub-name testtuskhub" + ], + "name": "Show information on a particular taskhub" + } + ], + "name": "2024-10-01-preview", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.durabletask/schedulers/{}/taskhubs/{}", + "plane": "mgmt-plane", + "version": "2024-10-01-preview" + } + ] } ] }, @@ -51012,12 +51242,22 @@ } ], "stage": "Preview" + }, + { + "name": "2024-10-01-preview", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.durabletask/schedulers/{}/taskhubs/{}", + "plane": "mgmt-plane", + "version": "2024-10-01-preview" + } + ] } ] } }, "help": { - "short": "Commands to manage Durabletask taskhubs." + "short": "Commands to manage Durabletask taskhubs" }, "names": [ "durabletask", @@ -51026,7 +51266,7 @@ } }, "help": { - "short": "Commands to manage Durabletasks." + "short": "Commands to manage Durabletask schedulers and taskhubs" }, "names": [ "durabletask" diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kdXJhYmxldGFzay9zY2hlZHVsZXJz/2024-10-01-preview.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kdXJhYmxldGFzay9zY2hlZHVsZXJz/2024-10-01-preview.json new file mode 100644 index 000000000..e0ae7a8fe --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kdXJhYmxldGFzay9zY2hlZHVsZXJz/2024-10-01-preview.json @@ -0,0 +1 @@ +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/providers/microsoft.durabletask/schedulers", "version": "2024-10-01-preview", "swagger": "mgmt-plane/durabletask/ResourceProviders/Microsoft.DurableTask/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9wcm92aWRlcnMvTWljcm9zb2Z0LkR1cmFibGVUYXNrL3NjaGVkdWxlcnM=/V/MjAyNC0xMC0wMS1wcmV2aWV3"}, {"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.durabletask/schedulers", "version": "2024-10-01-preview", "swagger": "mgmt-plane/durabletask/ResourceProviders/Microsoft.DurableTask/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRHVyYWJsZVRhc2svc2NoZWR1bGVycw==/V/MjAyNC0xMC0wMS1wcmV2aWV3"}], "commandGroups": [{"name": "durabletask scheduler", "commands": [{"name": "list", "version": "2024-10-01-preview", "resources": [{"id": "/subscriptions/{}/providers/microsoft.durabletask/schedulers", "version": "2024-10-01-preview", "swagger": "mgmt-plane/durabletask/ResourceProviders/Microsoft.DurableTask/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9wcm92aWRlcnMvTWljcm9zb2Z0LkR1cmFibGVUYXNrL3NjaGVkdWxlcnM=/V/MjAyNC0xMC0wMS1wcmV2aWV3"}, {"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.durabletask/schedulers", "version": "2024-10-01-preview", "swagger": "mgmt-plane/durabletask/ResourceProviders/Microsoft.DurableTask/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRHVyYWJsZVRhc2svc2NoZWR1bGVycw==/V/MjAyNC0xMC0wMS1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}], "conditions": [{"var": "$Condition_Schedulers_ListBySubscription", "operator": {"type": "and", "operators": [{"type": "hasValue", "arg": "$Path.subscriptionId"}, {"type": "not", "operator": {"type": "hasValue", "arg": "$Path.resourceGroupName"}}]}}, {"var": "$Condition_Schedulers_ListByResourceGroup", "operator": {"type": "and", "operators": [{"type": "hasValue", "arg": "$Path.resourceGroupName"}, {"type": "hasValue", "arg": "$Path.subscriptionId"}]}}], "operations": [{"when": ["$Condition_Schedulers_ListBySubscription"], "operationId": "Schedulers_ListBySubscription", "http": {"path": "/subscriptions/{subscriptionId}/providers/Microsoft.DurableTask/schedulers", "request": {"method": "get", "path": {"params": [{"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-10-01-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", "name": "value", "required": true, "item": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.DurableTask/schedulers/{}"}}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "string", "name": "endpoint"}, {"type": "array", "name": "ipAllowlist", "required": true, "item": {"type": "string"}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Accepted"}, {"value": "Canceled"}, {"value": "Deleting"}, {"value": "Failed"}, {"value": "Provisioning"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "object", "name": "sku", "required": true, "props": [{"type": "integer32", "name": "capacity"}, {"type": "string", "name": "name", "required": true}, {"readOnly": true, "type": "string", "name": "redundancyState", "enum": {"items": [{"value": "None"}, {"value": "Zone"}]}}]}]}, {"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"}]}}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}]}}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}, {"when": ["$Condition_Schedulers_ListByResourceGroup"], "operationId": "Schedulers_ListByResourceGroup", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DurableTask/schedulers", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-10-01-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", "name": "value", "required": true, "item": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.DurableTask/schedulers/{}"}}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "string", "name": "endpoint"}, {"type": "array", "name": "ipAllowlist", "required": true, "item": {"type": "string"}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Accepted"}, {"value": "Canceled"}, {"value": "Deleting"}, {"value": "Failed"}, {"value": "Provisioning"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "object", "name": "sku", "required": true, "props": [{"type": "integer32", "name": "capacity"}, {"type": "string", "name": "name", "required": true}, {"readOnly": true, "type": "string", "name": "redundancyState", "enum": {"items": [{"value": "None"}, {"value": "Zone"}]}}]}]}, {"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"}]}}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}]}}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "array", "ref": "$Instance.value", "clientFlatten": true, "nextLink": "$Instance.nextLink"}]}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kdXJhYmxldGFzay9zY2hlZHVsZXJz/2024-10-01-preview.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kdXJhYmxldGFzay9zY2hlZHVsZXJz/2024-10-01-preview.xml new file mode 100644 index 000000000..193b3f149 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kdXJhYmxldGFzay9zY2hlZHVsZXJz/2024-10-01-preview.xml @@ -0,0 +1,223 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kdXJhYmxldGFzay9zY2hlZHVsZXJz/2024-10-01-preview.md b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kdXJhYmxldGFzay9zY2hlZHVsZXJz/2024-10-01-preview.md new file mode 100644 index 000000000..6b83a62d0 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kdXJhYmxldGFzay9zY2hlZHVsZXJz/2024-10-01-preview.md @@ -0,0 +1 @@ +Reference [/subscriptions/{}/providers/microsoft.durabletask/schedulers 2024-10-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kdXJhYmxldGFzay9zY2hlZHVsZXJz/2024-10-01-preview.xml) diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kdXJhYmxldGFzay9zY2hlZHVsZXJzL3t9/2024-10-01-preview.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kdXJhYmxldGFzay9zY2hlZHVsZXJzL3t9/2024-10-01-preview.json new file mode 100644 index 000000000..3c87561c5 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kdXJhYmxldGFzay9zY2hlZHVsZXJzL3t9/2024-10-01-preview.json @@ -0,0 +1 @@ +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.durabletask/schedulers/{}", "version": "2024-10-01-preview", "swagger": "mgmt-plane/durabletask/ResourceProviders/Microsoft.DurableTask/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRHVyYWJsZVRhc2svc2NoZWR1bGVycy97c2NoZWR1bGVyTmFtZX0=/V/MjAyNC0xMC0wMS1wcmV2aWV3"}], "commandGroups": [{"name": "durabletask scheduler", "commands": [{"name": "show", "version": "2024-10-01-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.durabletask/schedulers/{}", "version": "2024-10-01-preview", "swagger": "mgmt-plane/durabletask/ResourceProviders/Microsoft.DurableTask/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRHVyYWJsZVRhc2svc2NoZWR1bGVycy97c2NoZWR1bGVyTmFtZX0=/V/MjAyNC0xMC0wMS1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "string", "var": "$Path.schedulerName", "options": ["n", "name", "scheduler-name"], "required": true, "idPart": "name", "help": {"short": "The name of the Scheduler"}, "format": {"pattern": "^[a-zA-Z0-9-]{3,64}$"}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}], "operations": [{"operationId": "Schedulers_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DurableTask/schedulers/{schedulerName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "schedulerName", "arg": "$Path.schedulerName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,64}$"}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-10-01-preview"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.DurableTask/schedulers/{}"}}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "string", "name": "endpoint"}, {"type": "array", "name": "ipAllowlist", "required": true, "item": {"type": "string"}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Accepted"}, {"value": "Canceled"}, {"value": "Deleting"}, {"value": "Failed"}, {"value": "Provisioning"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "object", "name": "sku", "required": true, "props": [{"type": "integer32", "name": "capacity"}, {"type": "string", "name": "name", "required": true}, {"readOnly": true, "type": "string", "name": "redundancyState", "enum": {"items": [{"value": "None"}, {"value": "Zone"}]}}]}]}, {"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"}]}}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}, {"name": "delete", "version": "2024-10-01-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.durabletask/schedulers/{}", "version": "2024-10-01-preview", "swagger": "mgmt-plane/durabletask/ResourceProviders/Microsoft.DurableTask/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRHVyYWJsZVRhc2svc2NoZWR1bGVycy97c2NoZWR1bGVyTmFtZX0=/V/MjAyNC0xMC0wMS1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "string", "var": "$Path.schedulerName", "options": ["n", "name", "scheduler-name"], "required": true, "idPart": "name", "help": {"short": "The name of the Scheduler"}, "format": {"pattern": "^[a-zA-Z0-9-]{3,64}$"}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}], "operations": [{"longRunning": {"finalStateVia": "location"}, "operationId": "Schedulers_Delete", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DurableTask/schedulers/{schedulerName}", "request": {"method": "delete", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "schedulerName", "arg": "$Path.schedulerName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,64}$"}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-10-01-preview"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [202], "header": {"items": [{"name": "Location"}, {"name": "Retry-After"}]}}, {"statusCode": [204]}, {"statusCode": [200, 201]}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "confirmation": "Are you sure you want to perform this operation?"}, {"name": "create", "version": "2024-10-01-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.durabletask/schedulers/{}", "version": "2024-10-01-preview", "swagger": "mgmt-plane/durabletask/ResourceProviders/Microsoft.DurableTask/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRHVyYWJsZVRhc2svc2NoZWR1bGVycy97c2NoZWR1bGVyTmFtZX0=/V/MjAyNC0xMC0wMS1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "string", "var": "$Path.schedulerName", "options": ["n", "name", "scheduler-name"], "required": true, "idPart": "name", "help": {"short": "The name of the Scheduler"}, "format": {"pattern": "^[a-zA-Z0-9-]{3,64}$"}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}, {"name": "Properties", "args": [{"type": "array", "var": "$resource.properties.ipAllowlist", "options": ["ip-allowlist"], "group": "Properties", "help": {"short": "IP allow list for durable task scheduler. Values can be IPv4, IPv6 or CIDR"}, "item": {"type": "string"}}]}, {"name": "Resource", "args": [{"type": "ResourceLocation", "var": "$resource.location", "options": ["l", "location"], "required": true, "group": "Resource", "help": {"short": "The geo-location where the resource lives"}}, {"type": "object", "var": "$resource.tags", "options": ["tags"], "group": "Resource", "help": {"short": "Resource tags."}, "additionalProps": {"item": {"type": "string"}}}]}, {"name": "Sku", "args": [{"type": "integer32", "var": "$resource.properties.sku.capacity", "options": ["sku-capacity"], "group": "Sku", "help": {"short": "The SKU capacity. This allows scale out/in for the resource and impacts zone redundancy"}}, {"type": "string", "var": "$resource.properties.sku.name", "options": ["sku-name"], "group": "Sku", "help": {"short": "The name of the SKU"}}]}], "operations": [{"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "Schedulers_CreateOrUpdate", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DurableTask/schedulers/{schedulerName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "schedulerName", "arg": "$Path.schedulerName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,64}$"}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-10-01-preview"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}, "body": {"json": {"schema": {"type": "object", "name": "resource", "required": true, "props": [{"type": "ResourceLocation", "name": "location", "arg": "$resource.location", "required": true}, {"type": "object", "name": "properties", "props": [{"type": "array", "name": "ipAllowlist", "arg": "$resource.properties.ipAllowlist", "required": true, "item": {"type": "string"}}, {"type": "object", "name": "sku", "required": true, "props": [{"type": "integer32", "name": "capacity", "arg": "$resource.properties.sku.capacity"}, {"type": "string", "name": "name", "arg": "$resource.properties.sku.name", "required": true}]}]}, {"type": "object", "name": "tags", "arg": "$resource.tags", "additionalProps": {"item": {"type": "string"}}}], "clientFlatten": true}}}}, "responses": [{"statusCode": [200, 201], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.DurableTask/schedulers/{}"}}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "string", "name": "endpoint"}, {"type": "array", "name": "ipAllowlist", "required": true, "item": {"type": "string"}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Accepted"}, {"value": "Canceled"}, {"value": "Deleting"}, {"value": "Failed"}, {"value": "Provisioning"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "object", "name": "sku", "required": true, "props": [{"type": "integer32", "name": "capacity"}, {"type": "string", "name": "name", "required": true}, {"readOnly": true, "type": "string", "name": "redundancyState", "enum": {"items": [{"value": "None"}, {"value": "Zone"}]}}]}]}, {"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"}]}}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}, {"name": "update", "version": "2024-10-01-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.durabletask/schedulers/{}", "version": "2024-10-01-preview", "swagger": "mgmt-plane/durabletask/ResourceProviders/Microsoft.DurableTask/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRHVyYWJsZVRhc2svc2NoZWR1bGVycy97c2NoZWR1bGVyTmFtZX0=/V/MjAyNC0xMC0wMS1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "string", "var": "$Path.schedulerName", "options": ["n", "name", "scheduler-name"], "required": true, "idPart": "name", "help": {"short": "The name of the Scheduler"}, "format": {"pattern": "^[a-zA-Z0-9-]{3,64}$"}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}, {"name": "Properties", "args": [{"type": "array", "var": "$resource.properties.ipAllowlist", "options": ["ip-allowlist"], "group": "Properties", "help": {"short": "IP allow list for durable task scheduler. Values can be IPv4, IPv6 or CIDR"}, "item": {"nullable": true, "type": "string"}}]}, {"name": "Resource", "args": [{"nullable": true, "type": "object", "var": "$resource.tags", "options": ["tags"], "group": "Resource", "help": {"short": "Resource tags."}, "additionalProps": {"item": {"nullable": true, "type": "string"}}}]}, {"name": "Sku", "args": [{"nullable": true, "type": "integer32", "var": "$resource.properties.sku.capacity", "options": ["sku-capacity"], "group": "Sku", "help": {"short": "The SKU capacity. This allows scale out/in for the resource and impacts zone redundancy"}}, {"type": "string", "var": "$resource.properties.sku.name", "options": ["sku-name"], "group": "Sku", "help": {"short": "The name of the SKU"}}]}], "operations": [{"operationId": "Schedulers_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DurableTask/schedulers/{schedulerName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "schedulerName", "arg": "$Path.schedulerName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,64}$"}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-10-01-preview"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.DurableTask/schedulers/{}"}}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "string", "name": "endpoint"}, {"type": "array", "name": "ipAllowlist", "required": true, "item": {"type": "string"}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Accepted"}, {"value": "Canceled"}, {"value": "Deleting"}, {"value": "Failed"}, {"value": "Provisioning"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "object", "name": "sku", "required": true, "props": [{"type": "integer32", "name": "capacity"}, {"type": "string", "name": "name", "required": true}, {"readOnly": true, "type": "string", "name": "redundancyState", "enum": {"items": [{"value": "None"}, {"value": "Zone"}]}}]}]}, {"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"}]}}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}], "cls": "Scheduler_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}, {"instanceUpdate": {"ref": "$Instance", "json": {"schema": {"type": "object", "name": "resource", "required": true, "props": [{"type": "object", "name": "properties", "props": [{"type": "array", "name": "ipAllowlist", "arg": "$resource.properties.ipAllowlist", "required": true, "item": {"type": "string"}}, {"type": "object", "name": "sku", "required": true, "props": [{"type": "integer32", "name": "capacity", "arg": "$resource.properties.sku.capacity"}, {"type": "string", "name": "name", "arg": "$resource.properties.sku.name", "required": true}]}]}, {"type": "object", "name": "tags", "arg": "$resource.tags", "additionalProps": {"item": {"type": "string"}}}], "clientFlatten": true}}}}, {"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "Schedulers_CreateOrUpdate", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DurableTask/schedulers/{schedulerName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "schedulerName", "arg": "$Path.schedulerName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,64}$"}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-10-01-preview"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}, "body": {"json": {"ref": "$Instance"}}}, "responses": [{"statusCode": [200, 201], "body": {"json": {"var": "$Instance", "schema": {"type": "@Scheduler_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kdXJhYmxldGFzay9zY2hlZHVsZXJzL3t9/2024-10-01-preview.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kdXJhYmxldGFzay9zY2hlZHVsZXJzL3t9/2024-10-01-preview.xml new file mode 100644 index 000000000..0df3de172 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kdXJhYmxldGFzay9zY2hlZHVsZXJzL3t9/2024-10-01-preview.xml @@ -0,0 +1,508 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + +
+
+ + + + + + + + + +
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kdXJhYmxldGFzay9zY2hlZHVsZXJzL3t9L3Rhc2todWJz/2024-10-01-preview.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kdXJhYmxldGFzay9zY2hlZHVsZXJzL3t9L3Rhc2todWJz/2024-10-01-preview.json new file mode 100644 index 000000000..a9ab5c11e --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kdXJhYmxldGFzay9zY2hlZHVsZXJzL3t9L3Rhc2todWJz/2024-10-01-preview.json @@ -0,0 +1 @@ +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.durabletask/schedulers/{}/taskhubs", "version": "2024-10-01-preview", "swagger": "mgmt-plane/durabletask/ResourceProviders/Microsoft.DurableTask/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRHVyYWJsZVRhc2svc2NoZWR1bGVycy97c2NoZWR1bGVyTmFtZX0vdGFza0h1YnM=/V/MjAyNC0xMC0wMS1wcmV2aWV3"}], "commandGroups": [{"name": "durabletask taskhub", "commands": [{"name": "list", "version": "2024-10-01-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.durabletask/schedulers/{}/taskhubs", "version": "2024-10-01-preview", "swagger": "mgmt-plane/durabletask/ResourceProviders/Microsoft.DurableTask/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRHVyYWJsZVRhc2svc2NoZWR1bGVycy97c2NoZWR1bGVyTmFtZX0vdGFza0h1YnM=/V/MjAyNC0xMC0wMS1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "string", "var": "$Path.schedulerName", "options": ["scheduler-name"], "required": true, "idPart": "name", "help": {"short": "The name of the Scheduler"}, "format": {"pattern": "^[a-zA-Z0-9-]{3,64}$"}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}], "operations": [{"operationId": "TaskHubs_ListByScheduler", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DurableTask/schedulers/{schedulerName}/taskHubs", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "schedulerName", "arg": "$Path.schedulerName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,64}$"}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-10-01-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", "name": "value", "required": true, "item": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.DurableTask/schedulers/{}/taskHubs/{}"}}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "string", "name": "dashboardUrl"}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Accepted"}, {"value": "Canceled"}, {"value": "Deleting"}, {"value": "Failed"}, {"value": "Provisioning"}, {"value": "Succeeded"}, {"value": "Updating"}]}}]}, {"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": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "array", "ref": "$Instance.value", "clientFlatten": true, "nextLink": "$Instance.nextLink"}]}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kdXJhYmxldGFzay9zY2hlZHVsZXJzL3t9L3Rhc2todWJz/2024-10-01-preview.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kdXJhYmxldGFzay9zY2hlZHVsZXJzL3t9L3Rhc2todWJz/2024-10-01-preview.xml new file mode 100644 index 000000000..e5e311d18 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kdXJhYmxldGFzay9zY2hlZHVsZXJzL3t9L3Rhc2todWJz/2024-10-01-preview.xml @@ -0,0 +1,100 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kdXJhYmxldGFzay9zY2hlZHVsZXJzL3t9L3Rhc2todWJzL3t9/2024-10-01-preview.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kdXJhYmxldGFzay9zY2hlZHVsZXJzL3t9L3Rhc2todWJzL3t9/2024-10-01-preview.json new file mode 100644 index 000000000..b6a46d658 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kdXJhYmxldGFzay9zY2hlZHVsZXJzL3t9L3Rhc2todWJzL3t9/2024-10-01-preview.json @@ -0,0 +1 @@ +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.durabletask/schedulers/{}/taskhubs/{}", "version": "2024-10-01-preview", "swagger": "mgmt-plane/durabletask/ResourceProviders/Microsoft.DurableTask/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRHVyYWJsZVRhc2svc2NoZWR1bGVycy97c2NoZWR1bGVyTmFtZX0vdGFza0h1YnMve3Rhc2tIdWJOYW1lfQ==/V/MjAyNC0xMC0wMS1wcmV2aWV3"}], "commandGroups": [{"name": "durabletask taskhub", "commands": [{"name": "show", "version": "2024-10-01-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.durabletask/schedulers/{}/taskhubs/{}", "version": "2024-10-01-preview", "swagger": "mgmt-plane/durabletask/ResourceProviders/Microsoft.DurableTask/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRHVyYWJsZVRhc2svc2NoZWR1bGVycy97c2NoZWR1bGVyTmFtZX0vdGFza0h1YnMve3Rhc2tIdWJOYW1lfQ==/V/MjAyNC0xMC0wMS1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "string", "var": "$Path.schedulerName", "options": ["scheduler-name"], "required": true, "idPart": "name", "help": {"short": "The name of the Scheduler"}, "format": {"pattern": "^[a-zA-Z0-9-]{3,64}$"}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.taskHubName", "options": ["n", "name", "task-hub-name"], "required": true, "idPart": "child_name_1", "help": {"short": "The name of the TaskHub"}, "format": {"pattern": "^[a-zA-Z0-9-]{3,64}$"}}]}], "operations": [{"operationId": "TaskHubs_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DurableTask/schedulers/{schedulerName}/taskHubs/{taskHubName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "schedulerName", "arg": "$Path.schedulerName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,64}$"}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "taskHubName", "arg": "$Path.taskHubName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,64}$"}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-10-01-preview"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.DurableTask/schedulers/{}/taskHubs/{}"}}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "string", "name": "dashboardUrl"}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Accepted"}, {"value": "Canceled"}, {"value": "Deleting"}, {"value": "Failed"}, {"value": "Provisioning"}, {"value": "Succeeded"}, {"value": "Updating"}]}}]}, {"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": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}, {"name": "delete", "version": "2024-10-01-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.durabletask/schedulers/{}/taskhubs/{}", "version": "2024-10-01-preview", "swagger": "mgmt-plane/durabletask/ResourceProviders/Microsoft.DurableTask/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRHVyYWJsZVRhc2svc2NoZWR1bGVycy97c2NoZWR1bGVyTmFtZX0vdGFza0h1YnMve3Rhc2tIdWJOYW1lfQ==/V/MjAyNC0xMC0wMS1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "string", "var": "$Path.schedulerName", "options": ["scheduler-name"], "required": true, "idPart": "name", "help": {"short": "The name of the Scheduler"}, "format": {"pattern": "^[a-zA-Z0-9-]{3,64}$"}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.taskHubName", "options": ["n", "name", "task-hub-name"], "required": true, "idPart": "child_name_1", "help": {"short": "The name of the TaskHub"}, "format": {"pattern": "^[a-zA-Z0-9-]{3,64}$"}}]}], "operations": [{"longRunning": {"finalStateVia": "location"}, "operationId": "TaskHubs_Delete", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DurableTask/schedulers/{schedulerName}/taskHubs/{taskHubName}", "request": {"method": "delete", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "schedulerName", "arg": "$Path.schedulerName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,64}$"}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "taskHubName", "arg": "$Path.taskHubName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,64}$"}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-10-01-preview"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [202], "header": {"items": [{"name": "Location"}, {"name": "Retry-After"}]}}, {"statusCode": [204]}, {"statusCode": [200, 201]}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "confirmation": "Are you sure you want to perform this operation?"}, {"name": "create", "version": "2024-10-01-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.durabletask/schedulers/{}/taskhubs/{}", "version": "2024-10-01-preview", "swagger": "mgmt-plane/durabletask/ResourceProviders/Microsoft.DurableTask/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRHVyYWJsZVRhc2svc2NoZWR1bGVycy97c2NoZWR1bGVyTmFtZX0vdGFza0h1YnMve3Rhc2tIdWJOYW1lfQ==/V/MjAyNC0xMC0wMS1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "string", "var": "$Path.schedulerName", "options": ["scheduler-name"], "required": true, "idPart": "name", "help": {"short": "The name of the Scheduler"}, "format": {"pattern": "^[a-zA-Z0-9-]{3,64}$"}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.taskHubName", "options": ["n", "name", "task-hub-name"], "required": true, "idPart": "child_name_1", "help": {"short": "The name of the TaskHub"}, "format": {"pattern": "^[a-zA-Z0-9-]{3,64}$"}}]}], "operations": [{"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "TaskHubs_CreateOrUpdate", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DurableTask/schedulers/{schedulerName}/taskHubs/{taskHubName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "schedulerName", "arg": "$Path.schedulerName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,64}$"}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "taskHubName", "arg": "$Path.taskHubName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,64}$"}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-10-01-preview"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}, "body": {"json": {"schema": {"type": "object", "name": "resource", "required": true, "clientFlatten": true}}}}, "responses": [{"statusCode": [200, 201], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.DurableTask/schedulers/{}/taskHubs/{}"}}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "string", "name": "dashboardUrl"}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Accepted"}, {"value": "Canceled"}, {"value": "Deleting"}, {"value": "Failed"}, {"value": "Provisioning"}, {"value": "Succeeded"}, {"value": "Updating"}]}}]}, {"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": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}, {"name": "update", "version": "2024-10-01-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.durabletask/schedulers/{}/taskhubs/{}", "version": "2024-10-01-preview", "swagger": "mgmt-plane/durabletask/ResourceProviders/Microsoft.DurableTask/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRHVyYWJsZVRhc2svc2NoZWR1bGVycy97c2NoZWR1bGVyTmFtZX0vdGFza0h1YnMve3Rhc2tIdWJOYW1lfQ==/V/MjAyNC0xMC0wMS1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "string", "var": "$Path.schedulerName", "options": ["scheduler-name"], "required": true, "idPart": "name", "help": {"short": "The name of the Scheduler"}, "format": {"pattern": "^[a-zA-Z0-9-]{3,64}$"}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.taskHubName", "options": ["n", "name", "task-hub-name"], "required": true, "idPart": "child_name_1", "help": {"short": "The name of the TaskHub"}, "format": {"pattern": "^[a-zA-Z0-9-]{3,64}$"}}]}], "operations": [{"operationId": "TaskHubs_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DurableTask/schedulers/{schedulerName}/taskHubs/{taskHubName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "schedulerName", "arg": "$Path.schedulerName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,64}$"}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "taskHubName", "arg": "$Path.taskHubName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,64}$"}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-10-01-preview"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.DurableTask/schedulers/{}/taskHubs/{}"}}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "string", "name": "dashboardUrl"}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Accepted"}, {"value": "Canceled"}, {"value": "Deleting"}, {"value": "Failed"}, {"value": "Provisioning"}, {"value": "Succeeded"}, {"value": "Updating"}]}}]}, {"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"}], "cls": "TaskHub_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}, {"instanceUpdate": {"ref": "$Instance", "json": {"schema": {"type": "object", "name": "resource", "required": true, "clientFlatten": true}}}}, {"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "TaskHubs_CreateOrUpdate", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DurableTask/schedulers/{schedulerName}/taskHubs/{taskHubName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "schedulerName", "arg": "$Path.schedulerName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,64}$"}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "taskHubName", "arg": "$Path.taskHubName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,64}$"}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-10-01-preview"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}, "body": {"json": {"ref": "$Instance"}}}, "responses": [{"statusCode": [200, 201], "body": {"json": {"var": "$Instance", "schema": {"type": "@TaskHub_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kdXJhYmxldGFzay9zY2hlZHVsZXJzL3t9L3Rhc2todWJzL3t9/2024-10-01-preview.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kdXJhYmxldGFzay9zY2hlZHVsZXJzL3t9L3Rhc2todWJzL3t9/2024-10-01-preview.xml new file mode 100644 index 000000000..dbcfd42e5 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kdXJhYmxldGFzay9zY2hlZHVsZXJzL3t9L3Rhc2todWJzL3t9/2024-10-01-preview.xml @@ -0,0 +1,404 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + +
+
+ + + + + + + + + +
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+