From 8a085431c08d19ede759ca7cc98848590ece9ddf Mon Sep 17 00:00:00 2001 From: "RuiJun Hu (MSFT)" Date: Wed, 18 Dec 2024 10:40:57 +0800 Subject: [PATCH] aaz generate --- Commands/portal/dashboard/_create.md | 16 + Commands/portal/dashboard/_delete.md | 16 + Commands/portal/dashboard/_list.md | 22 + Commands/portal/dashboard/_show.md | 16 + Commands/portal/dashboard/_update.md | 16 + Commands/portal/dashboard/readme.md | 20 + Commands/portal/readme.md | 8 + Commands/readme.md | 3 + Commands/tree.json | 182 ++++ .../2022-12-01-preview.json | 1 + .../2022-12-01-preview.xml | 285 +++++++ .../2022-12-01-preview.md | 1 + .../2022-12-01-preview.json | 1 + .../2022-12-01-preview.xml | 798 ++++++++++++++++++ 14 files changed, 1385 insertions(+) create mode 100644 Commands/portal/dashboard/_create.md create mode 100644 Commands/portal/dashboard/_delete.md create mode 100644 Commands/portal/dashboard/_list.md create mode 100644 Commands/portal/dashboard/_show.md create mode 100644 Commands/portal/dashboard/_update.md create mode 100644 Commands/portal/dashboard/readme.md create mode 100644 Commands/portal/readme.md create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5wb3J0YWwvZGFzaGJvYXJkcw==/2022-12-01-preview.json create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5wb3J0YWwvZGFzaGJvYXJkcw==/2022-12-01-preview.xml create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5wb3J0YWwvZGFzaGJvYXJkcw==/2022-12-01-preview.md create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5wb3J0YWwvZGFzaGJvYXJkcy97fQ==/2022-12-01-preview.json create mode 100644 Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5wb3J0YWwvZGFzaGJvYXJkcy97fQ==/2022-12-01-preview.xml diff --git a/Commands/portal/dashboard/_create.md b/Commands/portal/dashboard/_create.md new file mode 100644 index 000000000..b690a2e69 --- /dev/null +++ b/Commands/portal/dashboard/_create.md @@ -0,0 +1,16 @@ +# [Command] _portal dashboard create_ + +Create a Dashboard. + +## Versions + +### [2022-12-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5wb3J0YWwvZGFzaGJvYXJkcy97fQ==/2022-12-01-preview.xml) **Stable** + + + +#### examples + +- Create a Dashboard + ```bash + portal dashboard create --location "eastus" --name "testDashboard" --resource-group "testRG" --input-path "/src/json/properties.json" --tags aKey=aValue anotherKey=anotherValue + ``` diff --git a/Commands/portal/dashboard/_delete.md b/Commands/portal/dashboard/_delete.md new file mode 100644 index 000000000..c09c114f6 --- /dev/null +++ b/Commands/portal/dashboard/_delete.md @@ -0,0 +1,16 @@ +# [Command] _portal dashboard delete_ + +Delete the Dashboard. + +## Versions + +### [2022-12-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5wb3J0YWwvZGFzaGJvYXJkcy97fQ==/2022-12-01-preview.xml) **Stable** + + + +#### examples + +- Delete a Dashboard + ```bash + portal dashboard delete --name testDashboard --resource-group testRG + ``` diff --git a/Commands/portal/dashboard/_list.md b/Commands/portal/dashboard/_list.md new file mode 100644 index 000000000..d47c3eaef --- /dev/null +++ b/Commands/portal/dashboard/_list.md @@ -0,0 +1,22 @@ +# [Command] _portal dashboard list_ + +List all the dashboards within a subscription or a resource group. + +## Versions + +### [2022-12-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5wb3J0YWwvZGFzaGJvYXJkcw==/2022-12-01-preview.xml) **Stable** + + + + +#### examples + +- List all dashboards in a resourceGroup + ```bash + portal dashboard list --resource-group testRG + ``` + +- List all dashboards in a subscription + ```bash + portal dashboard list + ``` diff --git a/Commands/portal/dashboard/_show.md b/Commands/portal/dashboard/_show.md new file mode 100644 index 000000000..cd0127c6d --- /dev/null +++ b/Commands/portal/dashboard/_show.md @@ -0,0 +1,16 @@ +# [Command] _portal dashboard show_ + +Gets details for a dashboard. + +## Versions + +### [2022-12-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5wb3J0YWwvZGFzaGJvYXJkcy97fQ==/2022-12-01-preview.xml) **Stable** + + + +#### examples + +- Get a Dashboard + ```bash + portal dashboard show --name testDashboard --resource-group testRG + ``` diff --git a/Commands/portal/dashboard/_update.md b/Commands/portal/dashboard/_update.md new file mode 100644 index 000000000..041ee66f5 --- /dev/null +++ b/Commands/portal/dashboard/_update.md @@ -0,0 +1,16 @@ +# [Command] _portal dashboard update_ + +Update an existing Dashboard. + +## Versions + +### [2022-12-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5wb3J0YWwvZGFzaGJvYXJkcy97fQ==/2022-12-01-preview.xml) **Stable** + + + +#### examples + +- Update a Dashboard + ```bash + portal dashboard update --name "testDashboard" --resource-group "testRG" --input-path "/src/json/properties.json" + ``` diff --git a/Commands/portal/dashboard/readme.md b/Commands/portal/dashboard/readme.md new file mode 100644 index 000000000..ee325dbf1 --- /dev/null +++ b/Commands/portal/dashboard/readme.md @@ -0,0 +1,20 @@ +# [Group] _portal dashboard_ + +Manage portal dashboards. + +## Commands + +- [create](/Commands/portal/dashboard/_create.md) +: Create a Dashboard. + +- [delete](/Commands/portal/dashboard/_delete.md) +: Delete the Dashboard. + +- [list](/Commands/portal/dashboard/_list.md) +: List all the dashboards within a subscription or a resource group. + +- [show](/Commands/portal/dashboard/_show.md) +: Gets details for a dashboard. + +- [update](/Commands/portal/dashboard/_update.md) +: Update an existing Dashboard. diff --git a/Commands/portal/readme.md b/Commands/portal/readme.md new file mode 100644 index 000000000..09604e4a1 --- /dev/null +++ b/Commands/portal/readme.md @@ -0,0 +1,8 @@ +# [Group] _portal_ + +Manage Portal. + +## Subgroups + +- [dashboard](/Commands/portal/dashboard/readme.md) +: Manage portal dashboards. diff --git a/Commands/readme.md b/Commands/readme.md index 0ea219b47..fc76d4736 100644 --- a/Commands/readme.md +++ b/Commands/readme.md @@ -263,6 +263,9 @@ - [palo-alto](/Commands/palo-alto/readme.md) : Manage palo-alto networks resource +- [portal](/Commands/portal/readme.md) +: Manage Portal. + - [powerbi](/Commands/powerbi/readme.md) : Manage PowerBI resources. diff --git a/Commands/tree.json b/Commands/tree.json index b8746bf84..1237ba8d7 100644 --- a/Commands/tree.json +++ b/Commands/tree.json @@ -193762,6 +193762,188 @@ "palo-alto" ] }, + "portal": { + "commandGroups": { + "dashboard": { + "commands": { + "create": { + "help": { + "short": "Create a Dashboard." + }, + "names": [ + "portal", + "dashboard", + "create" + ], + "versions": [ + { + "examples": [ + { + "commands": [ + "portal dashboard create --location \"eastus\" --name \"testDashboard\" --resource-group \"testRG\" --input-path \"/src/json/properties.json\" --tags aKey=aValue anotherKey=anotherValue" + ], + "name": "Create a Dashboard" + } + ], + "name": "2022-12-01-preview", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.portal/dashboards/{}", + "plane": "mgmt-plane", + "version": "2022-12-01-preview" + } + ] + } + ] + }, + "delete": { + "help": { + "short": "Delete the Dashboard." + }, + "names": [ + "portal", + "dashboard", + "delete" + ], + "versions": [ + { + "examples": [ + { + "commands": [ + "portal dashboard delete --name testDashboard --resource-group testRG" + ], + "name": "Delete a Dashboard" + } + ], + "name": "2022-12-01-preview", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.portal/dashboards/{}", + "plane": "mgmt-plane", + "version": "2022-12-01-preview" + } + ] + } + ] + }, + "list": { + "help": { + "short": "List all the dashboards within a subscription or a resource group." + }, + "names": [ + "portal", + "dashboard", + "list" + ], + "versions": [ + { + "examples": [ + { + "commands": [ + "portal dashboard list --resource-group testRG" + ], + "name": "List all dashboards in a resourceGroup" + }, + { + "commands": [ + "portal dashboard list" + ], + "name": "List all dashboards in a subscription" + } + ], + "name": "2022-12-01-preview", + "resources": [ + { + "id": "/subscriptions/{}/providers/microsoft.portal/dashboards", + "plane": "mgmt-plane", + "version": "2022-12-01-preview" + }, + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.portal/dashboards", + "plane": "mgmt-plane", + "version": "2022-12-01-preview" + } + ] + } + ] + }, + "show": { + "help": { + "short": "Gets details for a dashboard." + }, + "names": [ + "portal", + "dashboard", + "show" + ], + "versions": [ + { + "examples": [ + { + "commands": [ + "portal dashboard show --name testDashboard --resource-group testRG" + ], + "name": "Get a Dashboard" + } + ], + "name": "2022-12-01-preview", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.portal/dashboards/{}", + "plane": "mgmt-plane", + "version": "2022-12-01-preview" + } + ] + } + ] + }, + "update": { + "help": { + "short": "Update an existing Dashboard." + }, + "names": [ + "portal", + "dashboard", + "update" + ], + "versions": [ + { + "examples": [ + { + "commands": [ + "portal dashboard update --name \"testDashboard\" --resource-group \"testRG\" --input-path \"/src/json/properties.json\"" + ], + "name": "Update a Dashboard" + } + ], + "name": "2022-12-01-preview", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.portal/dashboards/{}", + "plane": "mgmt-plane", + "version": "2022-12-01-preview" + } + ] + } + ] + } + }, + "help": { + "short": "Manage portal dashboards." + }, + "names": [ + "portal", + "dashboard" + ] + } + }, + "help": { + "short": "Manage Portal." + }, + "names": [ + "portal" + ] + }, "powerbi": { "commandGroups": { "embedded-capacity": { diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5wb3J0YWwvZGFzaGJvYXJkcw==/2022-12-01-preview.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5wb3J0YWwvZGFzaGJvYXJkcw==/2022-12-01-preview.json new file mode 100644 index 000000000..c2df7cf57 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5wb3J0YWwvZGFzaGJvYXJkcw==/2022-12-01-preview.json @@ -0,0 +1 @@ +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/providers/microsoft.portal/dashboards", "version": "2022-12-01-preview", "swagger": "mgmt-plane/portal/ResourceProviders/Microsoft.Portal/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9wcm92aWRlcnMvTWljcm9zb2Z0LlBvcnRhbC9kYXNoYm9hcmRz/V/MjAyMi0xMi0wMS1wcmV2aWV3"}, {"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.portal/dashboards", "version": "2022-12-01-preview", "swagger": "mgmt-plane/portal/ResourceProviders/Microsoft.Portal/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuUG9ydGFsL2Rhc2hib2FyZHM=/V/MjAyMi0xMi0wMS1wcmV2aWV3"}], "commandGroups": [{"name": "portal dashboard", "commands": [{"name": "list", "version": "2022-12-01-preview", "resources": [{"id": "/subscriptions/{}/providers/microsoft.portal/dashboards", "version": "2022-12-01-preview", "swagger": "mgmt-plane/portal/ResourceProviders/Microsoft.Portal/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9wcm92aWRlcnMvTWljcm9zb2Z0LlBvcnRhbC9kYXNoYm9hcmRz/V/MjAyMi0xMi0wMS1wcmV2aWV3"}, {"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.portal/dashboards", "version": "2022-12-01-preview", "swagger": "mgmt-plane/portal/ResourceProviders/Microsoft.Portal/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuUG9ydGFsL2Rhc2hib2FyZHM=/V/MjAyMi0xMi0wMS1wcmV2aWV3"}], "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_Dashboards_ListBySubscription", "operator": {"type": "and", "operators": [{"type": "hasValue", "arg": "$Path.subscriptionId"}, {"type": "not", "operator": {"type": "hasValue", "arg": "$Path.resourceGroupName"}}]}}, {"var": "$Condition_Dashboards_ListByResourceGroup", "operator": {"type": "and", "operators": [{"type": "hasValue", "arg": "$Path.resourceGroupName"}, {"type": "hasValue", "arg": "$Path.subscriptionId"}]}}], "operations": [{"when": ["$Condition_Dashboards_ListBySubscription"], "operationId": "Dashboards_ListBySubscription", "http": {"path": "/subscriptions/{subscriptionId}/providers/Microsoft.Portal/dashboards", "request": {"method": "get", "path": {"params": [{"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2022-12-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.Portal/dashboards/{}"}}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "array", "name": "lenses", "item": {"type": "object", "props": [{"type": "object", "name": "metadata", "additionalProps": {"anyType": true}}, {"type": "integer32", "name": "order", "required": true}, {"type": "array", "name": "parts", "required": true, "item": {"type": "object", "props": [{"type": "object", "name": "metadata", "props": [{"type": "string", "name": "type", "required": true, "enum": {"items": [{"value": "Extension/HubsExtension/PartType/MarkdownPart"}]}}], "discriminators": [{"property": "type", "value": "Extension/HubsExtension/PartType/MarkdownPart", "props": [{"type": "array", "name": "inputs", "item": {"type": "object", "additionalProps": {"anyType": true}}}, {"type": "object", "name": "settings", "props": [{"type": "object", "name": "content", "props": [{"type": "object", "name": "settings", "props": [{"type": "string", "name": "content"}, {"type": "integer32", "name": "markdownSource"}, {"type": "string", "name": "markdownUri"}, {"type": "string", "name": "subtitle"}, {"type": "string", "name": "title"}]}]}]}]}]}, {"type": "object", "name": "position", "required": true, "props": [{"type": "integer32", "name": "colSpan", "required": true}, {"type": "object", "name": "metadata", "additionalProps": {"anyType": true}}, {"type": "integer32", "name": "rowSpan", "required": true}, {"type": "integer32", "name": "x", "required": true}, {"type": "integer32", "name": "y", "required": true}]}]}}]}}, {"type": "object", "name": "metadata", "additionalProps": {"anyType": true}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Canceled"}, {"value": "Failed"}, {"value": "Succeeded"}]}}]}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt"}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt"}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}]}}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}, {"when": ["$Condition_Dashboards_ListByResourceGroup"], "operationId": "Dashboards_ListByResourceGroup", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Portal/dashboards", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2022-12-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.Portal/dashboards/{}"}}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "array", "name": "lenses", "item": {"type": "object", "props": [{"type": "object", "name": "metadata", "additionalProps": {"anyType": true}}, {"type": "integer32", "name": "order", "required": true}, {"type": "array", "name": "parts", "required": true, "item": {"type": "object", "props": [{"type": "object", "name": "metadata", "props": [{"type": "string", "name": "type", "required": true, "enum": {"items": [{"value": "Extension/HubsExtension/PartType/MarkdownPart"}]}}], "discriminators": [{"property": "type", "value": "Extension/HubsExtension/PartType/MarkdownPart", "props": [{"type": "array", "name": "inputs", "item": {"type": "object", "additionalProps": {"anyType": true}}}, {"type": "object", "name": "settings", "props": [{"type": "object", "name": "content", "props": [{"type": "object", "name": "settings", "props": [{"type": "string", "name": "content"}, {"type": "integer32", "name": "markdownSource"}, {"type": "string", "name": "markdownUri"}, {"type": "string", "name": "subtitle"}, {"type": "string", "name": "title"}]}]}]}]}]}, {"type": "object", "name": "position", "required": true, "props": [{"type": "integer32", "name": "colSpan", "required": true}, {"type": "object", "name": "metadata", "additionalProps": {"anyType": true}}, {"type": "integer32", "name": "rowSpan", "required": true}, {"type": "integer32", "name": "x", "required": true}, {"type": "integer32", "name": "y", "required": true}]}]}}]}}, {"type": "object", "name": "metadata", "additionalProps": {"anyType": true}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Canceled"}, {"value": "Failed"}, {"value": "Succeeded"}]}}]}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt"}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt"}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}]}}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "array", "ref": "$Instance.value", "clientFlatten": true, "nextLink": "$Instance.nextLink"}], "confirmation": ""}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5wb3J0YWwvZGFzaGJvYXJkcw==/2022-12-01-preview.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5wb3J0YWwvZGFzaGJvYXJkcw==/2022-12-01-preview.xml new file mode 100644 index 000000000..6778123ce --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5wb3J0YWwvZGFzaGJvYXJkcw==/2022-12-01-preview.xml @@ -0,0 +1,285 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5wb3J0YWwvZGFzaGJvYXJkcw==/2022-12-01-preview.md b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5wb3J0YWwvZGFzaGJvYXJkcw==/2022-12-01-preview.md new file mode 100644 index 000000000..5df431cc2 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5wb3J0YWwvZGFzaGJvYXJkcw==/2022-12-01-preview.md @@ -0,0 +1 @@ +Reference [/subscriptions/{}/providers/microsoft.portal/dashboards 2022-12-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5wb3J0YWwvZGFzaGJvYXJkcw==/2022-12-01-preview.xml) diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5wb3J0YWwvZGFzaGJvYXJkcy97fQ==/2022-12-01-preview.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5wb3J0YWwvZGFzaGJvYXJkcy97fQ==/2022-12-01-preview.json new file mode 100644 index 000000000..6c3dfed2f --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5wb3J0YWwvZGFzaGJvYXJkcy97fQ==/2022-12-01-preview.json @@ -0,0 +1 @@ +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.portal/dashboards/{}", "version": "2022-12-01-preview", "swagger": "mgmt-plane/portal/ResourceProviders/Microsoft.Portal/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuUG9ydGFsL2Rhc2hib2FyZHMve2Rhc2hib2FyZE5hbWV9/V/MjAyMi0xMi0wMS1wcmV2aWV3"}], "commandGroups": [{"name": "portal dashboard", "commands": [{"name": "show", "version": "2022-12-01-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.portal/dashboards/{}", "version": "2022-12-01-preview", "swagger": "mgmt-plane/portal/ResourceProviders/Microsoft.Portal/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuUG9ydGFsL2Rhc2hib2FyZHMve2Rhc2hib2FyZE5hbWV9/V/MjAyMi0xMi0wMS1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.dashboardName", "options": ["n", "name"], "required": true, "group": "", "idPart": "name", "help": {"short": "The name of the dashboard."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,24}$", "maxLength": 64, "minLength": 3}}, {"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"}]}], "operations": [{"operationId": "Dashboards_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Portal/dashboards/{dashboardName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "dashboardName", "arg": "$Path.dashboardName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,24}$", "maxLength": 64, "minLength": 3}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2022-12-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.Portal/dashboards/{}"}}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "array", "name": "lenses", "item": {"type": "object", "props": [{"type": "object", "name": "metadata", "additionalProps": {"anyType": true}}, {"type": "integer32", "name": "order", "required": true}, {"type": "array", "name": "parts", "required": true, "item": {"type": "object", "props": [{"type": "object", "name": "metadata", "props": [{"type": "string", "name": "type", "required": true, "enum": {"items": [{"value": "Extension/HubsExtension/PartType/MarkdownPart"}]}}], "discriminators": [{"property": "type", "value": "Extension/HubsExtension/PartType/MarkdownPart", "props": [{"type": "array", "name": "inputs", "item": {"type": "object", "additionalProps": {"anyType": true}}}, {"type": "object", "name": "settings", "props": [{"type": "object", "name": "content", "props": [{"type": "object", "name": "settings", "props": [{"type": "string", "name": "content"}, {"type": "integer32", "name": "markdownSource"}, {"type": "string", "name": "markdownUri"}, {"type": "string", "name": "subtitle"}, {"type": "string", "name": "title"}]}]}]}]}]}, {"type": "object", "name": "position", "required": true, "props": [{"type": "integer32", "name": "colSpan", "required": true}, {"type": "object", "name": "metadata", "additionalProps": {"anyType": true}}, {"type": "integer32", "name": "rowSpan", "required": true}, {"type": "integer32", "name": "x", "required": true}, {"type": "integer32", "name": "y", "required": true}]}]}}]}}, {"type": "object", "name": "metadata", "additionalProps": {"anyType": true}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Canceled"}, {"value": "Failed"}, {"value": "Succeeded"}]}}]}, {"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}], "confirmation": ""}, {"name": "delete", "version": "2022-12-01-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.portal/dashboards/{}", "version": "2022-12-01-preview", "swagger": "mgmt-plane/portal/ResourceProviders/Microsoft.Portal/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuUG9ydGFsL2Rhc2hib2FyZHMve2Rhc2hib2FyZE5hbWV9/V/MjAyMi0xMi0wMS1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.dashboardName", "options": ["n", "name"], "required": true, "group": "", "idPart": "name", "help": {"short": "The name of the dashboard."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,24}$", "maxLength": 64, "minLength": 3}}, {"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"}]}], "operations": [{"operationId": "Dashboards_Delete", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Portal/dashboards/{dashboardName}", "request": {"method": "delete", "path": {"params": [{"type": "string", "name": "dashboardName", "arg": "$Path.dashboardName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,24}$", "maxLength": 64, "minLength": 3}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2022-12-01-preview"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200]}, {"statusCode": [204]}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "confirmation": "Are you sure you want to perform this operation?"}, {"name": "create", "version": "2022-12-01-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.portal/dashboards/{}", "version": "2022-12-01-preview", "swagger": "mgmt-plane/portal/ResourceProviders/Microsoft.Portal/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuUG9ydGFsL2Rhc2hib2FyZHMve2Rhc2hib2FyZE5hbWV9/V/MjAyMi0xMi0wMS1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.dashboardName", "options": ["n", "name"], "required": true, "group": "", "idPart": "name", "help": {"short": "The name of the dashboard."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,24}$", "maxLength": 64, "minLength": 3}}, {"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": "ResourceLocation", "var": "$dashboard.location", "options": ["l", "location"], "required": true, "group": "", "help": {"short": "The geo-location where the resource lives"}}, {"type": "object", "var": "$dashboard.tags", "options": ["tags"], "group": "", "help": {"short": "Resource tags."}, "additionalProps": {"item": {"type": "string"}}}]}, {"name": "Properties", "args": [{"type": "array", "var": "$dashboard.properties.lenses", "options": ["lenses"], "group": "Properties", "help": {"short": "The dashboard lenses."}, "item": {"type": "object", "args": [{"type": "object", "var": "$dashboard.properties.lenses[].metadata", "options": ["metadata"], "help": {"short": "The dashboard len's metadata."}, "additionalProps": {"anyType": true}}, {"type": "integer32", "var": "$dashboard.properties.lenses[].order", "options": ["order"], "required": true, "help": {"short": "The lens order."}}, {"type": "array", "var": "$dashboard.properties.lenses[].parts", "options": ["parts"], "required": true, "help": {"short": "The dashboard parts."}, "item": {"type": "object", "args": [{"type": "object", "var": "$dashboard.properties.lenses[].parts[].metadata", "options": ["metadata"], "help": {"short": "The dashboard part's metadata."}, "args": [{"type": "object", "var": "$dashboard.properties.lenses[].parts[].metadata.Extension_HubsExtension_PartType_MarkdownPart", "options": ["extension-hubs-extension-part-type-markdown-part"], "args": [{"type": "array", "var": "$dashboard.properties.lenses[].parts[].metadata.Extension_HubsExtension_PartType_MarkdownPart.inputs", "options": ["inputs"], "help": {"short": "Input to dashboard part."}, "item": {"type": "object", "additionalProps": {"anyType": true}}}, {"type": "object", "var": "$dashboard.properties.lenses[].parts[].metadata.Extension_HubsExtension_PartType_MarkdownPart.settings", "options": ["settings"], "help": {"short": "Markdown part settings."}, "args": [{"type": "object", "var": "$dashboard.properties.lenses[].parts[].metadata.Extension_HubsExtension_PartType_MarkdownPart.settings.content", "options": ["content"], "help": {"short": "The content of markdown part."}, "args": [{"type": "object", "var": "$dashboard.properties.lenses[].parts[].metadata.Extension_HubsExtension_PartType_MarkdownPart.settings.content.settings", "options": ["settings"], "help": {"short": "The setting of the content of markdown part."}, "args": [{"type": "string", "var": "$dashboard.properties.lenses[].parts[].metadata.Extension_HubsExtension_PartType_MarkdownPart.settings.content.settings.content", "options": ["content"], "help": {"short": "The content of the markdown part."}}, {"type": "integer32", "var": "$dashboard.properties.lenses[].parts[].metadata.Extension_HubsExtension_PartType_MarkdownPart.settings.content.settings.markdownSource", "options": ["markdown-source"], "help": {"short": "The source of the content of the markdown part."}}, {"type": "string", "var": "$dashboard.properties.lenses[].parts[].metadata.Extension_HubsExtension_PartType_MarkdownPart.settings.content.settings.markdownUri", "options": ["markdown-uri"], "help": {"short": "The uri of markdown content."}}, {"type": "string", "var": "$dashboard.properties.lenses[].parts[].metadata.Extension_HubsExtension_PartType_MarkdownPart.settings.content.settings.subtitle", "options": ["subtitle"], "help": {"short": "The subtitle of the markdown part."}}, {"type": "string", "var": "$dashboard.properties.lenses[].parts[].metadata.Extension_HubsExtension_PartType_MarkdownPart.settings.content.settings.title", "options": ["title"], "help": {"short": "The title of the markdown part."}}]}]}]}]}]}, {"type": "object", "var": "$dashboard.properties.lenses[].parts[].position", "options": ["position"], "required": true, "help": {"short": "The dashboard's part position."}, "args": [{"type": "integer32", "var": "$dashboard.properties.lenses[].parts[].position.colSpan", "options": ["col-span"], "required": true, "help": {"short": "The dashboard's part column span."}}, {"type": "object", "var": "$dashboard.properties.lenses[].parts[].position.metadata", "options": ["metadata"], "help": {"short": "The dashboard part's metadata."}, "additionalProps": {"anyType": true}}, {"type": "integer32", "var": "$dashboard.properties.lenses[].parts[].position.rowSpan", "options": ["row-span"], "required": true, "help": {"short": "The dashboard's part row span."}}, {"type": "integer32", "var": "$dashboard.properties.lenses[].parts[].position.x", "options": ["x"], "required": true, "help": {"short": "The dashboard's part x coordinate."}}, {"type": "integer32", "var": "$dashboard.properties.lenses[].parts[].position.y", "options": ["y"], "required": true, "help": {"short": "The dashboard's part y coordinate."}}]}]}}]}}, {"type": "object", "var": "$dashboard.properties.metadata", "options": ["metadata"], "group": "Properties", "help": {"short": "The dashboard metadata."}, "additionalProps": {"anyType": true}}]}], "operations": [{"operationId": "Dashboards_CreateOrUpdate", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Portal/dashboards/{dashboardName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "dashboardName", "arg": "$Path.dashboardName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,24}$", "maxLength": 64, "minLength": 3}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2022-12-01-preview"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}, "body": {"json": {"schema": {"type": "object", "name": "dashboard", "required": true, "props": [{"type": "ResourceLocation", "name": "location", "arg": "$dashboard.location", "required": true}, {"type": "object", "name": "properties", "props": [{"type": "array", "name": "lenses", "arg": "$dashboard.properties.lenses", "item": {"type": "object", "props": [{"type": "object", "name": "metadata", "arg": "$dashboard.properties.lenses[].metadata", "additionalProps": {"anyType": true}}, {"type": "integer32", "name": "order", "arg": "$dashboard.properties.lenses[].order", "required": true}, {"type": "array", "name": "parts", "arg": "$dashboard.properties.lenses[].parts", "required": true, "item": {"type": "object", "props": [{"type": "object", "name": "metadata", "arg": "$dashboard.properties.lenses[].parts[].metadata", "props": [{"type": "string", "name": "type", "required": true, "enum": {"items": [{"arg": "$dashboard.properties.lenses[].parts[].metadata.Extension_HubsExtension_PartType_MarkdownPart", "value": "Extension/HubsExtension/PartType/MarkdownPart"}]}}], "discriminators": [{"property": "type", "value": "Extension/HubsExtension/PartType/MarkdownPart", "props": [{"type": "array", "name": "inputs", "arg": "$dashboard.properties.lenses[].parts[].metadata.Extension_HubsExtension_PartType_MarkdownPart.inputs", "item": {"type": "object", "additionalProps": {"anyType": true}}}, {"type": "object", "name": "settings", "arg": "$dashboard.properties.lenses[].parts[].metadata.Extension_HubsExtension_PartType_MarkdownPart.settings", "props": [{"type": "object", "name": "content", "arg": "$dashboard.properties.lenses[].parts[].metadata.Extension_HubsExtension_PartType_MarkdownPart.settings.content", "props": [{"type": "object", "name": "settings", "arg": "$dashboard.properties.lenses[].parts[].metadata.Extension_HubsExtension_PartType_MarkdownPart.settings.content.settings", "props": [{"type": "string", "name": "content", "arg": "$dashboard.properties.lenses[].parts[].metadata.Extension_HubsExtension_PartType_MarkdownPart.settings.content.settings.content"}, {"type": "integer32", "name": "markdownSource", "arg": "$dashboard.properties.lenses[].parts[].metadata.Extension_HubsExtension_PartType_MarkdownPart.settings.content.settings.markdownSource"}, {"type": "string", "name": "markdownUri", "arg": "$dashboard.properties.lenses[].parts[].metadata.Extension_HubsExtension_PartType_MarkdownPart.settings.content.settings.markdownUri"}, {"type": "string", "name": "subtitle", "arg": "$dashboard.properties.lenses[].parts[].metadata.Extension_HubsExtension_PartType_MarkdownPart.settings.content.settings.subtitle"}, {"type": "string", "name": "title", "arg": "$dashboard.properties.lenses[].parts[].metadata.Extension_HubsExtension_PartType_MarkdownPart.settings.content.settings.title"}]}]}]}]}]}, {"type": "object", "name": "position", "arg": "$dashboard.properties.lenses[].parts[].position", "required": true, "props": [{"type": "integer32", "name": "colSpan", "arg": "$dashboard.properties.lenses[].parts[].position.colSpan", "required": true}, {"type": "object", "name": "metadata", "arg": "$dashboard.properties.lenses[].parts[].position.metadata", "additionalProps": {"anyType": true}}, {"type": "integer32", "name": "rowSpan", "arg": "$dashboard.properties.lenses[].parts[].position.rowSpan", "required": true}, {"type": "integer32", "name": "x", "arg": "$dashboard.properties.lenses[].parts[].position.x", "required": true}, {"type": "integer32", "name": "y", "arg": "$dashboard.properties.lenses[].parts[].position.y", "required": true}]}]}}]}}, {"type": "object", "name": "metadata", "arg": "$dashboard.properties.metadata", "additionalProps": {"anyType": true}}]}, {"type": "object", "name": "tags", "arg": "$dashboard.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.Portal/dashboards/{}"}}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "array", "name": "lenses", "item": {"type": "object", "props": [{"type": "object", "name": "metadata", "additionalProps": {"anyType": true}}, {"type": "integer32", "name": "order", "required": true}, {"type": "array", "name": "parts", "required": true, "item": {"type": "object", "props": [{"type": "object", "name": "metadata", "props": [{"type": "string", "name": "type", "required": true, "enum": {"items": [{"value": "Extension/HubsExtension/PartType/MarkdownPart"}]}}], "discriminators": [{"property": "type", "value": "Extension/HubsExtension/PartType/MarkdownPart", "props": [{"type": "array", "name": "inputs", "item": {"type": "object", "additionalProps": {"anyType": true}}}, {"type": "object", "name": "settings", "props": [{"type": "object", "name": "content", "props": [{"type": "object", "name": "settings", "props": [{"type": "string", "name": "content"}, {"type": "integer32", "name": "markdownSource"}, {"type": "string", "name": "markdownUri"}, {"type": "string", "name": "subtitle"}, {"type": "string", "name": "title"}]}]}]}]}]}, {"type": "object", "name": "position", "required": true, "props": [{"type": "integer32", "name": "colSpan", "required": true}, {"type": "object", "name": "metadata", "additionalProps": {"anyType": true}}, {"type": "integer32", "name": "rowSpan", "required": true}, {"type": "integer32", "name": "x", "required": true}, {"type": "integer32", "name": "y", "required": true}]}]}}]}}, {"type": "object", "name": "metadata", "additionalProps": {"anyType": true}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Canceled"}, {"value": "Failed"}, {"value": "Succeeded"}]}}]}, {"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": "2022-12-01-preview", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.portal/dashboards/{}", "version": "2022-12-01-preview", "swagger": "mgmt-plane/portal/ResourceProviders/Microsoft.Portal/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuUG9ydGFsL2Rhc2hib2FyZHMve2Rhc2hib2FyZE5hbWV9/V/MjAyMi0xMi0wMS1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.dashboardName", "options": ["n", "name"], "required": true, "group": "", "idPart": "name", "help": {"short": "The name of the dashboard."}, "format": {"pattern": "^[a-zA-Z0-9-]{3,24}$", "maxLength": 64, "minLength": 3}}, {"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"}, {"nullable": true, "type": "object", "var": "$dashboard.tags", "options": ["tags"], "group": "", "help": {"short": "Resource tags."}, "additionalProps": {"item": {"nullable": true, "type": "string"}}}]}, {"name": "Properties", "args": [{"nullable": true, "type": "array", "var": "$dashboard.properties.lenses", "options": ["lenses"], "group": "Properties", "help": {"short": "The dashboard lenses."}, "item": {"nullable": true, "type": "object", "args": [{"nullable": true, "type": "object", "var": "$dashboard.properties.lenses[].metadata", "options": ["metadata"], "help": {"short": "The dashboard len's metadata."}, "additionalProps": {"anyType": true}}, {"type": "integer32", "var": "$dashboard.properties.lenses[].order", "options": ["order"], "help": {"short": "The lens order."}}, {"type": "array", "var": "$dashboard.properties.lenses[].parts", "options": ["parts"], "help": {"short": "The dashboard parts."}, "item": {"nullable": true, "type": "object", "args": [{"nullable": true, "type": "object", "var": "$dashboard.properties.lenses[].parts[].metadata", "options": ["metadata"], "help": {"short": "The dashboard part's metadata."}, "args": [{"type": "object", "var": "$dashboard.properties.lenses[].parts[].metadata.Extension_HubsExtension_PartType_MarkdownPart", "options": ["extension-hubs-extension-part-type-markdown-part"], "args": [{"nullable": true, "type": "array", "var": "$dashboard.properties.lenses[].parts[].metadata.Extension_HubsExtension_PartType_MarkdownPart.inputs", "options": ["inputs"], "help": {"short": "Input to dashboard part."}, "item": {"nullable": true, "type": "object", "additionalProps": {"anyType": true}}}, {"nullable": true, "type": "object", "var": "$dashboard.properties.lenses[].parts[].metadata.Extension_HubsExtension_PartType_MarkdownPart.settings", "options": ["settings"], "help": {"short": "Markdown part settings."}, "args": [{"nullable": true, "type": "object", "var": "$dashboard.properties.lenses[].parts[].metadata.Extension_HubsExtension_PartType_MarkdownPart.settings.content", "options": ["content"], "help": {"short": "The content of markdown part."}, "args": [{"nullable": true, "type": "object", "var": "$dashboard.properties.lenses[].parts[].metadata.Extension_HubsExtension_PartType_MarkdownPart.settings.content.settings", "options": ["settings"], "help": {"short": "The setting of the content of markdown part."}, "args": [{"nullable": true, "type": "string", "var": "$dashboard.properties.lenses[].parts[].metadata.Extension_HubsExtension_PartType_MarkdownPart.settings.content.settings.content", "options": ["content"], "help": {"short": "The content of the markdown part."}}, {"nullable": true, "type": "integer32", "var": "$dashboard.properties.lenses[].parts[].metadata.Extension_HubsExtension_PartType_MarkdownPart.settings.content.settings.markdownSource", "options": ["markdown-source"], "help": {"short": "The source of the content of the markdown part."}}, {"nullable": true, "type": "string", "var": "$dashboard.properties.lenses[].parts[].metadata.Extension_HubsExtension_PartType_MarkdownPart.settings.content.settings.markdownUri", "options": ["markdown-uri"], "help": {"short": "The uri of markdown content."}}, {"nullable": true, "type": "string", "var": "$dashboard.properties.lenses[].parts[].metadata.Extension_HubsExtension_PartType_MarkdownPart.settings.content.settings.subtitle", "options": ["subtitle"], "help": {"short": "The subtitle of the markdown part."}}, {"nullable": true, "type": "string", "var": "$dashboard.properties.lenses[].parts[].metadata.Extension_HubsExtension_PartType_MarkdownPart.settings.content.settings.title", "options": ["title"], "help": {"short": "The title of the markdown part."}}]}]}]}]}]}, {"type": "object", "var": "$dashboard.properties.lenses[].parts[].position", "options": ["position"], "help": {"short": "The dashboard's part position."}, "args": [{"type": "integer32", "var": "$dashboard.properties.lenses[].parts[].position.colSpan", "options": ["col-span"], "help": {"short": "The dashboard's part column span."}}, {"nullable": true, "type": "object", "var": "$dashboard.properties.lenses[].parts[].position.metadata", "options": ["metadata"], "help": {"short": "The dashboard part's metadata."}, "additionalProps": {"anyType": true}}, {"type": "integer32", "var": "$dashboard.properties.lenses[].parts[].position.rowSpan", "options": ["row-span"], "help": {"short": "The dashboard's part row span."}}, {"type": "integer32", "var": "$dashboard.properties.lenses[].parts[].position.x", "options": ["x"], "help": {"short": "The dashboard's part x coordinate."}}, {"type": "integer32", "var": "$dashboard.properties.lenses[].parts[].position.y", "options": ["y"], "help": {"short": "The dashboard's part y coordinate."}}]}]}}]}}, {"nullable": true, "type": "object", "var": "$dashboard.properties.metadata", "options": ["metadata"], "group": "Properties", "help": {"short": "The dashboard metadata."}, "additionalProps": {"anyType": true}}]}], "operations": [{"operationId": "Dashboards_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Portal/dashboards/{dashboardName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "dashboardName", "arg": "$Path.dashboardName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,24}$", "maxLength": 64, "minLength": 3}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2022-12-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.Portal/dashboards/{}"}}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "array", "name": "lenses", "item": {"type": "object", "props": [{"type": "object", "name": "metadata", "additionalProps": {"anyType": true}}, {"type": "integer32", "name": "order", "required": true}, {"type": "array", "name": "parts", "required": true, "item": {"type": "object", "props": [{"type": "object", "name": "metadata", "props": [{"type": "string", "name": "type", "required": true, "enum": {"items": [{"value": "Extension/HubsExtension/PartType/MarkdownPart"}]}}], "discriminators": [{"property": "type", "value": "Extension/HubsExtension/PartType/MarkdownPart", "props": [{"type": "array", "name": "inputs", "item": {"type": "object", "additionalProps": {"anyType": true}}}, {"type": "object", "name": "settings", "props": [{"type": "object", "name": "content", "props": [{"type": "object", "name": "settings", "props": [{"type": "string", "name": "content"}, {"type": "integer32", "name": "markdownSource"}, {"type": "string", "name": "markdownUri"}, {"type": "string", "name": "subtitle"}, {"type": "string", "name": "title"}]}]}]}]}]}, {"type": "object", "name": "position", "required": true, "props": [{"type": "integer32", "name": "colSpan", "required": true}, {"type": "object", "name": "metadata", "additionalProps": {"anyType": true}}, {"type": "integer32", "name": "rowSpan", "required": true}, {"type": "integer32", "name": "x", "required": true}, {"type": "integer32", "name": "y", "required": true}]}]}}]}}, {"type": "object", "name": "metadata", "additionalProps": {"anyType": true}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Canceled"}, {"value": "Failed"}, {"value": "Succeeded"}]}}]}, {"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": "Dashboard_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}, {"instanceUpdate": {"ref": "$Instance", "json": {"schema": {"type": "object", "name": "dashboard", "required": true, "props": [{"type": "object", "name": "properties", "props": [{"type": "array", "name": "lenses", "arg": "$dashboard.properties.lenses", "item": {"type": "object", "props": [{"type": "object", "name": "metadata", "arg": "$dashboard.properties.lenses[].metadata", "additionalProps": {"anyType": true}}, {"type": "integer32", "name": "order", "arg": "$dashboard.properties.lenses[].order", "required": true}, {"type": "array", "name": "parts", "arg": "$dashboard.properties.lenses[].parts", "required": true, "item": {"type": "object", "props": [{"type": "object", "name": "metadata", "arg": "$dashboard.properties.lenses[].parts[].metadata", "props": [{"type": "string", "name": "type", "required": true, "enum": {"items": [{"arg": "$dashboard.properties.lenses[].parts[].metadata.Extension_HubsExtension_PartType_MarkdownPart", "value": "Extension/HubsExtension/PartType/MarkdownPart"}]}}], "discriminators": [{"property": "type", "value": "Extension/HubsExtension/PartType/MarkdownPart", "props": [{"type": "array", "name": "inputs", "arg": "$dashboard.properties.lenses[].parts[].metadata.Extension_HubsExtension_PartType_MarkdownPart.inputs", "item": {"type": "object", "additionalProps": {"anyType": true}}}, {"type": "object", "name": "settings", "arg": "$dashboard.properties.lenses[].parts[].metadata.Extension_HubsExtension_PartType_MarkdownPart.settings", "props": [{"type": "object", "name": "content", "arg": "$dashboard.properties.lenses[].parts[].metadata.Extension_HubsExtension_PartType_MarkdownPart.settings.content", "props": [{"type": "object", "name": "settings", "arg": "$dashboard.properties.lenses[].parts[].metadata.Extension_HubsExtension_PartType_MarkdownPart.settings.content.settings", "props": [{"type": "string", "name": "content", "arg": "$dashboard.properties.lenses[].parts[].metadata.Extension_HubsExtension_PartType_MarkdownPart.settings.content.settings.content"}, {"type": "integer32", "name": "markdownSource", "arg": "$dashboard.properties.lenses[].parts[].metadata.Extension_HubsExtension_PartType_MarkdownPart.settings.content.settings.markdownSource"}, {"type": "string", "name": "markdownUri", "arg": "$dashboard.properties.lenses[].parts[].metadata.Extension_HubsExtension_PartType_MarkdownPart.settings.content.settings.markdownUri"}, {"type": "string", "name": "subtitle", "arg": "$dashboard.properties.lenses[].parts[].metadata.Extension_HubsExtension_PartType_MarkdownPart.settings.content.settings.subtitle"}, {"type": "string", "name": "title", "arg": "$dashboard.properties.lenses[].parts[].metadata.Extension_HubsExtension_PartType_MarkdownPart.settings.content.settings.title"}]}]}]}]}]}, {"type": "object", "name": "position", "arg": "$dashboard.properties.lenses[].parts[].position", "required": true, "props": [{"type": "integer32", "name": "colSpan", "arg": "$dashboard.properties.lenses[].parts[].position.colSpan", "required": true}, {"type": "object", "name": "metadata", "arg": "$dashboard.properties.lenses[].parts[].position.metadata", "additionalProps": {"anyType": true}}, {"type": "integer32", "name": "rowSpan", "arg": "$dashboard.properties.lenses[].parts[].position.rowSpan", "required": true}, {"type": "integer32", "name": "x", "arg": "$dashboard.properties.lenses[].parts[].position.x", "required": true}, {"type": "integer32", "name": "y", "arg": "$dashboard.properties.lenses[].parts[].position.y", "required": true}]}]}}]}}, {"type": "object", "name": "metadata", "arg": "$dashboard.properties.metadata", "additionalProps": {"anyType": true}}]}, {"type": "object", "name": "tags", "arg": "$dashboard.tags", "additionalProps": {"item": {"type": "string"}}}], "clientFlatten": true}}}}, {"operationId": "Dashboards_CreateOrUpdate", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Portal/dashboards/{dashboardName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "dashboardName", "arg": "$Path.dashboardName", "required": true, "format": {"pattern": "^[a-zA-Z0-9-]{3,24}$", "maxLength": 64, "minLength": 3}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2022-12-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": "@Dashboard_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}], "confirmation": ""}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5wb3J0YWwvZGFzaGJvYXJkcy97fQ==/2022-12-01-preview.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5wb3J0YWwvZGFzaGJvYXJkcy97fQ==/2022-12-01-preview.xml new file mode 100644 index 000000000..5d2bb0db3 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5wb3J0YWwvZGFzaGJvYXJkcy97fQ==/2022-12-01-preview.xml @@ -0,0 +1,798 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +