Skip to content

Commit

Permalink
Merge pull request Azure#198 from Jing-song/jins-elastic
Browse files Browse the repository at this point in the history
Add command model for `az elastic`
  • Loading branch information
kairu-ms authored Jul 7, 2023
2 parents 178ee86 + 93bedea commit c697988
Show file tree
Hide file tree
Showing 118 changed files with 7,113 additions and 0 deletions.
16 changes: 16 additions & 0 deletions Commands/elastic/_get-organization-api-key.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# [Command] _elastic get-organization-api-key_

Fetch User API Key from internal database, if it was generated and stored while creating the Elasticsearch Organization.

## Versions

### [2023-02-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5lbGFzdGljL2dldG9yZ2FuaXphdGlvbmFwaWtleQ==/2023-02-01-preview.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/providers/microsoft.elastic/getorganizationapikey 2023-02-01-preview -->

#### examples

- Get organization api key
```bash
elastic get-organization-api-key --email-id id
```
20 changes: 20 additions & 0 deletions Commands/elastic/monitor/_associate-traffic-filter.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# [Command] _elastic monitor associate-traffic-filter_

Associate traffic filter

## Versions

### [2022-07-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5lbGFzdGljL21vbml0b3JzL3t9L2Fzc29jaWF0ZXRyYWZmaWNmaWx0ZXI=/2022-07-01-preview.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.elastic/monitors/{}/associatetrafficfilter 2022-07-01-preview -->

### [2023-02-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5lbGFzdGljL21vbml0b3JzL3t9L2Fzc29jaWF0ZXRyYWZmaWNmaWx0ZXI=/2023-02-01-preview.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.elastic/monitors/{}/associatetrafficfilter 2023-02-01-preview -->

#### examples

- Monitor associate traffic filter
```bash
elastic monitor associate-traffic-filter --monitor-name name -g rg --ruleset-id
```
20 changes: 20 additions & 0 deletions Commands/elastic/monitor/_create-and-associate-ip-filter.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# [Command] _elastic monitor create-and-associate-ip-filter_

Create and associate ip filter

## Versions

### [2022-07-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5lbGFzdGljL21vbml0b3JzL3t9L2NyZWF0ZWFuZGFzc29jaWF0ZWlwZmlsdGVy/2022-07-01-preview.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.elastic/monitors/{}/createandassociateipfilter 2022-07-01-preview -->

### [2023-02-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5lbGFzdGljL21vbml0b3JzL3t9L2NyZWF0ZWFuZGFzc29jaWF0ZWlwZmlsdGVy/2023-02-01-preview.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.elastic/monitors/{}/createandassociateipfilter 2023-02-01-preview -->

#### examples

- Create and associate ip filter
```bash
elastic monitor create-and-associate-ip-filter --monitor-name name -g rg --name name --ips 192.168.131.0, 192.168.132.6/22
```
20 changes: 20 additions & 0 deletions Commands/elastic/monitor/_create-and-associate-pl-filter.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# [Command] _elastic monitor create-and-associate-pl-filter_

Create and associate pl filter

## Versions

### [2022-07-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5lbGFzdGljL21vbml0b3JzL3t9L2NyZWF0ZWFuZGFzc29jaWF0ZXBsZmlsdGVy/2022-07-01-preview.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.elastic/monitors/{}/createandassociateplfilter 2022-07-01-preview -->

### [2023-02-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5lbGFzdGljL21vbml0b3JzL3t9L2NyZWF0ZWFuZGFzc29jaWF0ZXBsZmlsdGVy/2023-02-01-preview.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.elastic/monitors/{}/createandassociateplfilter 2023-02-01-preview -->

#### examples

- Create and associate pl filter
```bash
elastic monitor create-and-associate-pl-filter --monitor-name monitor -g rg --name name
```
20 changes: 20 additions & 0 deletions Commands/elastic/monitor/_create-or-update-external-user.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# [Command] _elastic monitor create-or-update-external-user_

Create or update external user

## Versions

### [2022-07-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5lbGFzdGljL21vbml0b3JzL3t9L2NyZWF0ZW9ydXBkYXRlZXh0ZXJuYWx1c2Vy/2022-07-01-preview.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.elastic/monitors/{}/createorupdateexternaluser 2022-07-01-preview -->

### [2023-02-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5lbGFzdGljL21vbml0b3JzL3t9L2NyZWF0ZW9ydXBkYXRlZXh0ZXJuYWx1c2Vy/2023-02-01-preview.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.elastic/monitors/{}/createorupdateexternaluser 2023-02-01-preview -->

#### examples

- Create or update external user
```bash
monitor create-or-update-external-user --monitor-name {monitor} -g {rg} --user-name newuser --full-name fullname --password password --email-id email@outlook.com --roles [admin,other_role]
```
20 changes: 20 additions & 0 deletions Commands/elastic/monitor/_create.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# [Command] _elastic monitor create_

Create a monitor resource.

## Versions

### [2022-07-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5lbGFzdGljL21vbml0b3JzL3t9/2022-07-01-preview.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.elastic/monitors/{} 2022-07-01-preview -->

### [2023-02-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5lbGFzdGljL21vbml0b3JzL3t9/2023-02-01-preview.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.elastic/monitors/{} 2023-02-01-preview -->

#### examples

- Create monitor
```bash
elastic monitor create -n monitor-name -g rg --user-info "{firstName:Alice,lastName:bob,companyName:Micosoft,emailAddress:alice@microsoft.com}" --sku "{name:ess-monthly-consumption_Monthly}"
```
20 changes: 20 additions & 0 deletions Commands/elastic/monitor/_delete-traffic-filter.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# [Command] _elastic monitor delete-traffic-filter_

Delete traffic filter

## Versions

### [2022-07-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5lbGFzdGljL21vbml0b3JzL3t9L2RlbGV0ZXRyYWZmaWNmaWx0ZXI=/2022-07-01-preview.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.elastic/monitors/{}/deletetrafficfilter 2022-07-01-preview -->

### [2023-02-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5lbGFzdGljL21vbml0b3JzL3t9L2RlbGV0ZXRyYWZmaWNmaWx0ZXI=/2023-02-01-preview.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.elastic/monitors/{}/deletetrafficfilter 2023-02-01-preview -->

#### examples

- Delete traffic filter
```bash
elastic monitor delete-traffic-filter --monitor-name name -g rg --ruleset-id id
```
20 changes: 20 additions & 0 deletions Commands/elastic/monitor/_delete.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# [Command] _elastic monitor delete_

Delete a monitor resource.

## Versions

### [2022-07-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5lbGFzdGljL21vbml0b3JzL3t9/2022-07-01-preview.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.elastic/monitors/{} 2022-07-01-preview -->

### [2023-02-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5lbGFzdGljL21vbml0b3JzL3t9/2023-02-01-preview.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.elastic/monitors/{} 2023-02-01-preview -->

#### examples

- Delete monitor
```bash
elastic monitor delete -n monitor -g rg
```
20 changes: 20 additions & 0 deletions Commands/elastic/monitor/_detach-and-delete-traffic-filter.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# [Command] _elastic monitor detach-and-delete-traffic-filter_

Detach and delete traffic filter

## Versions

### [2022-07-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5lbGFzdGljL21vbml0b3JzL3t9L2RldGFjaGFuZGRlbGV0ZXRyYWZmaWNmaWx0ZXI=/2022-07-01-preview.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.elastic/monitors/{}/detachanddeletetrafficfilter 2022-07-01-preview -->

### [2023-02-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5lbGFzdGljL21vbml0b3JzL3t9L2RldGFjaGFuZGRlbGV0ZXRyYWZmaWNmaWx0ZXI=/2023-02-01-preview.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.elastic/monitors/{}/detachanddeletetrafficfilter 2023-02-01-preview -->

#### examples

- Detach and delete traffic filter
```bash
elastic monitor detach-and-delete-traffic-filter --monitor-name -g rg --ruleset-id id
```
20 changes: 20 additions & 0 deletions Commands/elastic/monitor/_detach-traffic-filter.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# [Command] _elastic monitor detach-traffic-filter_

Detach traffic filter

## Versions

### [2022-07-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5lbGFzdGljL21vbml0b3JzL3t9L2RldGFjaHRyYWZmaWNmaWx0ZXI=/2022-07-01-preview.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.elastic/monitors/{}/detachtrafficfilter 2022-07-01-preview -->

### [2023-02-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5lbGFzdGljL21vbml0b3JzL3t9L2RldGFjaHRyYWZmaWNmaWx0ZXI=/2023-02-01-preview.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.elastic/monitors/{}/detachtrafficfilter 2023-02-01-preview -->

#### examples

- Detach traffic filter
```bash
elastic monitor detach-traffic-filter --monitor-name name -g rg --ruleset-id
```
20 changes: 20 additions & 0 deletions Commands/elastic/monitor/_list-all-traffic-filter.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# [Command] _elastic monitor list-all-traffic-filter_

List all traffic filter

## Versions

### [2022-07-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5lbGFzdGljL21vbml0b3JzL3t9L2xpc3RhbGx0cmFmZmljZmlsdGVycw==/2022-07-01-preview.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.elastic/monitors/{}/listalltrafficfilters 2022-07-01-preview -->

### [2023-02-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5lbGFzdGljL21vbml0b3JzL3t9L2xpc3RhbGx0cmFmZmljZmlsdGVycw==/2023-02-01-preview.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.elastic/monitors/{}/listalltrafficfilters 2023-02-01-preview -->

#### examples

- List all traffic filter
```bash
elastic monitor list-all-traffic-filter --monitor-name name -g rg
```
20 changes: 20 additions & 0 deletions Commands/elastic/monitor/_list-associated-traffic-filter.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# [Command] _elastic monitor list-associated-traffic-filter_

List associated traffic filter

## Versions

### [2022-07-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5lbGFzdGljL21vbml0b3JzL3t9L2xpc3Rhc3NvY2lhdGVkdHJhZmZpY2ZpbHRlcnM=/2022-07-01-preview.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.elastic/monitors/{}/listassociatedtrafficfilters 2022-07-01-preview -->

### [2023-02-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5lbGFzdGljL21vbml0b3JzL3t9L2xpc3Rhc3NvY2lhdGVkdHJhZmZpY2ZpbHRlcnM=/2023-02-01-preview.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.elastic/monitors/{}/listassociatedtrafficfilters 2023-02-01-preview -->

#### examples

- List associated traffic filter
```bash
elastic monitor list-associated-traffic-filter --monitor-name name -g rg
```
20 changes: 20 additions & 0 deletions Commands/elastic/monitor/_list-deployment-info.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# [Command] _elastic monitor list-deployment-info_

Fetch information regarding Elastic cloud deployment corresponding to the Elastic monitor resource.

## Versions

### [2022-07-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5lbGFzdGljL21vbml0b3JzL3t9L2xpc3RkZXBsb3ltZW50aW5mbw==/2022-07-01-preview.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.elastic/monitors/{}/listdeploymentinfo 2022-07-01-preview -->

### [2023-02-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5lbGFzdGljL21vbml0b3JzL3t9L2xpc3RkZXBsb3ltZW50aW5mbw==/2023-02-01-preview.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.elastic/monitors/{}/listdeploymentinfo 2023-02-01-preview -->

#### examples

- List deployment info
```bash
elastic monitor list-deployment-info --monitor-name name -g rg
```
20 changes: 20 additions & 0 deletions Commands/elastic/monitor/_list-resource.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# [Command] _elastic monitor list-resource_

List the resources currently being monitored by the Elastic monitor resource.

## Versions

### [2022-07-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5lbGFzdGljL21vbml0b3JzL3t9L2xpc3Rtb25pdG9yZWRyZXNvdXJjZXM=/2022-07-01-preview.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.elastic/monitors/{}/listmonitoredresources 2022-07-01-preview -->

### [2023-02-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5lbGFzdGljL21vbml0b3JzL3t9L2xpc3Rtb25pdG9yZWRyZXNvdXJjZXM=/2023-02-01-preview.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.elastic/monitors/{}/listmonitoredresources 2023-02-01-preview -->

#### examples

- List resource
```bash
elastic monitor list-resource --monitor-name -g rg
```
20 changes: 20 additions & 0 deletions Commands/elastic/monitor/_list-upgradable-version.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# [Command] _elastic monitor list-upgradable-version_

List upgradable version

## Versions

### [2022-07-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5lbGFzdGljL21vbml0b3JzL3t9L2xpc3R1cGdyYWRhYmxldmVyc2lvbnM=/2022-07-01-preview.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.elastic/monitors/{}/listupgradableversions 2022-07-01-preview -->

### [2023-02-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5lbGFzdGljL21vbml0b3JzL3t9L2xpc3R1cGdyYWRhYmxldmVyc2lvbnM=/2023-02-01-preview.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.elastic/monitors/{}/listupgradableversions 2023-02-01-preview -->

#### examples

- List upgradable version
```bash
elastic monitor list-upgradable-version --monitor-name name -g rg
```
20 changes: 20 additions & 0 deletions Commands/elastic/monitor/_list-vm-host.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# [Command] _elastic monitor list-vm-host_

List the vm resources currently being monitored by the Elastic monitor resource.

## Versions

### [2022-07-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5lbGFzdGljL21vbml0b3JzL3t9L2xpc3R2bWhvc3Q=/2022-07-01-preview.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.elastic/monitors/{}/listvmhost 2022-07-01-preview -->

### [2023-02-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5lbGFzdGljL21vbml0b3JzL3t9L2xpc3R2bWhvc3Q=/2023-02-01-preview.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.elastic/monitors/{}/listvmhost 2023-02-01-preview -->

#### examples

- List vm host
```bash
elastic monitor list-vm-host --monitor-name name -g rg
```
22 changes: 22 additions & 0 deletions Commands/elastic/monitor/_list.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# [Command] _elastic monitor list_

List all monitors under the specified resource group. And List all monitors under the specified subscription.

## Versions

### [2022-07-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5lbGFzdGljL21vbml0b3Jz/2022-07-01-preview.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/providers/microsoft.elastic/monitors 2022-07-01-preview -->
<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.elastic/monitors 2022-07-01-preview -->

### [2023-02-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5lbGFzdGljL21vbml0b3Jz/2023-02-01-preview.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/providers/microsoft.elastic/monitors 2023-02-01-preview -->
<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.elastic/monitors 2023-02-01-preview -->

#### examples

- List all monitors by resource group
```bash
elastic monitor list -g rg
```
20 changes: 20 additions & 0 deletions Commands/elastic/monitor/_show.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# [Command] _elastic monitor show_

Get the properties of a specific monitor resource.

## Versions

### [2022-07-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5lbGFzdGljL21vbml0b3JzL3t9/2022-07-01-preview.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.elastic/monitors/{} 2022-07-01-preview -->

### [2023-02-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5lbGFzdGljL21vbml0b3JzL3t9/2023-02-01-preview.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.elastic/monitors/{} 2023-02-01-preview -->

#### examples

- Show monitor
```bash
elastic monitor show -n name -g rg
```
20 changes: 20 additions & 0 deletions Commands/elastic/monitor/_update-vm-collection.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# [Command] _elastic monitor update-vm-collection_

Update the vm details that will be monitored by the Elastic monitor resource.

## Versions

### [2022-07-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5lbGFzdGljL21vbml0b3JzL3t9L3ZtY29sbGVjdGlvbnVwZGF0ZQ==/2022-07-01-preview.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.elastic/monitors/{}/vmcollectionupdate 2022-07-01-preview -->

### [2023-02-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5lbGFzdGljL21vbml0b3JzL3t9L3ZtY29sbGVjdGlvbnVwZGF0ZQ==/2023-02-01-preview.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.elastic/monitors/{}/vmcollectionupdate 2023-02-01-preview -->

#### examples

- Update vm collection
```bash
elastic monitor update-vm-collection --monitor-name monitor1 -g rg --operation-name Add --vi-resource-id id
```
Loading

0 comments on commit c697988

Please sign in to comment.