From cbef645e0c8bdaaaad76d0e041fc2c1a0a2cf276 Mon Sep 17 00:00:00 2001 From: Ryan Lettieri Date: Tue, 7 Jan 2025 09:03:36 -0700 Subject: [PATCH] Separating sku name and capacity Signed-off-by: Ryan Lettieri --- Commands/durabletask/scheduler/_create.md | 4 +- Commands/tree.json | 2 +- .../2024-10-01-preview.json | 2 +- .../2024-10-01-preview.xml | 38 +++++++++---------- 4 files changed, 22 insertions(+), 24 deletions(-) diff --git a/Commands/durabletask/scheduler/_create.md b/Commands/durabletask/scheduler/_create.md index 483e15d9c..e8488f13d 100644 --- a/Commands/durabletask/scheduler/_create.md +++ b/Commands/durabletask/scheduler/_create.md @@ -10,7 +10,7 @@ Create a Scheduler #### examples -- Create a scheduler in eastus +- Create a scheduler in northcentralus ```bash - durable-task scheduler create --resource-group testrg --scheduler-name testscheduler --location eastus --ip-allowlist "[0.0.0.0/0]" --sku "{capacity: 1, name:Dedicated, redundancyState: None}" --tags "{}" + durable-task scheduler create --resource-group testrg --scheduler-name testscheduler --location northcentralus --ip-allowlist "[0.0.0.0/0]" --sku-capacity "1", --sku-name "Dedicated" --tags "{}" ``` diff --git a/Commands/tree.json b/Commands/tree.json index 025dd698f..4a9d78ee5 100644 --- a/Commands/tree.json +++ b/Commands/tree.json @@ -46460,7 +46460,7 @@ "examples": [ { "commands": [ - "durable-task scheduler create --resource-group testrg --scheduler-name testscheduler --location eastus --ip-allowlist \"[0.0.0.0/0]\" --sku \"{capacity: 1, name:Dedicated, redundancyState: None}\" --tags \"{}\"" + "durable-task scheduler create --resource-group testrg --scheduler-name testscheduler --location northcentralus --ip-allowlist \"[0.0.0.0/0]\" --sku-capacity \"1\", --sku-name \"Dedicated\" --tags \"{}\"" ], "name": "Create a scheduler in eastus" } diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kdXJhYmxldGFzay9zY2hlZHVsZXJzL3t9/2024-10-01-preview.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kdXJhYmxldGFzay9zY2hlZHVsZXJzL3t9/2024-10-01-preview.json index dcea3e9df..3c87561c5 100644 --- a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kdXJhYmxldGFzay9zY2hlZHVsZXJzL3t9/2024-10-01-preview.json +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kdXJhYmxldGFzay9zY2hlZHVsZXJzL3t9/2024-10-01-preview.json @@ -1 +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"}}, {"type": "object", "var": "$resource.properties.sku", "options": ["sku"], "group": "Properties", "help": {"short": "SKU of the durable task scheduler"}, "args": [{"type": "integer32", "var": "$resource.properties.sku.capacity", "options": ["capacity"], "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": ["name"], "required": true, "help": {"short": "The name of the SKU"}}]}]}, {"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"}}}]}], "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", "arg": "$resource.properties.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"}}, {"type": "object", "var": "$resource.properties.sku", "options": ["sku"], "group": "Properties", "help": {"short": "SKU of the durable task scheduler"}, "args": [{"nullable": true, "type": "integer32", "var": "$resource.properties.sku.capacity", "options": ["capacity"], "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": ["name"], "help": {"short": "The name of the SKU"}}]}]}, {"name": "Resource", "args": [{"nullable": true, "type": "object", "var": "$resource.tags", "options": ["tags"], "group": "Resource", "help": {"short": "Resource tags."}, "additionalProps": {"item": {"nullable": true, "type": "string"}}}]}], "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", "arg": "$resource.properties.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 +{"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 index 16872fd7e..0df3de172 100644 --- a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kdXJhYmxldGFzay9zY2hlZHVsZXJzL3t9/2024-10-01-preview.xml +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kdXJhYmxldGFzay9zY2hlZHVsZXJzL3t9/2024-10-01-preview.xml @@ -173,15 +173,6 @@ - - - - - - - - - @@ -194,6 +185,14 @@ + + + + + + + + @@ -221,7 +220,7 @@ - + @@ -329,15 +328,6 @@ - - - - - - - - - @@ -347,6 +337,14 @@ + + + + + + + + @@ -451,7 +449,7 @@ - +