Skip to content

Commit

Permalink
Merge pull request #542 from Jeralan/feature-amgpe
Browse files Browse the repository at this point in the history
Add private endpoint support for amg
  • Loading branch information
kairu-ms authored Sep 5, 2024
2 parents 55d6e34 + 210e33a commit d9d892e
Show file tree
Hide file tree
Showing 25 changed files with 1,774 additions and 0 deletions.
16 changes: 16 additions & 0 deletions Commands/grafana/mpe/_create.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# [Command] _grafana mpe create_

Create a managed private endpoint.

## Versions

### [2023-09-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXNoYm9hcmQvZ3JhZmFuYS97fS9tYW5hZ2VkcHJpdmF0ZWVuZHBvaW50cy97fQ==/2023-09-01.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.dashboard/grafana/{}/managedprivateendpoints/{} 2023-09-01 -->

#### examples

- connect to an Azure SQL Server by resource ID
```bash
grafana mpe create -n MyManagedPrivateEndpoint -g MyResourceGroup --workspace-name MyGrafana --group-ids sqlServer --private-link-resource-id /subscriptions/3a7edf7d-1488-4017-a908-111111111111/resourceGroups/MyResourceGroup/providers/Microsoft.Sql/servers/MySQLServer
```
9 changes: 9 additions & 0 deletions Commands/grafana/mpe/_delete.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# [Command] _grafana mpe delete_

Delete a managed private endpoint.

## Versions

### [2023-09-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXNoYm9hcmQvZ3JhZmFuYS97fS9tYW5hZ2VkcHJpdmF0ZWVuZHBvaW50cy97fQ==/2023-09-01.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.dashboard/grafana/{}/managedprivateendpoints/{} 2023-09-01 -->
9 changes: 9 additions & 0 deletions Commands/grafana/mpe/_list.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# [Command] _grafana mpe list_

List all managed private endpoints.

## Versions

### [2023-09-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXNoYm9hcmQvZ3JhZmFuYS97fS9tYW5hZ2VkcHJpdmF0ZWVuZHBvaW50cw==/2023-09-01.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.dashboard/grafana/{}/managedprivateendpoints 2023-09-01 -->
9 changes: 9 additions & 0 deletions Commands/grafana/mpe/_refresh.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# [Command] _grafana mpe refresh_

Refresh and sync managed private endpoints to latest state.

## Versions

### [2023-09-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXNoYm9hcmQvZ3JhZmFuYS97fS9yZWZyZXNobWFuYWdlZHByaXZhdGVlbmRwb2ludHM=/2023-09-01.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.dashboard/grafana/{}/refreshmanagedprivateendpoints 2023-09-01 -->
9 changes: 9 additions & 0 deletions Commands/grafana/mpe/_show.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# [Command] _grafana mpe show_

Get a specific managed private endpoint.

## Versions

### [2023-09-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXNoYm9hcmQvZ3JhZmFuYS97fS9tYW5hZ2VkcHJpdmF0ZWVuZHBvaW50cy97fQ==/2023-09-01.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.dashboard/grafana/{}/managedprivateendpoints/{} 2023-09-01 -->
9 changes: 9 additions & 0 deletions Commands/grafana/mpe/_update.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# [Command] _grafana mpe update_

Update a managed private endpoint for a grafana resource.

## Versions

### [2023-09-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXNoYm9hcmQvZ3JhZmFuYS97fS9tYW5hZ2VkcHJpdmF0ZWVuZHBvaW50cy97fQ==/2023-09-01.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.dashboard/grafana/{}/managedprivateendpoints/{} 2023-09-01 -->
23 changes: 23 additions & 0 deletions Commands/grafana/mpe/readme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# [Group] _grafana mpe_

Commands to manage managed private endpoints.

## Commands

- [create](/Commands/grafana/mpe/_create.md)
: Create a managed private endpoint.

- [delete](/Commands/grafana/mpe/_delete.md)
: Delete a managed private endpoint.

- [list](/Commands/grafana/mpe/_list.md)
: List all managed private endpoints.

- [refresh](/Commands/grafana/mpe/_refresh.md)
: Refresh and sync managed private endpoints to latest state.

- [show](/Commands/grafana/mpe/_show.md)
: Get a specific managed private endpoint.

- [update](/Commands/grafana/mpe/_update.md)
: Update a managed private endpoint for a grafana resource.
9 changes: 9 additions & 0 deletions Commands/grafana/private-endpoint-connection/_create.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# [Command] _grafana private-endpoint-connection create_

Create approve private endpoint connection

## Versions

### [2023-09-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXNoYm9hcmQvZ3JhZmFuYS97fS9wcml2YXRlZW5kcG9pbnRjb25uZWN0aW9ucy97fQ==/2023-09-01.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.dashboard/grafana/{}/privateendpointconnections/{} 2023-09-01 -->
9 changes: 9 additions & 0 deletions Commands/grafana/private-endpoint-connection/_delete.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# [Command] _grafana private-endpoint-connection delete_

Delete a private endpoint connection.

## Versions

### [2023-09-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXNoYm9hcmQvZ3JhZmFuYS97fS9wcml2YXRlZW5kcG9pbnRjb25uZWN0aW9ucy97fQ==/2023-09-01.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.dashboard/grafana/{}/privateendpointconnections/{} 2023-09-01 -->
9 changes: 9 additions & 0 deletions Commands/grafana/private-endpoint-connection/_list.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# [Command] _grafana private-endpoint-connection list_

List all private endpoint connections.

## Versions

### [2023-09-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXNoYm9hcmQvZ3JhZmFuYS97fS9wcml2YXRlZW5kcG9pbnRjb25uZWN0aW9ucw==/2023-09-01.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.dashboard/grafana/{}/privateendpointconnections 2023-09-01 -->
9 changes: 9 additions & 0 deletions Commands/grafana/private-endpoint-connection/_show.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# [Command] _grafana private-endpoint-connection show_

Get a specific private endpoint connection.

## Versions

### [2023-09-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXNoYm9hcmQvZ3JhZmFuYS97fS9wcml2YXRlZW5kcG9pbnRjb25uZWN0aW9ucy97fQ==/2023-09-01.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.dashboard/grafana/{}/privateendpointconnections/{} 2023-09-01 -->
16 changes: 16 additions & 0 deletions Commands/grafana/private-endpoint-connection/_update.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# [Command] _grafana private-endpoint-connection update_

Update a private endpoint connection.

## Versions

### [2023-09-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kYXNoYm9hcmQvZ3JhZmFuYS97fS9wcml2YXRlZW5kcG9pbnRjb25uZWN0aW9ucy97fQ==/2023-09-01.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.dashboard/grafana/{}/privateendpointconnections/{} 2023-09-01 -->

#### examples

- approve private endpoint connection
```bash
grafana private-endpoint-connection update -n MyPrivateEndpoint -g MyResourceGroup --workspace-name MyGrafana --private-link-service-connection-state description="My response message" status="Approved"
```
20 changes: 20 additions & 0 deletions Commands/grafana/private-endpoint-connection/readme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# [Group] _grafana private-endpoint-connection_

Commands to manage private endpoint connections.

## Commands

- [create](/Commands/grafana/private-endpoint-connection/_create.md)
: Create approve private endpoint connection

- [delete](/Commands/grafana/private-endpoint-connection/_delete.md)
: Delete a private endpoint connection.

- [list](/Commands/grafana/private-endpoint-connection/_list.md)
: List all private endpoint connections.

- [show](/Commands/grafana/private-endpoint-connection/_show.md)
: Get a specific private endpoint connection.

- [update](/Commands/grafana/private-endpoint-connection/_update.md)
: Update a private endpoint connection.
8 changes: 8 additions & 0 deletions Commands/grafana/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,14 @@

Commands to manage Azure Managed Grafana resources.

## Subgroups

- [mpe](/Commands/grafana/mpe/readme.md)
: Commands to manage managed private endpoints.

- [private-endpoint-connection](/Commands/grafana/private-endpoint-connection/readme.md)
: Commands to manage private endpoint connections.

## Commands

- [create](/Commands/grafana/_create.md)
Expand Down
Loading

0 comments on commit d9d892e

Please sign in to comment.