diff --git a/Commands/durabletask/scheduler/_create.md b/Commands/durabletask/scheduler/_create.md index 610d02a44..3dd4b16c6 100644 --- a/Commands/durabletask/scheduler/_create.md +++ b/Commands/durabletask/scheduler/_create.md @@ -12,5 +12,5 @@ Create a Scheduler - 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 "{}" + durabletask scheduler create --resource-group testrg --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 index 86144198f..a305b7920 100644 --- a/Commands/durabletask/scheduler/_delete.md +++ b/Commands/durabletask/scheduler/_delete.md @@ -12,5 +12,5 @@ Delete a Scheduler - Delete a scheduler ```bash - durable-task scheduler delete --resource-group testrg --scheduler-name testscheduler + durabletask scheduler delete --resource-group testrg --name testscheduler ``` diff --git a/Commands/durabletask/scheduler/_list.md b/Commands/durabletask/scheduler/_list.md index ba0669475..40acffcc6 100644 --- a/Commands/durabletask/scheduler/_list.md +++ b/Commands/durabletask/scheduler/_list.md @@ -13,5 +13,5 @@ List Schedulers by subscription - List all schedulers in a resource group ```bash - durable-task scheduler list -g testrg + durabletask scheduler list -g testrg ``` diff --git a/Commands/durabletask/scheduler/_show.md b/Commands/durabletask/scheduler/_show.md index f660345fb..bcebedc64 100644 --- a/Commands/durabletask/scheduler/_show.md +++ b/Commands/durabletask/scheduler/_show.md @@ -12,5 +12,5 @@ Get a Scheduler - Show information on a particular scheduler ```bash - durable-task scheduler show --resource-group testrg --scheduler-name testscheduler + durabletask scheduler show --resource-group testrg --name testscheduler ``` diff --git a/Commands/durabletask/taskhub/_create.md b/Commands/durabletask/taskhub/_create.md index 3b5f407f3..b8fbf7904 100644 --- a/Commands/durabletask/taskhub/_create.md +++ b/Commands/durabletask/taskhub/_create.md @@ -23,5 +23,5 @@ Create a Task Hub - Create a taskhub in a scheduler ```bash - durabletask taskhub create --resource-group testrg--scheduler-name testscheduler --task-hub-name testtaskhub + durabletask taskhub create --resource-group testrg --scheduler-name testscheduler --name testtaskhub ``` diff --git a/Commands/durabletask/taskhub/_delete.md b/Commands/durabletask/taskhub/_delete.md index f2bfb247b..626dfeb8f 100644 --- a/Commands/durabletask/taskhub/_delete.md +++ b/Commands/durabletask/taskhub/_delete.md @@ -23,5 +23,5 @@ Delete a Task Hub - Delete a taskhub in a scheduler ```bash - durabletask taskhub delete --resource-group testrg --scheduler-name testscheduler --task-hub-name testtuskhub + durabletask taskhub delete --resource-group testrg --scheduler-name testscheduler --name testtuskhub ``` diff --git a/Commands/durabletask/taskhub/_show.md b/Commands/durabletask/taskhub/_show.md index 53798e4c9..6cd6f2806 100644 --- a/Commands/durabletask/taskhub/_show.md +++ b/Commands/durabletask/taskhub/_show.md @@ -23,5 +23,5 @@ Get a Task Hub - Show information on a particular taskhub ```bash - durabletask taskhub show --resource-group testrg --scheduler-name testscheduler --task-hub-name testtuskhub + durabletask taskhub show --resource-group testrg --scheduler-name testscheduler --name testtuskhub ``` diff --git a/Commands/tree.json b/Commands/tree.json index 393c505e8..9399f0666 100644 --- a/Commands/tree.json +++ b/Commands/tree.json @@ -51155,7 +51155,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\", --sku-name \"Dedicated\" --tags \"{}\"" + "durabletask scheduler create --resource-group testrg --name testscheduler --location eastus --ip-allowlist \"[0.0.0.0/0]\" --sku-capacity 1, --sku-name \"Dedicated\" --tags \"{}\"" ], "name": "Create a scheduler in eastus" } @@ -51185,7 +51185,7 @@ "examples": [ { "commands": [ - "durable-task scheduler delete --resource-group testrg --scheduler-name testscheduler" + "durabletask scheduler delete --resource-group testrg --name testscheduler" ], "name": "Delete a scheduler" } @@ -51215,7 +51215,7 @@ "examples": [ { "commands": [ - "durable-task scheduler list -g testrg" + "durabletask scheduler list -g testrg" ], "name": "List all schedulers in a resource group" } @@ -51250,7 +51250,7 @@ "examples": [ { "commands": [ - "durable-task scheduler show --resource-group testrg --scheduler-name testscheduler" + "durabletask scheduler show --resource-group testrg --name testscheduler" ], "name": "Show information on a particular scheduler" } @@ -51332,7 +51332,7 @@ "examples": [ { "commands": [ - "durabletask taskhub create --resource-group testrg--scheduler-name testscheduler --task-hub-name testtaskhub" + "durabletask taskhub create --resource-group testrg --scheduler-name testscheduler --name testtaskhub" ], "name": "Create a taskhub in a scheduler" } @@ -51381,7 +51381,7 @@ "examples": [ { "commands": [ - "durabletask taskhub delete --resource-group testrg --scheduler-name testscheduler --task-hub-name testtuskhub" + "durabletask taskhub delete --resource-group testrg --scheduler-name testscheduler --name testtuskhub" ], "name": "Delete a taskhub in a scheduler" } @@ -51479,7 +51479,7 @@ "examples": [ { "commands": [ - "durabletask taskhub show --resource-group testrg --scheduler-name testscheduler --task-hub-name testtuskhub" + "durabletask taskhub show --resource-group testrg --scheduler-name testscheduler --name testtuskhub" ], "name": "Show information on a particular taskhub" } diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL3ZpcnR1YWxodWJz/2022-01-01.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL3ZpcnR1YWxodWJz/2022-01-01.json index 181caae34..a95824ab3 100644 --- a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL3ZpcnR1YWxodWJz/2022-01-01.json +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL3ZpcnR1YWxodWJz/2022-01-01.json @@ -1 +1 @@ -{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/providers/microsoft.network/virtualhubs", "version": "2022-01-01", "swagger": "mgmt-plane/network/ResourceProviders/Microsoft.Network/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9wcm92aWRlcnMvTWljcm9zb2Z0Lk5ldHdvcmsvdmlydHVhbEh1YnM=/V/MjAyMi0wMS0wMQ=="}, {"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/virtualhubs", "version": "2022-01-01", "swagger": "mgmt-plane/network/ResourceProviders/Microsoft.Network/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29yay92aXJ0dWFsSHVicw==/V/MjAyMi0wMS0wMQ=="}], "commandGroups": [{"name": "network routeserver", "commands": [{"name": "list", "version": "2022-01-01", "resources": [{"id": "/subscriptions/{}/providers/microsoft.network/virtualhubs", "version": "2022-01-01", "swagger": "mgmt-plane/network/ResourceProviders/Microsoft.Network/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9wcm92aWRlcnMvTWljcm9zb2Z0Lk5ldHdvcmsvdmlydHVhbEh1YnM=/V/MjAyMi0wMS0wMQ=="}, {"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/virtualhubs", "version": "2022-01-01", "swagger": "mgmt-plane/network/ResourceProviders/Microsoft.Network/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29yay92aXJ0dWFsSHVicw==/V/MjAyMi0wMS0wMQ=="}], "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_VirtualHubs_ListByResourceGroup", "operator": {"type": "and", "operators": [{"type": "hasValue", "arg": "$Path.resourceGroupName"}, {"type": "hasValue", "arg": "$Path.subscriptionId"}]}}, {"var": "$Condition_VirtualHubs_List", "operator": {"type": "and", "operators": [{"type": "hasValue", "arg": "$Path.subscriptionId"}, {"type": "not", "operator": {"type": "hasValue", "arg": "$Path.resourceGroupName"}}]}}], "operations": [{"when": ["$Condition_VirtualHubs_ListByResourceGroup"], "operationId": "VirtualHubs_ListByResourceGroup", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2022-01-01"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"type": "string", "name": "nextLink"}, {"type": "array", "name": "value", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/virtualHubs/{}"}}, {"readOnly": true, "type": "string", "name": "kind"}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "string", "name": "addressPrefix"}, {"type": "boolean", "name": "allowBranchToBranchTraffic"}, {"type": "@SubResource_read", "name": "azureFirewall"}, {"readOnly": true, "type": "array<@SubResource_read>", "name": "bgpConnections", "item": {"type": "@SubResource_read"}}, {"type": "@SubResource_read", "name": "expressRouteGateway"}, {"type": "string", "name": "hubRoutingPreference", "enum": {"items": [{"value": "ASPath"}, {"value": "ExpressRoute"}, {"value": "VpnGateway"}]}}, {"readOnly": true, "type": "array<@SubResource_read>", "name": "ipConfigurations", "item": {"type": "@SubResource_read"}}, {"type": "@SubResource_read", "name": "p2SVpnGateway"}, {"type": "string", "name": "preferredRoutingGateway", "enum": {"items": [{"value": "ExpressRoute"}, {"value": "None"}, {"value": "VpnGateway"}]}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "object", "name": "routeTable", "props": [{"type": "array", "name": "routes", "item": {"type": "object", "props": [{"type": "array", "name": "addressPrefixes", "item": {"type": "string"}}, {"type": "string", "name": "nextHopIpAddress"}]}}]}, {"readOnly": true, "type": "string", "name": "routingState", "enum": {"items": [{"value": "Failed"}, {"value": "None"}, {"value": "Provisioned"}, {"value": "Provisioning"}]}}, {"type": "@SubResource_read", "name": "securityPartnerProvider"}, {"type": "string", "name": "securityProviderName"}, {"type": "string", "name": "sku"}, {"type": "array", "name": "virtualHubRouteTableV2s", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/virtualHubs/{}/routeTables/{}"}}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "array", "name": "attachedConnections", "item": {"type": "string"}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "array", "name": "routes", "item": {"type": "object", "props": [{"type": "string", "name": "destinationType"}, {"type": "array", "name": "destinations", "item": {"type": "string"}}, {"type": "string", "name": "nextHopType"}, {"type": "array", "name": "nextHops", "item": {"type": "string"}}]}}], "clientFlatten": true}]}}, {"type": "integer64", "name": "virtualRouterAsn", "format": {"maximum": 4294967295, "minimum": 0}}, {"type": "object", "name": "virtualRouterAutoScaleConfiguration", "props": [{"type": "integer32", "name": "minCapacity", "format": {"minimum": 0}}]}, {"type": "array", "name": "virtualRouterIps", "item": {"type": "string"}}, {"type": "object", "name": "virtualWan", "props": [{"type": "string", "name": "id"}], "cls": "SubResource_read"}, {"type": "@SubResource_read", "name": "vpnGateway"}], "clientFlatten": true}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}]}}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}, {"when": ["$Condition_VirtualHubs_List"], "operationId": "VirtualHubs_List", "http": {"path": "/subscriptions/{subscriptionId}/providers/Microsoft.Network/virtualHubs", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2022-01-01"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"type": "string", "name": "nextLink"}, {"type": "array", "name": "value", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/virtualHubs/{}"}}, {"readOnly": true, "type": "string", "name": "kind"}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "string", "name": "addressPrefix"}, {"type": "boolean", "name": "allowBranchToBranchTraffic"}, {"type": "@SubResource_read", "name": "azureFirewall"}, {"readOnly": true, "type": "array<@SubResource_read>", "name": "bgpConnections", "item": {"type": "@SubResource_read"}}, {"type": "@SubResource_read", "name": "expressRouteGateway"}, {"type": "string", "name": "hubRoutingPreference", "enum": {"items": [{"value": "ASPath"}, {"value": "ExpressRoute"}, {"value": "VpnGateway"}]}}, {"readOnly": true, "type": "array<@SubResource_read>", "name": "ipConfigurations", "item": {"type": "@SubResource_read"}}, {"type": "@SubResource_read", "name": "p2SVpnGateway"}, {"type": "string", "name": "preferredRoutingGateway", "enum": {"items": [{"value": "ExpressRoute"}, {"value": "None"}, {"value": "VpnGateway"}]}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "object", "name": "routeTable", "props": [{"type": "array", "name": "routes", "item": {"type": "object", "props": [{"type": "array", "name": "addressPrefixes", "item": {"type": "string"}}, {"type": "string", "name": "nextHopIpAddress"}]}}]}, {"readOnly": true, "type": "string", "name": "routingState", "enum": {"items": [{"value": "Failed"}, {"value": "None"}, {"value": "Provisioned"}, {"value": "Provisioning"}]}}, {"type": "@SubResource_read", "name": "securityPartnerProvider"}, {"type": "string", "name": "securityProviderName"}, {"type": "string", "name": "sku"}, {"type": "array", "name": "virtualHubRouteTableV2s", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/virtualHubs/{}/routeTables/{}"}}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "array", "name": "attachedConnections", "item": {"type": "string"}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "array", "name": "routes", "item": {"type": "object", "props": [{"type": "string", "name": "destinationType"}, {"type": "array", "name": "destinations", "item": {"type": "string"}}, {"type": "string", "name": "nextHopType"}, {"type": "array", "name": "nextHops", "item": {"type": "string"}}]}}], "clientFlatten": true}]}}, {"type": "integer64", "name": "virtualRouterAsn", "format": {"maximum": 4294967295, "minimum": 0}}, {"type": "object", "name": "virtualRouterAutoScaleConfiguration", "props": [{"type": "integer32", "name": "minCapacity", "format": {"minimum": 0}}]}, {"type": "array", "name": "virtualRouterIps", "item": {"type": "string"}}, {"type": "@SubResource_read", "name": "virtualWan"}, {"type": "@SubResource_read", "name": "vpnGateway"}], "clientFlatten": true}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}]}}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "array", "ref": "$Instance.value", "clientFlatten": true, "nextLink": "$Instance.nextLink"}]}]}]} \ No newline at end of file +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/providers/microsoft.network/virtualhubs", "version": "2022-01-01", "swagger": "mgmt-plane/network/ResourceProviders/Microsoft.Network/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9wcm92aWRlcnMvTWljcm9zb2Z0Lk5ldHdvcmsvdmlydHVhbEh1YnM=/V/MjAyMi0wMS0wMQ=="}, {"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/virtualhubs", "version": "2022-01-01", "swagger": "mgmt-plane/network/ResourceProviders/Microsoft.Network/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29yay92aXJ0dWFsSHVicw==/V/MjAyMi0wMS0wMQ=="}], "commandGroups": [{"name": "network routeserver", "commands": [{"name": "list", "version": "2022-01-01", "resources": [{"id": "/subscriptions/{}/providers/microsoft.network/virtualhubs", "version": "2022-01-01", "swagger": "mgmt-plane/network/ResourceProviders/Microsoft.Network/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9wcm92aWRlcnMvTWljcm9zb2Z0Lk5ldHdvcmsvdmlydHVhbEh1YnM=/V/MjAyMi0wMS0wMQ=="}, {"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/virtualhubs", "version": "2022-01-01", "swagger": "mgmt-plane/network/ResourceProviders/Microsoft.Network/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29yay92aXJ0dWFsSHVicw==/V/MjAyMi0wMS0wMQ=="}], "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_VirtualHubs_List", "operator": {"type": "and", "operators": [{"type": "hasValue", "arg": "$Path.subscriptionId"}, {"type": "not", "operator": {"type": "hasValue", "arg": "$Path.resourceGroupName"}}]}}, {"var": "$Condition_VirtualHubs_ListByResourceGroup", "operator": {"type": "and", "operators": [{"type": "hasValue", "arg": "$Path.resourceGroupName"}, {"type": "hasValue", "arg": "$Path.subscriptionId"}]}}], "operations": [{"when": ["$Condition_VirtualHubs_List"], "operationId": "VirtualHubs_List", "http": {"path": "/subscriptions/{subscriptionId}/providers/Microsoft.Network/virtualHubs", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2022-01-01"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"type": "string", "name": "nextLink"}, {"type": "array", "name": "value", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/virtualHubs/{}"}}, {"readOnly": true, "type": "string", "name": "kind"}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "string", "name": "addressPrefix"}, {"type": "boolean", "name": "allowBranchToBranchTraffic"}, {"type": "@SubResource_read", "name": "azureFirewall"}, {"readOnly": true, "type": "array<@SubResource_read>", "name": "bgpConnections", "item": {"type": "@SubResource_read"}}, {"type": "@SubResource_read", "name": "expressRouteGateway"}, {"type": "string", "name": "hubRoutingPreference", "enum": {"items": [{"value": "ASPath"}, {"value": "ExpressRoute"}, {"value": "VpnGateway"}]}}, {"readOnly": true, "type": "array<@SubResource_read>", "name": "ipConfigurations", "item": {"type": "@SubResource_read"}}, {"type": "@SubResource_read", "name": "p2SVpnGateway"}, {"type": "string", "name": "preferredRoutingGateway", "enum": {"items": [{"value": "ExpressRoute"}, {"value": "None"}, {"value": "VpnGateway"}]}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "object", "name": "routeTable", "props": [{"type": "array", "name": "routes", "item": {"type": "object", "props": [{"type": "array", "name": "addressPrefixes", "item": {"type": "string"}}, {"type": "string", "name": "nextHopIpAddress"}]}}]}, {"readOnly": true, "type": "string", "name": "routingState", "enum": {"items": [{"value": "Failed"}, {"value": "None"}, {"value": "Provisioned"}, {"value": "Provisioning"}]}}, {"type": "@SubResource_read", "name": "securityPartnerProvider"}, {"type": "string", "name": "securityProviderName"}, {"type": "string", "name": "sku"}, {"type": "array", "name": "virtualHubRouteTableV2s", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/virtualHubs/{}/routeTables/{}"}}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "array", "name": "attachedConnections", "item": {"type": "string"}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "array", "name": "routes", "item": {"type": "object", "props": [{"type": "string", "name": "destinationType"}, {"type": "array", "name": "destinations", "item": {"type": "string"}}, {"type": "string", "name": "nextHopType"}, {"type": "array", "name": "nextHops", "item": {"type": "string"}}]}}], "clientFlatten": true}]}}, {"type": "integer64", "name": "virtualRouterAsn", "format": {"maximum": 4294967295, "minimum": 0}}, {"type": "object", "name": "virtualRouterAutoScaleConfiguration", "props": [{"type": "integer32", "name": "minCapacity", "format": {"minimum": 0}}]}, {"type": "array", "name": "virtualRouterIps", "item": {"type": "string"}}, {"type": "object", "name": "virtualWan", "props": [{"type": "string", "name": "id"}], "cls": "SubResource_read"}, {"type": "@SubResource_read", "name": "vpnGateway"}], "clientFlatten": true}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}]}}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}, {"when": ["$Condition_VirtualHubs_ListByResourceGroup"], "operationId": "VirtualHubs_ListByResourceGroup", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2022-01-01"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"type": "string", "name": "nextLink"}, {"type": "array", "name": "value", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/virtualHubs/{}"}}, {"readOnly": true, "type": "string", "name": "kind"}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "string", "name": "addressPrefix"}, {"type": "boolean", "name": "allowBranchToBranchTraffic"}, {"type": "@SubResource_read", "name": "azureFirewall"}, {"readOnly": true, "type": "array<@SubResource_read>", "name": "bgpConnections", "item": {"type": "@SubResource_read"}}, {"type": "@SubResource_read", "name": "expressRouteGateway"}, {"type": "string", "name": "hubRoutingPreference", "enum": {"items": [{"value": "ASPath"}, {"value": "ExpressRoute"}, {"value": "VpnGateway"}]}}, {"readOnly": true, "type": "array<@SubResource_read>", "name": "ipConfigurations", "item": {"type": "@SubResource_read"}}, {"type": "@SubResource_read", "name": "p2SVpnGateway"}, {"type": "string", "name": "preferredRoutingGateway", "enum": {"items": [{"value": "ExpressRoute"}, {"value": "None"}, {"value": "VpnGateway"}]}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "object", "name": "routeTable", "props": [{"type": "array", "name": "routes", "item": {"type": "object", "props": [{"type": "array", "name": "addressPrefixes", "item": {"type": "string"}}, {"type": "string", "name": "nextHopIpAddress"}]}}]}, {"readOnly": true, "type": "string", "name": "routingState", "enum": {"items": [{"value": "Failed"}, {"value": "None"}, {"value": "Provisioned"}, {"value": "Provisioning"}]}}, {"type": "@SubResource_read", "name": "securityPartnerProvider"}, {"type": "string", "name": "securityProviderName"}, {"type": "string", "name": "sku"}, {"type": "array", "name": "virtualHubRouteTableV2s", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/virtualHubs/{}/routeTables/{}"}}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "array", "name": "attachedConnections", "item": {"type": "string"}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "array", "name": "routes", "item": {"type": "object", "props": [{"type": "string", "name": "destinationType"}, {"type": "array", "name": "destinations", "item": {"type": "string"}}, {"type": "string", "name": "nextHopType"}, {"type": "array", "name": "nextHops", "item": {"type": "string"}}]}}], "clientFlatten": true}]}}, {"type": "integer64", "name": "virtualRouterAsn", "format": {"maximum": 4294967295, "minimum": 0}}, {"type": "object", "name": "virtualRouterAutoScaleConfiguration", "props": [{"type": "integer32", "name": "minCapacity", "format": {"minimum": 0}}]}, {"type": "array", "name": "virtualRouterIps", "item": {"type": "string"}}, {"type": "@SubResource_read", "name": "virtualWan"}, {"type": "@SubResource_read", "name": "vpnGateway"}], "clientFlatten": true}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}]}}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "array", "ref": "$Instance.value", "clientFlatten": true, "nextLink": "$Instance.nextLink"}]}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL3ZpcnR1YWxodWJz/2022-01-01.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL3ZpcnR1YWxodWJz/2022-01-01.xml index c802a7d48..885814775 100644 --- a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL3ZpcnR1YWxodWJz/2022-01-01.xml +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL3ZpcnR1YWxodWJz/2022-01-01.xml @@ -10,12 +10,6 @@ - - - - - - @@ -24,11 +18,16 @@ - - + + + + + + + + - @@ -177,10 +176,11 @@ - - + + + diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kdXJhYmxldGFzay9zY2hlZHVsZXJzL3t9/2024-10-01-preview.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kdXJhYmxldGFzay9zY2hlZHVsZXJzL3t9/2024-10-01-preview.json index 3c87561c5..2cc4bc2b9 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"}}]}, {"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 +{"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"], "required": true, "group": "", "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"], "required": true, "group": "", "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"], "required": true, "group": "", "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"], "required": true, "group": "", "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 0df3de172..3ac05f422 100644 --- a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kdXJhYmxldGFzay9zY2hlZHVsZXJzL3t9/2024-10-01-preview.xml +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kdXJhYmxldGFzay9zY2hlZHVsZXJzL3t9/2024-10-01-preview.xml @@ -6,7 +6,7 @@ - + @@ -114,7 +114,7 @@ - + @@ -162,7 +162,7 @@ - + @@ -317,7 +317,7 @@ - + diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kdXJhYmxldGFzay9zY2hlZHVsZXJzL3t9L3Rhc2todWJz/2024-10-01-preview.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kdXJhYmxldGFzay9zY2hlZHVsZXJzL3t9L3Rhc2todWJz/2024-10-01-preview.json index a9ab5c11e..26995be01 100644 --- a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kdXJhYmxldGFzay9zY2hlZHVsZXJzL3t9L3Rhc2todWJz/2024-10-01-preview.json +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kdXJhYmxldGFzay9zY2hlZHVsZXJzL3t9L3Rhc2todWJz/2024-10-01-preview.json @@ -1 +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 +{"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": ["s", "scheduler-name"], "required": true, "group": "", "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 index e5e311d18..2a68e4519 100644 --- a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kdXJhYmxldGFzay9zY2hlZHVsZXJzL3t9L3Rhc2todWJz/2024-10-01-preview.xml +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kdXJhYmxldGFzay9zY2hlZHVsZXJzL3t9L3Rhc2todWJz/2024-10-01-preview.xml @@ -6,7 +6,7 @@ - + diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kdXJhYmxldGFzay9zY2hlZHVsZXJzL3t9L3Rhc2todWJzL3t9/2024-10-01-preview.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kdXJhYmxldGFzay9zY2hlZHVsZXJzL3t9L3Rhc2todWJzL3t9/2024-10-01-preview.json index b6a46d658..55e49aa09 100644 --- a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kdXJhYmxldGFzay9zY2hlZHVsZXJzL3t9L3Rhc2todWJzL3t9/2024-10-01-preview.json +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kdXJhYmxldGFzay9zY2hlZHVsZXJzL3t9L3Rhc2todWJzL3t9/2024-10-01-preview.json @@ -1 +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 +{"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": ["s", "scheduler-name"], "required": true, "group": "", "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"], "required": true, "group": "", "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": ["s", "scheduler-name"], "required": true, "group": "", "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"], "required": true, "group": "", "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": ["s", "scheduler-name"], "required": true, "group": "", "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"], "required": true, "group": "", "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": ["s", "scheduler-name"], "required": true, "group": "", "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"], "required": true, "group": "", "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 index dbcfd42e5..13b06779d 100644 --- a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kdXJhYmxldGFzay9zY2hlZHVsZXJzL3t9L3Rhc2todWJzL3t9/2024-10-01-preview.xml +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kdXJhYmxldGFzay9zY2hlZHVsZXJzL3t9L3Rhc2todWJzL3t9/2024-10-01-preview.xml @@ -6,12 +6,12 @@ - + - + @@ -102,12 +102,12 @@ - + - + @@ -157,12 +157,12 @@ - + - + @@ -259,12 +259,12 @@ - + - + diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL3ZpcnR1YWxodWJzL3t9/2022-01-01.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL3ZpcnR1YWxodWJzL3t9/2022-01-01.json index 56fad1bc5..5c642cbf2 100644 --- a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL3ZpcnR1YWxodWJzL3t9/2022-01-01.json +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL3ZpcnR1YWxodWJzL3t9/2022-01-01.json @@ -1 +1 @@ -{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/virtualhubs/{}", "version": "2022-01-01", "swagger": "mgmt-plane/network/ResourceProviders/Microsoft.Network/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29yay92aXJ0dWFsSHVicy97dmlydHVhbEh1Yk5hbWV9/V/MjAyMi0wMS0wMQ=="}], "commandGroups": [{"name": "network routeserver", "commands": [{"name": "show", "version": "2022-01-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/virtualhubs/{}", "version": "2022-01-01", "swagger": "mgmt-plane/network/ResourceProviders/Microsoft.Network/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29yay92aXJ0dWFsSHVicy97dmlydHVhbEh1Yk5hbWV9/V/MjAyMi0wMS0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.virtualHubName", "options": ["n", "name"], "required": true, "group": "", "idPart": "name", "help": {"short": "Name of the route server."}}]}], "operations": [{"operationId": "VirtualHubs_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "virtualHubName", "arg": "$Path.virtualHubName", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2022-01-01"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/virtualHubs/{}"}}, {"readOnly": true, "type": "string", "name": "kind"}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "string", "name": "addressPrefix"}, {"type": "boolean", "name": "allowBranchToBranchTraffic"}, {"type": "@SubResource_read", "name": "azureFirewall"}, {"readOnly": true, "type": "array<@SubResource_read>", "name": "bgpConnections", "item": {"type": "@SubResource_read"}}, {"type": "@SubResource_read", "name": "expressRouteGateway"}, {"type": "string", "name": "hubRoutingPreference", "enum": {"items": [{"value": "ASPath"}, {"value": "ExpressRoute"}, {"value": "VpnGateway"}]}}, {"readOnly": true, "type": "array<@SubResource_read>", "name": "ipConfigurations", "item": {"type": "@SubResource_read"}}, {"type": "@SubResource_read", "name": "p2SVpnGateway"}, {"type": "string", "name": "preferredRoutingGateway", "enum": {"items": [{"value": "ExpressRoute"}, {"value": "None"}, {"value": "VpnGateway"}]}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "object", "name": "routeTable", "props": [{"type": "array", "name": "routes", "item": {"type": "object", "props": [{"type": "array", "name": "addressPrefixes", "item": {"type": "string"}}, {"type": "string", "name": "nextHopIpAddress"}]}}]}, {"readOnly": true, "type": "string", "name": "routingState", "enum": {"items": [{"value": "Failed"}, {"value": "None"}, {"value": "Provisioned"}, {"value": "Provisioning"}]}}, {"type": "@SubResource_read", "name": "securityPartnerProvider"}, {"type": "string", "name": "securityProviderName"}, {"type": "string", "name": "sku"}, {"type": "array", "name": "virtualHubRouteTableV2s", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/virtualHubs/{}/routeTables/{}"}}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "array", "name": "attachedConnections", "item": {"type": "string"}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "array", "name": "routes", "item": {"type": "object", "props": [{"type": "string", "name": "destinationType"}, {"type": "array", "name": "destinations", "item": {"type": "string"}}, {"type": "string", "name": "nextHopType"}, {"type": "array", "name": "nextHops", "item": {"type": "string"}}]}}], "clientFlatten": true}]}}, {"type": "integer64", "name": "virtualRouterAsn", "format": {"maximum": 4294967295, "minimum": 0}}, {"type": "object", "name": "virtualRouterAutoScaleConfiguration", "props": [{"type": "integer32", "name": "minCapacity", "format": {"minimum": 0}}]}, {"type": "array", "name": "virtualRouterIps", "item": {"type": "string"}}, {"type": "object", "name": "virtualWan", "props": [{"type": "string", "name": "id"}], "cls": "SubResource_read"}, {"type": "@SubResource_read", "name": "vpnGateway"}], "clientFlatten": true}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}, {"name": "delete", "version": "2022-01-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/virtualhubs/{}", "version": "2022-01-01", "swagger": "mgmt-plane/network/ResourceProviders/Microsoft.Network/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29yay92aXJ0dWFsSHVicy97dmlydHVhbEh1Yk5hbWV9/V/MjAyMi0wMS0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.virtualHubName", "options": ["n", "name"], "required": true, "group": "", "idPart": "name", "help": {"short": "Name of the route server."}}]}], "operations": [{"longRunning": {"finalStateVia": "location"}, "operationId": "VirtualHubs_Delete", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}", "request": {"method": "delete", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "virtualHubName", "arg": "$Path.virtualHubName", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2022-01-01"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200]}, {"statusCode": [202]}, {"statusCode": [204]}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "confirmation": "Are you sure you want to perform this operation?"}, {"name": "create", "version": "2022-01-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/virtualhubs/{}", "version": "2022-01-01", "swagger": "mgmt-plane/network/ResourceProviders/Microsoft.Network/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29yay92aXJ0dWFsSHVicy97dmlydHVhbEh1Yk5hbWV9/V/MjAyMi0wMS0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.virtualHubName", "options": ["n", "name"], "required": true, "group": "", "idPart": "name", "help": {"short": "Name of the route server."}}, {"type": "ResourceLocation", "var": "$virtualHubParameters.location", "options": ["l", "location"], "required": true, "group": "", "help": {"short": "Location. Values from: `az account list-locations`. You can configure the default location using `az configure --defaults location=`."}}, {"type": "string", "var": "$virtualHubParameters.properties.hubRoutingPreference", "options": ["hub-routing-preference"], "group": "", "help": {"short": "Routing preference of the route server."}, "enum": {"items": [{"name": "ASPath", "value": "ASPath"}, {"name": "ExpressRoute", "value": "ExpressRoute"}, {"name": "VpnGateway", "value": "VpnGateway"}]}}, {"type": "string", "var": "$virtualHubParameters.properties.sku", "options": ["sku"], "group": "", "help": {"short": "SKU of the route server."}}, {"type": "object", "var": "$virtualHubParameters.tags", "options": ["tags"], "group": "", "help": {"short": "Space-separated tags: key[=value] [key[=value] ...]."}, "additionalProps": {"item": {"type": "string"}}}]}, {"name": "Properties", "args": [{"type": "string", "var": "$virtualHubParameters.properties.addressPrefix", "options": ["address-prefix"], "hide": true, "group": "Properties", "help": {"short": "Address-prefix for this VirtualHub."}}, {"type": "boolean", "var": "$virtualHubParameters.properties.allowBranchToBranchTraffic", "options": ["allow-branch-to-branch-traffic"], "hide": true, "group": "Properties", "help": {"short": "Flag to control transit for VirtualRouter hub."}}, {"type": "@SubResource_create", "var": "$virtualHubParameters.properties.azureFirewall", "options": ["azure-firewall"], "hide": true, "group": "Properties", "help": {"short": "The azureFirewall associated with this VirtualHub."}}, {"type": "@SubResource_create", "var": "$virtualHubParameters.properties.expressRouteGateway", "options": ["express-route-gateway"], "hide": true, "group": "Properties", "help": {"short": "The expressRouteGateway associated with this VirtualHub."}}, {"type": "@SubResource_create", "var": "$virtualHubParameters.properties.p2SVpnGateway", "options": ["p2-s-vpn-gateway"], "hide": true, "group": "Properties", "help": {"short": "The P2SVpnGateway associated with this VirtualHub."}}, {"type": "string", "var": "$virtualHubParameters.properties.preferredRoutingGateway", "options": ["preferred-routing-gateway"], "hide": true, "group": "Properties", "help": {"short": "The preferred gateway to route on-prem traffic"}, "enum": {"items": [{"name": "ExpressRoute", "value": "ExpressRoute"}, {"name": "None", "value": "None"}, {"name": "VpnGateway", "value": "VpnGateway"}]}}, {"type": "object", "var": "$virtualHubParameters.properties.routeTable", "options": ["route-table"], "hide": true, "group": "Properties", "help": {"short": "The routeTable associated with this virtual hub."}, "args": [{"type": "array", "var": "$virtualHubParameters.properties.routeTable.routes", "options": ["routes"], "help": {"short": "List of all routes."}, "item": {"type": "object", "args": [{"type": "array", "var": "$virtualHubParameters.properties.routeTable.routes[].addressPrefixes", "options": ["address-prefixes"], "help": {"short": "List of all addressPrefixes."}, "item": {"type": "string"}}, {"type": "string", "var": "$virtualHubParameters.properties.routeTable.routes[].nextHopIpAddress", "options": ["next-hop-ip-address"], "help": {"short": "NextHop ip address."}}]}}]}, {"type": "@SubResource_create", "var": "$virtualHubParameters.properties.securityPartnerProvider", "options": ["security-partner-provider"], "hide": true, "group": "Properties", "help": {"short": "The securityPartnerProvider associated with this VirtualHub."}}, {"type": "string", "var": "$virtualHubParameters.properties.securityProviderName", "options": ["security-provider-name"], "hide": true, "group": "Properties", "help": {"short": "The Security Provider name."}}, {"type": "array", "var": "$virtualHubParameters.properties.virtualHubRouteTableV2s", "options": ["virtual-hub-route-table-v2s"], "hide": true, "group": "Properties", "help": {"short": "List of all virtual hub route table v2s associated with this VirtualHub."}, "item": {"type": "object", "args": [{"type": "ResourceId", "var": "$virtualHubParameters.properties.virtualHubRouteTableV2s[].id", "options": ["id"], "help": {"short": "Resource ID."}, "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/virtualHubs/{}/routeTables/{}"}}, {"type": "string", "var": "$virtualHubParameters.properties.virtualHubRouteTableV2s[].name", "options": ["name"], "help": {"short": "The name of the resource that is unique within a resource group. This name can be used to access the resource."}}, {"type": "array", "var": "$virtualHubParameters.properties.virtualHubRouteTableV2s[].properties.attachedConnections", "options": ["attached-connections"], "group": "Properties", "help": {"short": "List of all connections attached to this route table v2."}, "item": {"type": "string"}}, {"type": "array", "var": "$virtualHubParameters.properties.virtualHubRouteTableV2s[].properties.routes", "options": ["routes"], "group": "Properties", "help": {"short": "List of all routes."}, "item": {"type": "object", "args": [{"type": "string", "var": "$virtualHubParameters.properties.virtualHubRouteTableV2s[].properties.routes[].destinationType", "options": ["destination-type"], "help": {"short": "The type of destinations."}}, {"type": "array", "var": "$virtualHubParameters.properties.virtualHubRouteTableV2s[].properties.routes[].destinations", "options": ["destinations"], "help": {"short": "List of all destinations."}, "item": {"type": "string"}}, {"type": "string", "var": "$virtualHubParameters.properties.virtualHubRouteTableV2s[].properties.routes[].nextHopType", "options": ["next-hop-type"], "help": {"short": "The type of next hops."}}, {"type": "array", "var": "$virtualHubParameters.properties.virtualHubRouteTableV2s[].properties.routes[].nextHops", "options": ["next-hops"], "help": {"short": "NextHops ip address."}, "item": {"type": "string"}}]}}]}}, {"type": "integer64", "var": "$virtualHubParameters.properties.virtualRouterAsn", "options": ["virtual-router-asn"], "hide": true, "group": "Properties", "help": {"short": "VirtualRouter ASN."}, "format": {"maximum": 4294967295, "minimum": 0}}, {"type": "object", "var": "$virtualHubParameters.properties.virtualRouterAutoScaleConfiguration", "options": ["virtual-router-auto-scale-configuration"], "hide": true, "group": "Properties", "help": {"short": "The VirtualHub Router autoscale configuration."}, "args": [{"type": "integer32", "var": "$virtualHubParameters.properties.virtualRouterAutoScaleConfiguration.minCapacity", "options": ["min-capacity"], "help": {"short": "The minimum number of scale units for VirtualHub Router."}, "format": {"minimum": 0}}]}, {"type": "array", "var": "$virtualHubParameters.properties.virtualRouterIps", "options": ["virtual-router-ips"], "hide": true, "group": "Properties", "help": {"short": "VirtualRouter IPs."}, "item": {"type": "string"}}, {"type": "object", "var": "$virtualHubParameters.properties.virtualWan", "options": ["virtual-wan"], "hide": true, "group": "Properties", "help": {"short": "The VirtualWAN to which the VirtualHub belongs."}, "args": [{"type": "string", "var": "@SubResource_create.id", "options": ["id"], "help": {"short": "Resource ID."}}], "cls": "SubResource_create"}, {"type": "@SubResource_create", "var": "$virtualHubParameters.properties.vpnGateway", "options": ["vpn-gateway"], "hide": true, "group": "Properties", "help": {"short": "The VpnGateway associated with this VirtualHub."}}]}, {"name": "VirtualHubParameters", "args": [{"type": "ResourceId", "var": "$virtualHubParameters.id", "options": ["id"], "hide": true, "group": "VirtualHubParameters", "help": {"short": "Resource ID."}, "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/virtualHubs/{}"}}]}], "operations": [{"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "VirtualHubs_CreateOrUpdate", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "virtualHubName", "arg": "$Path.virtualHubName", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2022-01-01"}, "type": "string", "name": "api-version", "required": true}]}, "body": {"json": {"schema": {"type": "object", "name": "virtualHubParameters", "required": true, "props": [{"type": "ResourceId", "name": "id", "arg": "$virtualHubParameters.id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/virtualHubs/{}"}}, {"type": "ResourceLocation", "name": "location", "arg": "$virtualHubParameters.location", "required": true}, {"type": "object", "name": "properties", "props": [{"type": "string", "name": "addressPrefix", "arg": "$virtualHubParameters.properties.addressPrefix"}, {"type": "boolean", "name": "allowBranchToBranchTraffic", "arg": "$virtualHubParameters.properties.allowBranchToBranchTraffic"}, {"type": "@SubResource_create", "name": "azureFirewall", "arg": "$virtualHubParameters.properties.azureFirewall"}, {"type": "@SubResource_create", "name": "expressRouteGateway", "arg": "$virtualHubParameters.properties.expressRouteGateway"}, {"type": "string", "name": "hubRoutingPreference", "arg": "$virtualHubParameters.properties.hubRoutingPreference", "enum": {"items": [{"value": "ASPath"}, {"value": "ExpressRoute"}, {"value": "VpnGateway"}]}}, {"type": "@SubResource_create", "name": "p2SVpnGateway", "arg": "$virtualHubParameters.properties.p2SVpnGateway"}, {"type": "string", "name": "preferredRoutingGateway", "arg": "$virtualHubParameters.properties.preferredRoutingGateway", "enum": {"items": [{"value": "ExpressRoute"}, {"value": "None"}, {"value": "VpnGateway"}]}}, {"type": "object", "name": "routeTable", "arg": "$virtualHubParameters.properties.routeTable", "props": [{"type": "array", "name": "routes", "arg": "$virtualHubParameters.properties.routeTable.routes", "item": {"type": "object", "props": [{"type": "array", "name": "addressPrefixes", "arg": "$virtualHubParameters.properties.routeTable.routes[].addressPrefixes", "item": {"type": "string"}}, {"type": "string", "name": "nextHopIpAddress", "arg": "$virtualHubParameters.properties.routeTable.routes[].nextHopIpAddress"}]}}]}, {"type": "@SubResource_create", "name": "securityPartnerProvider", "arg": "$virtualHubParameters.properties.securityPartnerProvider"}, {"type": "string", "name": "securityProviderName", "arg": "$virtualHubParameters.properties.securityProviderName"}, {"type": "string", "name": "sku", "arg": "$virtualHubParameters.properties.sku"}, {"type": "array", "name": "virtualHubRouteTableV2s", "arg": "$virtualHubParameters.properties.virtualHubRouteTableV2s", "item": {"type": "object", "props": [{"type": "ResourceId", "name": "id", "arg": "$virtualHubParameters.properties.virtualHubRouteTableV2s[].id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/virtualHubs/{}/routeTables/{}"}}, {"type": "string", "name": "name", "arg": "$virtualHubParameters.properties.virtualHubRouteTableV2s[].name"}, {"type": "object", "name": "properties", "props": [{"type": "array", "name": "attachedConnections", "arg": "$virtualHubParameters.properties.virtualHubRouteTableV2s[].properties.attachedConnections", "item": {"type": "string"}}, {"type": "array", "name": "routes", "arg": "$virtualHubParameters.properties.virtualHubRouteTableV2s[].properties.routes", "item": {"type": "object", "props": [{"type": "string", "name": "destinationType", "arg": "$virtualHubParameters.properties.virtualHubRouteTableV2s[].properties.routes[].destinationType"}, {"type": "array", "name": "destinations", "arg": "$virtualHubParameters.properties.virtualHubRouteTableV2s[].properties.routes[].destinations", "item": {"type": "string"}}, {"type": "string", "name": "nextHopType", "arg": "$virtualHubParameters.properties.virtualHubRouteTableV2s[].properties.routes[].nextHopType"}, {"type": "array", "name": "nextHops", "arg": "$virtualHubParameters.properties.virtualHubRouteTableV2s[].properties.routes[].nextHops", "item": {"type": "string"}}]}}], "clientFlatten": true}]}}, {"type": "integer64", "name": "virtualRouterAsn", "arg": "$virtualHubParameters.properties.virtualRouterAsn", "format": {"maximum": 4294967295, "minimum": 0}}, {"type": "object", "name": "virtualRouterAutoScaleConfiguration", "arg": "$virtualHubParameters.properties.virtualRouterAutoScaleConfiguration", "props": [{"type": "integer32", "name": "minCapacity", "arg": "$virtualHubParameters.properties.virtualRouterAutoScaleConfiguration.minCapacity", "format": {"minimum": 0}}]}, {"type": "array", "name": "virtualRouterIps", "arg": "$virtualHubParameters.properties.virtualRouterIps", "item": {"type": "string"}}, {"type": "object", "name": "virtualWan", "arg": "$virtualHubParameters.properties.virtualWan", "props": [{"type": "string", "name": "id", "arg": "@SubResource_create.id"}], "cls": "SubResource_create"}, {"type": "@SubResource_create", "name": "vpnGateway", "arg": "$virtualHubParameters.properties.vpnGateway"}], "clientFlatten": true}, {"type": "object", "name": "tags", "arg": "$virtualHubParameters.tags", "additionalProps": {"item": {"type": "string"}}}], "clientFlatten": true}}}}, "responses": [{"statusCode": [200, 201], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/virtualHubs/{}"}}, {"readOnly": true, "type": "string", "name": "kind"}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "string", "name": "addressPrefix"}, {"type": "boolean", "name": "allowBranchToBranchTraffic"}, {"type": "@SubResource_read", "name": "azureFirewall"}, {"readOnly": true, "type": "array<@SubResource_read>", "name": "bgpConnections", "item": {"type": "@SubResource_read"}}, {"type": "@SubResource_read", "name": "expressRouteGateway"}, {"type": "string", "name": "hubRoutingPreference", "enum": {"items": [{"value": "ASPath"}, {"value": "ExpressRoute"}, {"value": "VpnGateway"}]}}, {"readOnly": true, "type": "array<@SubResource_read>", "name": "ipConfigurations", "item": {"type": "@SubResource_read"}}, {"type": "@SubResource_read", "name": "p2SVpnGateway"}, {"type": "string", "name": "preferredRoutingGateway", "enum": {"items": [{"value": "ExpressRoute"}, {"value": "None"}, {"value": "VpnGateway"}]}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "object", "name": "routeTable", "props": [{"type": "array", "name": "routes", "item": {"type": "object", "props": [{"type": "array", "name": "addressPrefixes", "item": {"type": "string"}}, {"type": "string", "name": "nextHopIpAddress"}]}}]}, {"readOnly": true, "type": "string", "name": "routingState", "enum": {"items": [{"value": "Failed"}, {"value": "None"}, {"value": "Provisioned"}, {"value": "Provisioning"}]}}, {"type": "@SubResource_read", "name": "securityPartnerProvider"}, {"type": "string", "name": "securityProviderName"}, {"type": "string", "name": "sku"}, {"type": "array", "name": "virtualHubRouteTableV2s", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/virtualHubs/{}/routeTables/{}"}}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "array", "name": "attachedConnections", "item": {"type": "string"}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "array", "name": "routes", "item": {"type": "object", "props": [{"type": "string", "name": "destinationType"}, {"type": "array", "name": "destinations", "item": {"type": "string"}}, {"type": "string", "name": "nextHopType"}, {"type": "array", "name": "nextHops", "item": {"type": "string"}}]}}], "clientFlatten": true}]}}, {"type": "integer64", "name": "virtualRouterAsn", "format": {"maximum": 4294967295, "minimum": 0}}, {"type": "object", "name": "virtualRouterAutoScaleConfiguration", "props": [{"type": "integer32", "name": "minCapacity", "format": {"minimum": 0}}]}, {"type": "array", "name": "virtualRouterIps", "item": {"type": "string"}}, {"type": "object", "name": "virtualWan", "props": [{"type": "string", "name": "id"}], "cls": "SubResource_read"}, {"type": "@SubResource_read", "name": "vpnGateway"}], "clientFlatten": true}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}, {"name": "update", "version": "2022-01-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/virtualhubs/{}", "version": "2022-01-01", "swagger": "mgmt-plane/network/ResourceProviders/Microsoft.Network/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29yay92aXJ0dWFsSHVicy97dmlydHVhbEh1Yk5hbWV9/V/MjAyMi0wMS0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.virtualHubName", "options": ["n", "name"], "required": true, "group": "", "idPart": "name", "help": {"short": "Name of the route server."}}, {"nullable": true, "type": "boolean", "var": "$virtualHubParameters.properties.allowBranchToBranchTraffic", "options": ["allow-b2b-traffic"], "group": "", "help": {"short": "Whether to allow branch to branch traffic."}}, {"nullable": true, "type": "string", "var": "$virtualHubParameters.properties.hubRoutingPreference", "options": ["hub-routing-preference"], "group": "", "help": {"short": "Routing preference of the route server."}, "enum": {"items": [{"name": "ASPath", "value": "ASPath"}, {"name": "ExpressRoute", "value": "ExpressRoute"}, {"name": "VpnGateway", "value": "VpnGateway"}]}}, {"nullable": true, "type": "object", "var": "$virtualHubParameters.tags", "options": ["tags"], "group": "", "help": {"short": "Space-separated tags: key[=value] [key[=value] ...]."}, "additionalProps": {"item": {"nullable": true, "type": "string"}}}]}, {"name": "Properties", "args": [{"nullable": true, "type": "string", "var": "$virtualHubParameters.properties.addressPrefix", "options": ["address-prefix"], "hide": true, "group": "Properties", "help": {"short": "Address-prefix for this VirtualHub."}}, {"nullable": true, "type": "@SubResource_update", "var": "$virtualHubParameters.properties.azureFirewall", "options": ["azure-firewall"], "hide": true, "group": "Properties", "help": {"short": "The azureFirewall associated with this VirtualHub."}}, {"nullable": true, "type": "@SubResource_update", "var": "$virtualHubParameters.properties.expressRouteGateway", "options": ["express-route-gateway"], "hide": true, "group": "Properties", "help": {"short": "The expressRouteGateway associated with this VirtualHub."}}, {"nullable": true, "type": "@SubResource_update", "var": "$virtualHubParameters.properties.p2SVpnGateway", "options": ["p2-s-vpn-gateway"], "hide": true, "group": "Properties", "help": {"short": "The P2SVpnGateway associated with this VirtualHub."}}, {"nullable": true, "type": "string", "var": "$virtualHubParameters.properties.preferredRoutingGateway", "options": ["preferred-routing-gateway"], "hide": true, "group": "Properties", "help": {"short": "The preferred gateway to route on-prem traffic"}, "enum": {"items": [{"name": "ExpressRoute", "value": "ExpressRoute"}, {"name": "None", "value": "None"}, {"name": "VpnGateway", "value": "VpnGateway"}]}}, {"nullable": true, "type": "object", "var": "$virtualHubParameters.properties.routeTable", "options": ["route-table"], "hide": true, "group": "Properties", "help": {"short": "The routeTable associated with this virtual hub."}, "args": [{"nullable": true, "type": "array", "var": "$virtualHubParameters.properties.routeTable.routes", "options": ["routes"], "help": {"short": "List of all routes."}, "item": {"nullable": true, "type": "object", "args": [{"nullable": true, "type": "array", "var": "$virtualHubParameters.properties.routeTable.routes[].addressPrefixes", "options": ["address-prefixes"], "help": {"short": "List of all addressPrefixes."}, "item": {"nullable": true, "type": "string"}}, {"nullable": true, "type": "string", "var": "$virtualHubParameters.properties.routeTable.routes[].nextHopIpAddress", "options": ["next-hop-ip-address"], "help": {"short": "NextHop ip address."}}]}}]}, {"nullable": true, "type": "@SubResource_update", "var": "$virtualHubParameters.properties.securityPartnerProvider", "options": ["security-partner-provider"], "hide": true, "group": "Properties", "help": {"short": "The securityPartnerProvider associated with this VirtualHub."}}, {"nullable": true, "type": "string", "var": "$virtualHubParameters.properties.securityProviderName", "options": ["security-provider-name"], "hide": true, "group": "Properties", "help": {"short": "The Security Provider name."}}, {"nullable": true, "type": "string", "var": "$virtualHubParameters.properties.sku", "options": ["sku"], "hide": true, "group": "Properties", "help": {"short": "The sku of this VirtualHub."}}, {"nullable": true, "type": "array", "var": "$virtualHubParameters.properties.virtualHubRouteTableV2s", "options": ["virtual-hub-route-table-v2s"], "hide": true, "group": "Properties", "help": {"short": "List of all virtual hub route table v2s associated with this VirtualHub."}, "item": {"nullable": true, "type": "object", "args": [{"nullable": true, "type": "ResourceId", "var": "$virtualHubParameters.properties.virtualHubRouteTableV2s[].id", "options": ["id"], "help": {"short": "Resource ID."}, "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/virtualHubs/{}/routeTables/{}"}}, {"nullable": true, "type": "string", "var": "$virtualHubParameters.properties.virtualHubRouteTableV2s[].name", "options": ["name"], "help": {"short": "The name of the resource that is unique within a resource group. This name can be used to access the resource."}}, {"nullable": true, "type": "array", "var": "$virtualHubParameters.properties.virtualHubRouteTableV2s[].properties.attachedConnections", "options": ["attached-connections"], "group": "Properties", "help": {"short": "List of all connections attached to this route table v2."}, "item": {"nullable": true, "type": "string"}}, {"nullable": true, "type": "array", "var": "$virtualHubParameters.properties.virtualHubRouteTableV2s[].properties.routes", "options": ["routes"], "group": "Properties", "help": {"short": "List of all routes."}, "item": {"nullable": true, "type": "object", "args": [{"nullable": true, "type": "string", "var": "$virtualHubParameters.properties.virtualHubRouteTableV2s[].properties.routes[].destinationType", "options": ["destination-type"], "help": {"short": "The type of destinations."}}, {"nullable": true, "type": "array", "var": "$virtualHubParameters.properties.virtualHubRouteTableV2s[].properties.routes[].destinations", "options": ["destinations"], "help": {"short": "List of all destinations."}, "item": {"nullable": true, "type": "string"}}, {"nullable": true, "type": "string", "var": "$virtualHubParameters.properties.virtualHubRouteTableV2s[].properties.routes[].nextHopType", "options": ["next-hop-type"], "help": {"short": "The type of next hops."}}, {"nullable": true, "type": "array", "var": "$virtualHubParameters.properties.virtualHubRouteTableV2s[].properties.routes[].nextHops", "options": ["next-hops"], "help": {"short": "NextHops ip address."}, "item": {"nullable": true, "type": "string"}}]}}]}}, {"nullable": true, "type": "integer64", "var": "$virtualHubParameters.properties.virtualRouterAsn", "options": ["virtual-router-asn"], "hide": true, "group": "Properties", "help": {"short": "VirtualRouter ASN."}, "format": {"maximum": 4294967295, "minimum": 0}}, {"nullable": true, "type": "object", "var": "$virtualHubParameters.properties.virtualRouterAutoScaleConfiguration", "options": ["virtual-router-auto-scale-configuration"], "hide": true, "group": "Properties", "help": {"short": "The VirtualHub Router autoscale configuration."}, "args": [{"nullable": true, "type": "integer32", "var": "$virtualHubParameters.properties.virtualRouterAutoScaleConfiguration.minCapacity", "options": ["min-capacity"], "help": {"short": "The minimum number of scale units for VirtualHub Router."}, "format": {"minimum": 0}}]}, {"nullable": true, "type": "array", "var": "$virtualHubParameters.properties.virtualRouterIps", "options": ["virtual-router-ips"], "hide": true, "group": "Properties", "help": {"short": "VirtualRouter IPs."}, "item": {"nullable": true, "type": "string"}}, {"nullable": true, "type": "object", "var": "$virtualHubParameters.properties.virtualWan", "options": ["virtual-wan"], "hide": true, "group": "Properties", "help": {"short": "The VirtualWAN to which the VirtualHub belongs."}, "args": [{"nullable": true, "type": "string", "var": "@SubResource_update.id", "options": ["id"], "help": {"short": "Resource ID."}}], "cls": "SubResource_update"}, {"nullable": true, "type": "@SubResource_update", "var": "$virtualHubParameters.properties.vpnGateway", "options": ["vpn-gateway"], "hide": true, "group": "Properties", "help": {"short": "The VpnGateway associated with this VirtualHub."}}]}, {"name": "VirtualHubParameters", "args": [{"nullable": true, "type": "ResourceId", "var": "$virtualHubParameters.id", "options": ["id"], "hide": true, "group": "VirtualHubParameters", "help": {"short": "Resource ID."}, "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/virtualHubs/{}"}}, {"type": "ResourceLocation", "var": "$virtualHubParameters.location", "options": ["l", "location"], "hide": true, "group": "VirtualHubParameters", "help": {"short": "Resource location."}}]}], "operations": [{"operationId": "VirtualHubs_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "virtualHubName", "arg": "$Path.virtualHubName", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2022-01-01"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/virtualHubs/{}"}}, {"readOnly": true, "type": "string", "name": "kind"}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "string", "name": "addressPrefix"}, {"type": "boolean", "name": "allowBranchToBranchTraffic"}, {"type": "@SubResource_read", "name": "azureFirewall"}, {"readOnly": true, "type": "array<@SubResource_read>", "name": "bgpConnections", "item": {"type": "@SubResource_read"}}, {"type": "@SubResource_read", "name": "expressRouteGateway"}, {"type": "string", "name": "hubRoutingPreference", "enum": {"items": [{"value": "ASPath"}, {"value": "ExpressRoute"}, {"value": "VpnGateway"}]}}, {"readOnly": true, "type": "array<@SubResource_read>", "name": "ipConfigurations", "item": {"type": "@SubResource_read"}}, {"type": "@SubResource_read", "name": "p2SVpnGateway"}, {"type": "string", "name": "preferredRoutingGateway", "enum": {"items": [{"value": "ExpressRoute"}, {"value": "None"}, {"value": "VpnGateway"}]}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "object", "name": "routeTable", "props": [{"type": "array", "name": "routes", "item": {"type": "object", "props": [{"type": "array", "name": "addressPrefixes", "item": {"type": "string"}}, {"type": "string", "name": "nextHopIpAddress"}]}}]}, {"readOnly": true, "type": "string", "name": "routingState", "enum": {"items": [{"value": "Failed"}, {"value": "None"}, {"value": "Provisioned"}, {"value": "Provisioning"}]}}, {"type": "@SubResource_read", "name": "securityPartnerProvider"}, {"type": "string", "name": "securityProviderName"}, {"type": "string", "name": "sku"}, {"type": "array", "name": "virtualHubRouteTableV2s", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/virtualHubs/{}/routeTables/{}"}}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "array", "name": "attachedConnections", "item": {"type": "string"}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "array", "name": "routes", "item": {"type": "object", "props": [{"type": "string", "name": "destinationType"}, {"type": "array", "name": "destinations", "item": {"type": "string"}}, {"type": "string", "name": "nextHopType"}, {"type": "array", "name": "nextHops", "item": {"type": "string"}}]}}], "clientFlatten": true}]}}, {"type": "integer64", "name": "virtualRouterAsn", "format": {"maximum": 4294967295, "minimum": 0}}, {"type": "object", "name": "virtualRouterAutoScaleConfiguration", "props": [{"type": "integer32", "name": "minCapacity", "format": {"minimum": 0}}]}, {"type": "array", "name": "virtualRouterIps", "item": {"type": "string"}}, {"type": "object", "name": "virtualWan", "props": [{"type": "string", "name": "id"}], "cls": "SubResource_read"}, {"type": "@SubResource_read", "name": "vpnGateway"}], "clientFlatten": true}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}], "cls": "VirtualHub_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}, {"instanceUpdate": {"ref": "$Instance", "json": {"schema": {"type": "object", "name": "virtualHubParameters", "required": true, "props": [{"type": "ResourceId", "name": "id", "arg": "$virtualHubParameters.id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/virtualHubs/{}"}}, {"type": "ResourceLocation", "name": "location", "arg": "$virtualHubParameters.location", "required": true}, {"type": "object", "name": "properties", "props": [{"type": "string", "name": "addressPrefix", "arg": "$virtualHubParameters.properties.addressPrefix"}, {"type": "boolean", "name": "allowBranchToBranchTraffic", "arg": "$virtualHubParameters.properties.allowBranchToBranchTraffic"}, {"type": "@SubResource_update", "name": "azureFirewall", "arg": "$virtualHubParameters.properties.azureFirewall"}, {"type": "@SubResource_update", "name": "expressRouteGateway", "arg": "$virtualHubParameters.properties.expressRouteGateway"}, {"type": "string", "name": "hubRoutingPreference", "arg": "$virtualHubParameters.properties.hubRoutingPreference", "enum": {"items": [{"value": "ASPath"}, {"value": "ExpressRoute"}, {"value": "VpnGateway"}]}}, {"type": "@SubResource_update", "name": "p2SVpnGateway", "arg": "$virtualHubParameters.properties.p2SVpnGateway"}, {"type": "string", "name": "preferredRoutingGateway", "arg": "$virtualHubParameters.properties.preferredRoutingGateway", "enum": {"items": [{"value": "ExpressRoute"}, {"value": "None"}, {"value": "VpnGateway"}]}}, {"type": "object", "name": "routeTable", "arg": "$virtualHubParameters.properties.routeTable", "props": [{"type": "array", "name": "routes", "arg": "$virtualHubParameters.properties.routeTable.routes", "item": {"type": "object", "props": [{"type": "array", "name": "addressPrefixes", "arg": "$virtualHubParameters.properties.routeTable.routes[].addressPrefixes", "item": {"type": "string"}}, {"type": "string", "name": "nextHopIpAddress", "arg": "$virtualHubParameters.properties.routeTable.routes[].nextHopIpAddress"}]}}]}, {"type": "@SubResource_update", "name": "securityPartnerProvider", "arg": "$virtualHubParameters.properties.securityPartnerProvider"}, {"type": "string", "name": "securityProviderName", "arg": "$virtualHubParameters.properties.securityProviderName"}, {"type": "string", "name": "sku", "arg": "$virtualHubParameters.properties.sku"}, {"type": "array", "name": "virtualHubRouteTableV2s", "arg": "$virtualHubParameters.properties.virtualHubRouteTableV2s", "item": {"type": "object", "props": [{"type": "ResourceId", "name": "id", "arg": "$virtualHubParameters.properties.virtualHubRouteTableV2s[].id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/virtualHubs/{}/routeTables/{}"}}, {"type": "string", "name": "name", "arg": "$virtualHubParameters.properties.virtualHubRouteTableV2s[].name"}, {"type": "object", "name": "properties", "props": [{"type": "array", "name": "attachedConnections", "arg": "$virtualHubParameters.properties.virtualHubRouteTableV2s[].properties.attachedConnections", "item": {"type": "string"}}, {"type": "array", "name": "routes", "arg": "$virtualHubParameters.properties.virtualHubRouteTableV2s[].properties.routes", "item": {"type": "object", "props": [{"type": "string", "name": "destinationType", "arg": "$virtualHubParameters.properties.virtualHubRouteTableV2s[].properties.routes[].destinationType"}, {"type": "array", "name": "destinations", "arg": "$virtualHubParameters.properties.virtualHubRouteTableV2s[].properties.routes[].destinations", "item": {"type": "string"}}, {"type": "string", "name": "nextHopType", "arg": "$virtualHubParameters.properties.virtualHubRouteTableV2s[].properties.routes[].nextHopType"}, {"type": "array", "name": "nextHops", "arg": "$virtualHubParameters.properties.virtualHubRouteTableV2s[].properties.routes[].nextHops", "item": {"type": "string"}}]}}], "clientFlatten": true}]}}, {"type": "integer64", "name": "virtualRouterAsn", "arg": "$virtualHubParameters.properties.virtualRouterAsn", "format": {"maximum": 4294967295, "minimum": 0}}, {"type": "object", "name": "virtualRouterAutoScaleConfiguration", "arg": "$virtualHubParameters.properties.virtualRouterAutoScaleConfiguration", "props": [{"type": "integer32", "name": "minCapacity", "arg": "$virtualHubParameters.properties.virtualRouterAutoScaleConfiguration.minCapacity", "format": {"minimum": 0}}]}, {"type": "array", "name": "virtualRouterIps", "arg": "$virtualHubParameters.properties.virtualRouterIps", "item": {"type": "string"}}, {"type": "object", "name": "virtualWan", "arg": "$virtualHubParameters.properties.virtualWan", "props": [{"type": "string", "name": "id", "arg": "@SubResource_update.id"}], "cls": "SubResource_update"}, {"type": "@SubResource_update", "name": "vpnGateway", "arg": "$virtualHubParameters.properties.vpnGateway"}], "clientFlatten": true}, {"type": "object", "name": "tags", "arg": "$virtualHubParameters.tags", "additionalProps": {"item": {"type": "string"}}}], "clientFlatten": true}}}}, {"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "VirtualHubs_CreateOrUpdate", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "virtualHubName", "arg": "$Path.virtualHubName", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2022-01-01"}, "type": "string", "name": "api-version", "required": true}]}, "body": {"json": {"ref": "$Instance"}}}, "responses": [{"statusCode": [200, 201], "body": {"json": {"var": "$Instance", "schema": {"type": "@VirtualHub_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}]}]} \ No newline at end of file +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/virtualhubs/{}", "version": "2022-01-01", "swagger": "mgmt-plane/network/ResourceProviders/Microsoft.Network/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29yay92aXJ0dWFsSHVicy97dmlydHVhbEh1Yk5hbWV9/V/MjAyMi0wMS0wMQ=="}], "commandGroups": [{"name": "network routeserver", "commands": [{"name": "show", "version": "2022-01-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/virtualhubs/{}", "version": "2022-01-01", "swagger": "mgmt-plane/network/ResourceProviders/Microsoft.Network/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29yay92aXJ0dWFsSHVicy97dmlydHVhbEh1Yk5hbWV9/V/MjAyMi0wMS0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.virtualHubName", "options": ["n", "name"], "required": true, "group": "", "idPart": "name", "help": {"short": "Name of the route server."}}]}], "operations": [{"operationId": "VirtualHubs_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "virtualHubName", "arg": "$Path.virtualHubName", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2022-01-01"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/virtualHubs/{}"}}, {"readOnly": true, "type": "string", "name": "kind"}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "string", "name": "addressPrefix"}, {"type": "boolean", "name": "allowBranchToBranchTraffic"}, {"type": "@SubResource_read", "name": "azureFirewall"}, {"readOnly": true, "type": "array<@SubResource_read>", "name": "bgpConnections", "item": {"type": "@SubResource_read"}}, {"type": "@SubResource_read", "name": "expressRouteGateway"}, {"type": "string", "name": "hubRoutingPreference", "enum": {"items": [{"value": "ASPath"}, {"value": "ExpressRoute"}, {"value": "VpnGateway"}]}}, {"readOnly": true, "type": "array<@SubResource_read>", "name": "ipConfigurations", "item": {"type": "@SubResource_read"}}, {"type": "@SubResource_read", "name": "p2SVpnGateway"}, {"type": "string", "name": "preferredRoutingGateway", "enum": {"items": [{"value": "ExpressRoute"}, {"value": "None"}, {"value": "VpnGateway"}]}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "object", "name": "routeTable", "props": [{"type": "array", "name": "routes", "item": {"type": "object", "props": [{"type": "array", "name": "addressPrefixes", "item": {"type": "string"}}, {"type": "string", "name": "nextHopIpAddress"}]}}]}, {"readOnly": true, "type": "string", "name": "routingState", "enum": {"items": [{"value": "Failed"}, {"value": "None"}, {"value": "Provisioned"}, {"value": "Provisioning"}]}}, {"type": "@SubResource_read", "name": "securityPartnerProvider"}, {"type": "string", "name": "securityProviderName"}, {"type": "string", "name": "sku"}, {"type": "array", "name": "virtualHubRouteTableV2s", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/virtualHubs/{}/routeTables/{}"}}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "array", "name": "attachedConnections", "item": {"type": "string"}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "array", "name": "routes", "item": {"type": "object", "props": [{"type": "string", "name": "destinationType"}, {"type": "array", "name": "destinations", "item": {"type": "string"}}, {"type": "string", "name": "nextHopType"}, {"type": "array", "name": "nextHops", "item": {"type": "string"}}]}}], "clientFlatten": true}]}}, {"type": "integer64", "name": "virtualRouterAsn", "format": {"maximum": 4294967295, "minimum": 0}}, {"type": "object", "name": "virtualRouterAutoScaleConfiguration", "props": [{"type": "integer32", "name": "minCapacity", "format": {"minimum": 0}}]}, {"type": "array", "name": "virtualRouterIps", "item": {"type": "string"}}, {"type": "object", "name": "virtualWan", "props": [{"type": "string", "name": "id"}], "cls": "SubResource_read"}, {"type": "@SubResource_read", "name": "vpnGateway"}], "clientFlatten": true}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}, {"name": "delete", "version": "2022-01-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/virtualhubs/{}", "version": "2022-01-01", "swagger": "mgmt-plane/network/ResourceProviders/Microsoft.Network/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29yay92aXJ0dWFsSHVicy97dmlydHVhbEh1Yk5hbWV9/V/MjAyMi0wMS0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.virtualHubName", "options": ["n", "name"], "required": true, "group": "", "idPart": "name", "help": {"short": "Name of the route server."}}]}], "operations": [{"longRunning": {"finalStateVia": "location"}, "operationId": "VirtualHubs_Delete", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}", "request": {"method": "delete", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "virtualHubName", "arg": "$Path.virtualHubName", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2022-01-01"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200]}, {"statusCode": [202]}, {"statusCode": [204]}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "confirmation": "Are you sure you want to perform this operation?"}, {"name": "create", "version": "2022-01-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/virtualhubs/{}", "version": "2022-01-01", "swagger": "mgmt-plane/network/ResourceProviders/Microsoft.Network/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29yay92aXJ0dWFsSHVicy97dmlydHVhbEh1Yk5hbWV9/V/MjAyMi0wMS0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.virtualHubName", "options": ["n", "name"], "required": true, "group": "", "idPart": "name", "help": {"short": "Name of the route server."}}, {"type": "ResourceLocation", "var": "$virtualHubParameters.location", "options": ["l", "location"], "required": true, "group": "", "help": {"short": "Location. Values from: `az account list-locations`. You can configure the default location using `az configure --defaults location=`."}}, {"type": "string", "var": "$virtualHubParameters.properties.hubRoutingPreference", "options": ["hub-routing-preference"], "group": "", "help": {"short": "Routing preference of the route server."}, "enum": {"items": [{"name": "ASPath", "value": "ASPath"}, {"name": "ExpressRoute", "value": "ExpressRoute"}, {"name": "VpnGateway", "value": "VpnGateway"}]}}, {"type": "string", "var": "$virtualHubParameters.properties.sku", "options": ["sku"], "group": "", "help": {"short": "SKU of the route server."}}, {"type": "object", "var": "$virtualHubParameters.properties.virtualRouterAutoScaleConfiguration", "options": ["auto-scale-config"], "group": "", "help": {"short": "The VirtualHub Router autoscale configuration."}, "args": [{"type": "integer32", "var": "$virtualHubParameters.properties.virtualRouterAutoScaleConfiguration.minCapacity", "options": ["min-capacity"], "help": {"short": "The minimum number of scale units for VirtualHub Router."}, "format": {"minimum": 0}}]}, {"type": "object", "var": "$virtualHubParameters.tags", "options": ["tags"], "group": "", "help": {"short": "Space-separated tags: key[=value] [key[=value] ...]."}, "additionalProps": {"item": {"type": "string"}}}]}, {"name": "Properties", "args": [{"type": "string", "var": "$virtualHubParameters.properties.addressPrefix", "options": ["address-prefix"], "hide": true, "group": "Properties", "help": {"short": "Address-prefix for this VirtualHub."}}, {"type": "boolean", "var": "$virtualHubParameters.properties.allowBranchToBranchTraffic", "options": ["allow-branch-to-branch-traffic"], "hide": true, "group": "Properties", "help": {"short": "Flag to control transit for VirtualRouter hub."}}, {"type": "@SubResource_create", "var": "$virtualHubParameters.properties.azureFirewall", "options": ["azure-firewall"], "hide": true, "group": "Properties", "help": {"short": "The azureFirewall associated with this VirtualHub."}}, {"type": "@SubResource_create", "var": "$virtualHubParameters.properties.expressRouteGateway", "options": ["express-route-gateway"], "hide": true, "group": "Properties", "help": {"short": "The expressRouteGateway associated with this VirtualHub."}}, {"type": "@SubResource_create", "var": "$virtualHubParameters.properties.p2SVpnGateway", "options": ["p2-s-vpn-gateway"], "hide": true, "group": "Properties", "help": {"short": "The P2SVpnGateway associated with this VirtualHub."}}, {"type": "string", "var": "$virtualHubParameters.properties.preferredRoutingGateway", "options": ["preferred-routing-gateway"], "hide": true, "group": "Properties", "help": {"short": "The preferred gateway to route on-prem traffic"}, "enum": {"items": [{"name": "ExpressRoute", "value": "ExpressRoute"}, {"name": "None", "value": "None"}, {"name": "VpnGateway", "value": "VpnGateway"}]}}, {"type": "object", "var": "$virtualHubParameters.properties.routeTable", "options": ["route-table"], "hide": true, "group": "Properties", "help": {"short": "The routeTable associated with this virtual hub."}, "args": [{"type": "array", "var": "$virtualHubParameters.properties.routeTable.routes", "options": ["routes"], "help": {"short": "List of all routes."}, "item": {"type": "object", "args": [{"type": "array", "var": "$virtualHubParameters.properties.routeTable.routes[].addressPrefixes", "options": ["address-prefixes"], "help": {"short": "List of all addressPrefixes."}, "item": {"type": "string"}}, {"type": "string", "var": "$virtualHubParameters.properties.routeTable.routes[].nextHopIpAddress", "options": ["next-hop-ip-address"], "help": {"short": "NextHop ip address."}}]}}]}, {"type": "@SubResource_create", "var": "$virtualHubParameters.properties.securityPartnerProvider", "options": ["security-partner-provider"], "hide": true, "group": "Properties", "help": {"short": "The securityPartnerProvider associated with this VirtualHub."}}, {"type": "string", "var": "$virtualHubParameters.properties.securityProviderName", "options": ["security-provider-name"], "hide": true, "group": "Properties", "help": {"short": "The Security Provider name."}}, {"type": "array", "var": "$virtualHubParameters.properties.virtualHubRouteTableV2s", "options": ["virtual-hub-route-table-v2s"], "hide": true, "group": "Properties", "help": {"short": "List of all virtual hub route table v2s associated with this VirtualHub."}, "item": {"type": "object", "args": [{"type": "ResourceId", "var": "$virtualHubParameters.properties.virtualHubRouteTableV2s[].id", "options": ["id"], "help": {"short": "Resource ID."}, "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/virtualHubs/{}/routeTables/{}"}}, {"type": "string", "var": "$virtualHubParameters.properties.virtualHubRouteTableV2s[].name", "options": ["name"], "help": {"short": "The name of the resource that is unique within a resource group. This name can be used to access the resource."}}, {"type": "array", "var": "$virtualHubParameters.properties.virtualHubRouteTableV2s[].properties.attachedConnections", "options": ["attached-connections"], "group": "Properties", "help": {"short": "List of all connections attached to this route table v2."}, "item": {"type": "string"}}, {"type": "array", "var": "$virtualHubParameters.properties.virtualHubRouteTableV2s[].properties.routes", "options": ["routes"], "group": "Properties", "help": {"short": "List of all routes."}, "item": {"type": "object", "args": [{"type": "string", "var": "$virtualHubParameters.properties.virtualHubRouteTableV2s[].properties.routes[].destinationType", "options": ["destination-type"], "help": {"short": "The type of destinations."}}, {"type": "array", "var": "$virtualHubParameters.properties.virtualHubRouteTableV2s[].properties.routes[].destinations", "options": ["destinations"], "help": {"short": "List of all destinations."}, "item": {"type": "string"}}, {"type": "string", "var": "$virtualHubParameters.properties.virtualHubRouteTableV2s[].properties.routes[].nextHopType", "options": ["next-hop-type"], "help": {"short": "The type of next hops."}}, {"type": "array", "var": "$virtualHubParameters.properties.virtualHubRouteTableV2s[].properties.routes[].nextHops", "options": ["next-hops"], "help": {"short": "NextHops ip address."}, "item": {"type": "string"}}]}}]}}, {"type": "integer64", "var": "$virtualHubParameters.properties.virtualRouterAsn", "options": ["virtual-router-asn"], "hide": true, "group": "Properties", "help": {"short": "VirtualRouter ASN."}, "format": {"maximum": 4294967295, "minimum": 0}}, {"type": "array", "var": "$virtualHubParameters.properties.virtualRouterIps", "options": ["virtual-router-ips"], "hide": true, "group": "Properties", "help": {"short": "VirtualRouter IPs."}, "item": {"type": "string"}}, {"type": "object", "var": "$virtualHubParameters.properties.virtualWan", "options": ["virtual-wan"], "hide": true, "group": "Properties", "help": {"short": "The VirtualWAN to which the VirtualHub belongs."}, "args": [{"type": "string", "var": "@SubResource_create.id", "options": ["id"], "help": {"short": "Resource ID."}}], "cls": "SubResource_create"}, {"type": "@SubResource_create", "var": "$virtualHubParameters.properties.vpnGateway", "options": ["vpn-gateway"], "hide": true, "group": "Properties", "help": {"short": "The VpnGateway associated with this VirtualHub."}}]}, {"name": "VirtualHubParameters", "args": [{"type": "ResourceId", "var": "$virtualHubParameters.id", "options": ["id"], "hide": true, "group": "VirtualHubParameters", "help": {"short": "Resource ID."}, "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/virtualHubs/{}"}}]}], "operations": [{"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "VirtualHubs_CreateOrUpdate", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "virtualHubName", "arg": "$Path.virtualHubName", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2022-01-01"}, "type": "string", "name": "api-version", "required": true}]}, "body": {"json": {"schema": {"type": "object", "name": "virtualHubParameters", "required": true, "props": [{"type": "ResourceId", "name": "id", "arg": "$virtualHubParameters.id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/virtualHubs/{}"}}, {"type": "ResourceLocation", "name": "location", "arg": "$virtualHubParameters.location", "required": true}, {"type": "object", "name": "properties", "props": [{"type": "string", "name": "addressPrefix", "arg": "$virtualHubParameters.properties.addressPrefix"}, {"type": "boolean", "name": "allowBranchToBranchTraffic", "arg": "$virtualHubParameters.properties.allowBranchToBranchTraffic"}, {"type": "@SubResource_create", "name": "azureFirewall", "arg": "$virtualHubParameters.properties.azureFirewall"}, {"type": "@SubResource_create", "name": "expressRouteGateway", "arg": "$virtualHubParameters.properties.expressRouteGateway"}, {"type": "string", "name": "hubRoutingPreference", "arg": "$virtualHubParameters.properties.hubRoutingPreference", "enum": {"items": [{"value": "ASPath"}, {"value": "ExpressRoute"}, {"value": "VpnGateway"}]}}, {"type": "@SubResource_create", "name": "p2SVpnGateway", "arg": "$virtualHubParameters.properties.p2SVpnGateway"}, {"type": "string", "name": "preferredRoutingGateway", "arg": "$virtualHubParameters.properties.preferredRoutingGateway", "enum": {"items": [{"value": "ExpressRoute"}, {"value": "None"}, {"value": "VpnGateway"}]}}, {"type": "object", "name": "routeTable", "arg": "$virtualHubParameters.properties.routeTable", "props": [{"type": "array", "name": "routes", "arg": "$virtualHubParameters.properties.routeTable.routes", "item": {"type": "object", "props": [{"type": "array", "name": "addressPrefixes", "arg": "$virtualHubParameters.properties.routeTable.routes[].addressPrefixes", "item": {"type": "string"}}, {"type": "string", "name": "nextHopIpAddress", "arg": "$virtualHubParameters.properties.routeTable.routes[].nextHopIpAddress"}]}}]}, {"type": "@SubResource_create", "name": "securityPartnerProvider", "arg": "$virtualHubParameters.properties.securityPartnerProvider"}, {"type": "string", "name": "securityProviderName", "arg": "$virtualHubParameters.properties.securityProviderName"}, {"type": "string", "name": "sku", "arg": "$virtualHubParameters.properties.sku"}, {"type": "array", "name": "virtualHubRouteTableV2s", "arg": "$virtualHubParameters.properties.virtualHubRouteTableV2s", "item": {"type": "object", "props": [{"type": "ResourceId", "name": "id", "arg": "$virtualHubParameters.properties.virtualHubRouteTableV2s[].id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/virtualHubs/{}/routeTables/{}"}}, {"type": "string", "name": "name", "arg": "$virtualHubParameters.properties.virtualHubRouteTableV2s[].name"}, {"type": "object", "name": "properties", "props": [{"type": "array", "name": "attachedConnections", "arg": "$virtualHubParameters.properties.virtualHubRouteTableV2s[].properties.attachedConnections", "item": {"type": "string"}}, {"type": "array", "name": "routes", "arg": "$virtualHubParameters.properties.virtualHubRouteTableV2s[].properties.routes", "item": {"type": "object", "props": [{"type": "string", "name": "destinationType", "arg": "$virtualHubParameters.properties.virtualHubRouteTableV2s[].properties.routes[].destinationType"}, {"type": "array", "name": "destinations", "arg": "$virtualHubParameters.properties.virtualHubRouteTableV2s[].properties.routes[].destinations", "item": {"type": "string"}}, {"type": "string", "name": "nextHopType", "arg": "$virtualHubParameters.properties.virtualHubRouteTableV2s[].properties.routes[].nextHopType"}, {"type": "array", "name": "nextHops", "arg": "$virtualHubParameters.properties.virtualHubRouteTableV2s[].properties.routes[].nextHops", "item": {"type": "string"}}]}}], "clientFlatten": true}]}}, {"type": "integer64", "name": "virtualRouterAsn", "arg": "$virtualHubParameters.properties.virtualRouterAsn", "format": {"maximum": 4294967295, "minimum": 0}}, {"type": "object", "name": "virtualRouterAutoScaleConfiguration", "arg": "$virtualHubParameters.properties.virtualRouterAutoScaleConfiguration", "props": [{"type": "integer32", "name": "minCapacity", "arg": "$virtualHubParameters.properties.virtualRouterAutoScaleConfiguration.minCapacity", "format": {"minimum": 0}}]}, {"type": "array", "name": "virtualRouterIps", "arg": "$virtualHubParameters.properties.virtualRouterIps", "item": {"type": "string"}}, {"type": "object", "name": "virtualWan", "arg": "$virtualHubParameters.properties.virtualWan", "props": [{"type": "string", "name": "id", "arg": "@SubResource_create.id"}], "cls": "SubResource_create"}, {"type": "@SubResource_create", "name": "vpnGateway", "arg": "$virtualHubParameters.properties.vpnGateway"}], "clientFlatten": true}, {"type": "object", "name": "tags", "arg": "$virtualHubParameters.tags", "additionalProps": {"item": {"type": "string"}}}], "clientFlatten": true}}}}, "responses": [{"statusCode": [200, 201], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/virtualHubs/{}"}}, {"readOnly": true, "type": "string", "name": "kind"}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "string", "name": "addressPrefix"}, {"type": "boolean", "name": "allowBranchToBranchTraffic"}, {"type": "@SubResource_read", "name": "azureFirewall"}, {"readOnly": true, "type": "array<@SubResource_read>", "name": "bgpConnections", "item": {"type": "@SubResource_read"}}, {"type": "@SubResource_read", "name": "expressRouteGateway"}, {"type": "string", "name": "hubRoutingPreference", "enum": {"items": [{"value": "ASPath"}, {"value": "ExpressRoute"}, {"value": "VpnGateway"}]}}, {"readOnly": true, "type": "array<@SubResource_read>", "name": "ipConfigurations", "item": {"type": "@SubResource_read"}}, {"type": "@SubResource_read", "name": "p2SVpnGateway"}, {"type": "string", "name": "preferredRoutingGateway", "enum": {"items": [{"value": "ExpressRoute"}, {"value": "None"}, {"value": "VpnGateway"}]}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "object", "name": "routeTable", "props": [{"type": "array", "name": "routes", "item": {"type": "object", "props": [{"type": "array", "name": "addressPrefixes", "item": {"type": "string"}}, {"type": "string", "name": "nextHopIpAddress"}]}}]}, {"readOnly": true, "type": "string", "name": "routingState", "enum": {"items": [{"value": "Failed"}, {"value": "None"}, {"value": "Provisioned"}, {"value": "Provisioning"}]}}, {"type": "@SubResource_read", "name": "securityPartnerProvider"}, {"type": "string", "name": "securityProviderName"}, {"type": "string", "name": "sku"}, {"type": "array", "name": "virtualHubRouteTableV2s", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/virtualHubs/{}/routeTables/{}"}}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "array", "name": "attachedConnections", "item": {"type": "string"}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "array", "name": "routes", "item": {"type": "object", "props": [{"type": "string", "name": "destinationType"}, {"type": "array", "name": "destinations", "item": {"type": "string"}}, {"type": "string", "name": "nextHopType"}, {"type": "array", "name": "nextHops", "item": {"type": "string"}}]}}], "clientFlatten": true}]}}, {"type": "integer64", "name": "virtualRouterAsn", "format": {"maximum": 4294967295, "minimum": 0}}, {"type": "object", "name": "virtualRouterAutoScaleConfiguration", "props": [{"type": "integer32", "name": "minCapacity", "format": {"minimum": 0}}]}, {"type": "array", "name": "virtualRouterIps", "item": {"type": "string"}}, {"type": "object", "name": "virtualWan", "props": [{"type": "string", "name": "id"}], "cls": "SubResource_read"}, {"type": "@SubResource_read", "name": "vpnGateway"}], "clientFlatten": true}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}, {"name": "update", "version": "2022-01-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.network/virtualhubs/{}", "version": "2022-01-01", "swagger": "mgmt-plane/network/ResourceProviders/Microsoft.Network/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29yay92aXJ0dWFsSHVicy97dmlydHVhbEh1Yk5hbWV9/V/MjAyMi0wMS0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$Path.virtualHubName", "options": ["n", "name"], "required": true, "group": "", "idPart": "name", "help": {"short": "Name of the route server."}}, {"nullable": true, "type": "boolean", "var": "$virtualHubParameters.properties.allowBranchToBranchTraffic", "options": ["allow-b2b-traffic"], "group": "", "help": {"short": "Whether to allow branch to branch traffic."}}, {"nullable": true, "type": "string", "var": "$virtualHubParameters.properties.hubRoutingPreference", "options": ["hub-routing-preference"], "group": "", "help": {"short": "Routing preference of the route server."}, "enum": {"items": [{"name": "ASPath", "value": "ASPath"}, {"name": "ExpressRoute", "value": "ExpressRoute"}, {"name": "VpnGateway", "value": "VpnGateway"}]}}, {"nullable": true, "type": "object", "var": "$virtualHubParameters.properties.virtualRouterAutoScaleConfiguration", "options": ["auto-scale-config"], "group": "", "help": {"short": "The VirtualHub Router autoscale configuration."}, "args": [{"nullable": true, "type": "integer32", "var": "$virtualHubParameters.properties.virtualRouterAutoScaleConfiguration.minCapacity", "options": ["min-capacity"], "help": {"short": "The minimum number of scale units for VirtualHub Router."}, "format": {"minimum": 0}}]}, {"nullable": true, "type": "object", "var": "$virtualHubParameters.tags", "options": ["tags"], "group": "", "help": {"short": "Space-separated tags: key[=value] [key[=value] ...]."}, "additionalProps": {"item": {"nullable": true, "type": "string"}}}]}, {"name": "Properties", "args": [{"nullable": true, "type": "string", "var": "$virtualHubParameters.properties.addressPrefix", "options": ["address-prefix"], "hide": true, "group": "Properties", "help": {"short": "Address-prefix for this VirtualHub."}}, {"nullable": true, "type": "@SubResource_update", "var": "$virtualHubParameters.properties.azureFirewall", "options": ["azure-firewall"], "hide": true, "group": "Properties", "help": {"short": "The azureFirewall associated with this VirtualHub."}}, {"nullable": true, "type": "@SubResource_update", "var": "$virtualHubParameters.properties.expressRouteGateway", "options": ["express-route-gateway"], "hide": true, "group": "Properties", "help": {"short": "The expressRouteGateway associated with this VirtualHub."}}, {"nullable": true, "type": "@SubResource_update", "var": "$virtualHubParameters.properties.p2SVpnGateway", "options": ["p2-s-vpn-gateway"], "hide": true, "group": "Properties", "help": {"short": "The P2SVpnGateway associated with this VirtualHub."}}, {"nullable": true, "type": "string", "var": "$virtualHubParameters.properties.preferredRoutingGateway", "options": ["preferred-routing-gateway"], "hide": true, "group": "Properties", "help": {"short": "The preferred gateway to route on-prem traffic"}, "enum": {"items": [{"name": "ExpressRoute", "value": "ExpressRoute"}, {"name": "None", "value": "None"}, {"name": "VpnGateway", "value": "VpnGateway"}]}}, {"nullable": true, "type": "object", "var": "$virtualHubParameters.properties.routeTable", "options": ["route-table"], "hide": true, "group": "Properties", "help": {"short": "The routeTable associated with this virtual hub."}, "args": [{"nullable": true, "type": "array", "var": "$virtualHubParameters.properties.routeTable.routes", "options": ["routes"], "help": {"short": "List of all routes."}, "item": {"nullable": true, "type": "object", "args": [{"nullable": true, "type": "array", "var": "$virtualHubParameters.properties.routeTable.routes[].addressPrefixes", "options": ["address-prefixes"], "help": {"short": "List of all addressPrefixes."}, "item": {"nullable": true, "type": "string"}}, {"nullable": true, "type": "string", "var": "$virtualHubParameters.properties.routeTable.routes[].nextHopIpAddress", "options": ["next-hop-ip-address"], "help": {"short": "NextHop ip address."}}]}}]}, {"nullable": true, "type": "@SubResource_update", "var": "$virtualHubParameters.properties.securityPartnerProvider", "options": ["security-partner-provider"], "hide": true, "group": "Properties", "help": {"short": "The securityPartnerProvider associated with this VirtualHub."}}, {"nullable": true, "type": "string", "var": "$virtualHubParameters.properties.securityProviderName", "options": ["security-provider-name"], "hide": true, "group": "Properties", "help": {"short": "The Security Provider name."}}, {"nullable": true, "type": "string", "var": "$virtualHubParameters.properties.sku", "options": ["sku"], "hide": true, "group": "Properties", "help": {"short": "The sku of this VirtualHub."}}, {"nullable": true, "type": "array", "var": "$virtualHubParameters.properties.virtualHubRouteTableV2s", "options": ["virtual-hub-route-table-v2s"], "hide": true, "group": "Properties", "help": {"short": "List of all virtual hub route table v2s associated with this VirtualHub."}, "item": {"nullable": true, "type": "object", "args": [{"nullable": true, "type": "ResourceId", "var": "$virtualHubParameters.properties.virtualHubRouteTableV2s[].id", "options": ["id"], "help": {"short": "Resource ID."}, "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/virtualHubs/{}/routeTables/{}"}}, {"nullable": true, "type": "string", "var": "$virtualHubParameters.properties.virtualHubRouteTableV2s[].name", "options": ["name"], "help": {"short": "The name of the resource that is unique within a resource group. This name can be used to access the resource."}}, {"nullable": true, "type": "array", "var": "$virtualHubParameters.properties.virtualHubRouteTableV2s[].properties.attachedConnections", "options": ["attached-connections"], "group": "Properties", "help": {"short": "List of all connections attached to this route table v2."}, "item": {"nullable": true, "type": "string"}}, {"nullable": true, "type": "array", "var": "$virtualHubParameters.properties.virtualHubRouteTableV2s[].properties.routes", "options": ["routes"], "group": "Properties", "help": {"short": "List of all routes."}, "item": {"nullable": true, "type": "object", "args": [{"nullable": true, "type": "string", "var": "$virtualHubParameters.properties.virtualHubRouteTableV2s[].properties.routes[].destinationType", "options": ["destination-type"], "help": {"short": "The type of destinations."}}, {"nullable": true, "type": "array", "var": "$virtualHubParameters.properties.virtualHubRouteTableV2s[].properties.routes[].destinations", "options": ["destinations"], "help": {"short": "List of all destinations."}, "item": {"nullable": true, "type": "string"}}, {"nullable": true, "type": "string", "var": "$virtualHubParameters.properties.virtualHubRouteTableV2s[].properties.routes[].nextHopType", "options": ["next-hop-type"], "help": {"short": "The type of next hops."}}, {"nullable": true, "type": "array", "var": "$virtualHubParameters.properties.virtualHubRouteTableV2s[].properties.routes[].nextHops", "options": ["next-hops"], "help": {"short": "NextHops ip address."}, "item": {"nullable": true, "type": "string"}}]}}]}}, {"nullable": true, "type": "integer64", "var": "$virtualHubParameters.properties.virtualRouterAsn", "options": ["virtual-router-asn"], "hide": true, "group": "Properties", "help": {"short": "VirtualRouter ASN."}, "format": {"maximum": 4294967295, "minimum": 0}}, {"nullable": true, "type": "array", "var": "$virtualHubParameters.properties.virtualRouterIps", "options": ["virtual-router-ips"], "hide": true, "group": "Properties", "help": {"short": "VirtualRouter IPs."}, "item": {"nullable": true, "type": "string"}}, {"nullable": true, "type": "object", "var": "$virtualHubParameters.properties.virtualWan", "options": ["virtual-wan"], "hide": true, "group": "Properties", "help": {"short": "The VirtualWAN to which the VirtualHub belongs."}, "args": [{"nullable": true, "type": "string", "var": "@SubResource_update.id", "options": ["id"], "help": {"short": "Resource ID."}}], "cls": "SubResource_update"}, {"nullable": true, "type": "@SubResource_update", "var": "$virtualHubParameters.properties.vpnGateway", "options": ["vpn-gateway"], "hide": true, "group": "Properties", "help": {"short": "The VpnGateway associated with this VirtualHub."}}]}, {"name": "VirtualHubParameters", "args": [{"nullable": true, "type": "ResourceId", "var": "$virtualHubParameters.id", "options": ["id"], "hide": true, "group": "VirtualHubParameters", "help": {"short": "Resource ID."}, "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/virtualHubs/{}"}}, {"type": "ResourceLocation", "var": "$virtualHubParameters.location", "options": ["l", "location"], "hide": true, "group": "VirtualHubParameters", "help": {"short": "Resource location."}}]}], "operations": [{"operationId": "VirtualHubs_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "virtualHubName", "arg": "$Path.virtualHubName", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2022-01-01"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/virtualHubs/{}"}}, {"readOnly": true, "type": "string", "name": "kind"}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "string", "name": "addressPrefix"}, {"type": "boolean", "name": "allowBranchToBranchTraffic"}, {"type": "@SubResource_read", "name": "azureFirewall"}, {"readOnly": true, "type": "array<@SubResource_read>", "name": "bgpConnections", "item": {"type": "@SubResource_read"}}, {"type": "@SubResource_read", "name": "expressRouteGateway"}, {"type": "string", "name": "hubRoutingPreference", "enum": {"items": [{"value": "ASPath"}, {"value": "ExpressRoute"}, {"value": "VpnGateway"}]}}, {"readOnly": true, "type": "array<@SubResource_read>", "name": "ipConfigurations", "item": {"type": "@SubResource_read"}}, {"type": "@SubResource_read", "name": "p2SVpnGateway"}, {"type": "string", "name": "preferredRoutingGateway", "enum": {"items": [{"value": "ExpressRoute"}, {"value": "None"}, {"value": "VpnGateway"}]}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "object", "name": "routeTable", "props": [{"type": "array", "name": "routes", "item": {"type": "object", "props": [{"type": "array", "name": "addressPrefixes", "item": {"type": "string"}}, {"type": "string", "name": "nextHopIpAddress"}]}}]}, {"readOnly": true, "type": "string", "name": "routingState", "enum": {"items": [{"value": "Failed"}, {"value": "None"}, {"value": "Provisioned"}, {"value": "Provisioning"}]}}, {"type": "@SubResource_read", "name": "securityPartnerProvider"}, {"type": "string", "name": "securityProviderName"}, {"type": "string", "name": "sku"}, {"type": "array", "name": "virtualHubRouteTableV2s", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/virtualHubs/{}/routeTables/{}"}}, {"type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "array", "name": "attachedConnections", "item": {"type": "string"}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "array", "name": "routes", "item": {"type": "object", "props": [{"type": "string", "name": "destinationType"}, {"type": "array", "name": "destinations", "item": {"type": "string"}}, {"type": "string", "name": "nextHopType"}, {"type": "array", "name": "nextHops", "item": {"type": "string"}}]}}], "clientFlatten": true}]}}, {"type": "integer64", "name": "virtualRouterAsn", "format": {"maximum": 4294967295, "minimum": 0}}, {"type": "object", "name": "virtualRouterAutoScaleConfiguration", "props": [{"type": "integer32", "name": "minCapacity", "format": {"minimum": 0}}]}, {"type": "array", "name": "virtualRouterIps", "item": {"type": "string"}}, {"type": "object", "name": "virtualWan", "props": [{"type": "string", "name": "id"}], "cls": "SubResource_read"}, {"type": "@SubResource_read", "name": "vpnGateway"}], "clientFlatten": true}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}], "cls": "VirtualHub_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}, {"instanceUpdate": {"ref": "$Instance", "json": {"schema": {"type": "object", "name": "virtualHubParameters", "required": true, "props": [{"type": "ResourceId", "name": "id", "arg": "$virtualHubParameters.id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/virtualHubs/{}"}}, {"type": "ResourceLocation", "name": "location", "arg": "$virtualHubParameters.location", "required": true}, {"type": "object", "name": "properties", "props": [{"type": "string", "name": "addressPrefix", "arg": "$virtualHubParameters.properties.addressPrefix"}, {"type": "boolean", "name": "allowBranchToBranchTraffic", "arg": "$virtualHubParameters.properties.allowBranchToBranchTraffic"}, {"type": "@SubResource_update", "name": "azureFirewall", "arg": "$virtualHubParameters.properties.azureFirewall"}, {"type": "@SubResource_update", "name": "expressRouteGateway", "arg": "$virtualHubParameters.properties.expressRouteGateway"}, {"type": "string", "name": "hubRoutingPreference", "arg": "$virtualHubParameters.properties.hubRoutingPreference", "enum": {"items": [{"value": "ASPath"}, {"value": "ExpressRoute"}, {"value": "VpnGateway"}]}}, {"type": "@SubResource_update", "name": "p2SVpnGateway", "arg": "$virtualHubParameters.properties.p2SVpnGateway"}, {"type": "string", "name": "preferredRoutingGateway", "arg": "$virtualHubParameters.properties.preferredRoutingGateway", "enum": {"items": [{"value": "ExpressRoute"}, {"value": "None"}, {"value": "VpnGateway"}]}}, {"type": "object", "name": "routeTable", "arg": "$virtualHubParameters.properties.routeTable", "props": [{"type": "array", "name": "routes", "arg": "$virtualHubParameters.properties.routeTable.routes", "item": {"type": "object", "props": [{"type": "array", "name": "addressPrefixes", "arg": "$virtualHubParameters.properties.routeTable.routes[].addressPrefixes", "item": {"type": "string"}}, {"type": "string", "name": "nextHopIpAddress", "arg": "$virtualHubParameters.properties.routeTable.routes[].nextHopIpAddress"}]}}]}, {"type": "@SubResource_update", "name": "securityPartnerProvider", "arg": "$virtualHubParameters.properties.securityPartnerProvider"}, {"type": "string", "name": "securityProviderName", "arg": "$virtualHubParameters.properties.securityProviderName"}, {"type": "string", "name": "sku", "arg": "$virtualHubParameters.properties.sku"}, {"type": "array", "name": "virtualHubRouteTableV2s", "arg": "$virtualHubParameters.properties.virtualHubRouteTableV2s", "item": {"type": "object", "props": [{"type": "ResourceId", "name": "id", "arg": "$virtualHubParameters.properties.virtualHubRouteTableV2s[].id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Network/virtualHubs/{}/routeTables/{}"}}, {"type": "string", "name": "name", "arg": "$virtualHubParameters.properties.virtualHubRouteTableV2s[].name"}, {"type": "object", "name": "properties", "props": [{"type": "array", "name": "attachedConnections", "arg": "$virtualHubParameters.properties.virtualHubRouteTableV2s[].properties.attachedConnections", "item": {"type": "string"}}, {"type": "array", "name": "routes", "arg": "$virtualHubParameters.properties.virtualHubRouteTableV2s[].properties.routes", "item": {"type": "object", "props": [{"type": "string", "name": "destinationType", "arg": "$virtualHubParameters.properties.virtualHubRouteTableV2s[].properties.routes[].destinationType"}, {"type": "array", "name": "destinations", "arg": "$virtualHubParameters.properties.virtualHubRouteTableV2s[].properties.routes[].destinations", "item": {"type": "string"}}, {"type": "string", "name": "nextHopType", "arg": "$virtualHubParameters.properties.virtualHubRouteTableV2s[].properties.routes[].nextHopType"}, {"type": "array", "name": "nextHops", "arg": "$virtualHubParameters.properties.virtualHubRouteTableV2s[].properties.routes[].nextHops", "item": {"type": "string"}}]}}], "clientFlatten": true}]}}, {"type": "integer64", "name": "virtualRouterAsn", "arg": "$virtualHubParameters.properties.virtualRouterAsn", "format": {"maximum": 4294967295, "minimum": 0}}, {"type": "object", "name": "virtualRouterAutoScaleConfiguration", "arg": "$virtualHubParameters.properties.virtualRouterAutoScaleConfiguration", "props": [{"type": "integer32", "name": "minCapacity", "arg": "$virtualHubParameters.properties.virtualRouterAutoScaleConfiguration.minCapacity", "format": {"minimum": 0}}]}, {"type": "array", "name": "virtualRouterIps", "arg": "$virtualHubParameters.properties.virtualRouterIps", "item": {"type": "string"}}, {"type": "object", "name": "virtualWan", "arg": "$virtualHubParameters.properties.virtualWan", "props": [{"type": "string", "name": "id", "arg": "@SubResource_update.id"}], "cls": "SubResource_update"}, {"type": "@SubResource_update", "name": "vpnGateway", "arg": "$virtualHubParameters.properties.vpnGateway"}], "clientFlatten": true}, {"type": "object", "name": "tags", "arg": "$virtualHubParameters.tags", "additionalProps": {"item": {"type": "string"}}}], "clientFlatten": true}}}}, {"longRunning": {"finalStateVia": "azure-async-operation"}, "operationId": "VirtualHubs_CreateOrUpdate", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}, {"type": "string", "name": "virtualHubName", "arg": "$Path.virtualHubName", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2022-01-01"}, "type": "string", "name": "api-version", "required": true}]}, "body": {"json": {"ref": "$Instance"}}}, "responses": [{"statusCode": [200, 201], "body": {"json": {"var": "$Instance", "schema": {"type": "@VirtualHub_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL3ZpcnR1YWxodWJzL3t9/2022-01-01.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL3ZpcnR1YWxodWJzL3t9/2022-01-01.xml index a27fb38a9..5a9df5efa 100644 --- a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL3ZpcnR1YWxodWJzL3t9/2022-01-01.xml +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5uZXR3b3JrL3ZpcnR1YWxodWJzL3t9/2022-01-01.xml @@ -221,6 +221,13 @@ + + + + + + + @@ -312,13 +319,6 @@ - - - - - - - @@ -599,6 +599,13 @@ + + + + + + + @@ -690,13 +697,6 @@ - - - - - - -