Skip to content

Commit

Permalink
aaz generate
Browse files Browse the repository at this point in the history
  • Loading branch information
cxznmhdcxz committed Dec 18, 2024
1 parent 9806054 commit 8a08543
Show file tree
Hide file tree
Showing 14 changed files with 1,385 additions and 0 deletions.
16 changes: 16 additions & 0 deletions Commands/portal/dashboard/_create.md
Original file line number Diff line number Diff line change
@@ -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**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.portal/dashboards/{} 2022-12-01-preview -->

#### 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
```
16 changes: 16 additions & 0 deletions Commands/portal/dashboard/_delete.md
Original file line number Diff line number Diff line change
@@ -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**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.portal/dashboards/{} 2022-12-01-preview -->

#### examples

- Delete a Dashboard
```bash
portal dashboard delete --name testDashboard --resource-group testRG
```
22 changes: 22 additions & 0 deletions Commands/portal/dashboard/_list.md
Original file line number Diff line number Diff line change
@@ -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**

<!-- mgmt-plane /subscriptions/{}/providers/microsoft.portal/dashboards 2022-12-01-preview -->
<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.portal/dashboards 2022-12-01-preview -->

#### examples

- List all dashboards in a resourceGroup
```bash
portal dashboard list --resource-group testRG
```

- List all dashboards in a subscription
```bash
portal dashboard list
```
16 changes: 16 additions & 0 deletions Commands/portal/dashboard/_show.md
Original file line number Diff line number Diff line change
@@ -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**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.portal/dashboards/{} 2022-12-01-preview -->

#### examples

- Get a Dashboard
```bash
portal dashboard show --name testDashboard --resource-group testRG
```
16 changes: 16 additions & 0 deletions Commands/portal/dashboard/_update.md
Original file line number Diff line number Diff line change
@@ -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**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.portal/dashboards/{} 2022-12-01-preview -->

#### examples

- Update a Dashboard
```bash
portal dashboard update --name "testDashboard" --resource-group "testRG" --input-path "/src/json/properties.json"
```
20 changes: 20 additions & 0 deletions Commands/portal/dashboard/readme.md
Original file line number Diff line number Diff line change
@@ -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.
8 changes: 8 additions & 0 deletions Commands/portal/readme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# [Group] _portal_

Manage Portal.

## Subgroups

- [dashboard](/Commands/portal/dashboard/readme.md)
: Manage portal dashboards.
3 changes: 3 additions & 0 deletions Commands/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down
182 changes: 182 additions & 0 deletions Commands/tree.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down
Loading

0 comments on commit 8a08543

Please sign in to comment.