-
Notifications
You must be signed in to change notification settings - Fork 5.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add private endpoint support (#6102)
* Add private endpoint support * Fix validation issue * Fix typo * Add 202 back * Fix prettier
- Loading branch information
1 parent
e3e87e0
commit c6493c8
Showing
8 changed files
with
788 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
61 changes: 61 additions & 0 deletions
61
...soft.Dashboard/preview/2021-09-01-preview/examples/PrivateEndpointConnections_Create.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2021-09-01-preview", | ||
"subscriptionId": "00000000-0000-0000-0000-000000000000", | ||
"resourceGroupName": "myResourceGroup", | ||
"workspaceName": "myWorkspace", | ||
"privateEndpointConnectionName": "myConnection", | ||
"privateEndpointConnection": { | ||
"properties": { | ||
"privateLinkServiceConnectionState": { | ||
"status": "Approved", | ||
"description": "test" | ||
} | ||
} | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/Microsoft.Dashboard/grafana/myWorkspace/privateEndpointConnections/myConnection", | ||
"name": "myConnection", | ||
"type": "Microsoft.Dashboard/grafana/privateEndpointConnections", | ||
"properties": { | ||
"provisioningState": "Accepted", | ||
"privateEndpoint": { | ||
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/Microsoft.Network/privateEndpoint/myEndpoint" | ||
}, | ||
"privateLinkServiceConnectionState": { | ||
"status": "Approved", | ||
"description": "test", | ||
"actionsRequired": "None" | ||
}, | ||
"groupIds": [ | ||
"workspace" | ||
] | ||
} | ||
} | ||
}, | ||
"201": { | ||
"body": { | ||
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/Microsoft.Dashboard/grafana/myWorkspace/privateEndpointConnections/myConnection", | ||
"name": "myConnection", | ||
"type": "Microsoft.Dashboard/grafana/privateEndpointConnections", | ||
"properties": { | ||
"provisioningState": "Accepted", | ||
"privateEndpoint": { | ||
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/Microsoft.Network/privateEndpoint/myEndpoint" | ||
}, | ||
"privateLinkServiceConnectionState": { | ||
"status": "Approved", | ||
"description": "test", | ||
"actionsRequired": "None" | ||
}, | ||
"groupIds": [ | ||
"workspace" | ||
] | ||
} | ||
} | ||
} | ||
} | ||
} |
14 changes: 14 additions & 0 deletions
14
...soft.Dashboard/preview/2021-09-01-preview/examples/PrivateEndpointConnections_Delete.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2021-09-01-preview", | ||
"subscriptionId": "00000000-0000-0000-0000-000000000000", | ||
"resourceGroupName": "myResourceGroup", | ||
"workspaceName": "myWorkspace", | ||
"privateEndpointConnectionName": "myConnection" | ||
}, | ||
"responses": { | ||
"200": {}, | ||
"202": {}, | ||
"204": {} | ||
} | ||
} |
32 changes: 32 additions & 0 deletions
32
...crosoft.Dashboard/preview/2021-09-01-preview/examples/PrivateEndpointConnections_Get.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2021-09-01-preview", | ||
"subscriptionId": "00000000-0000-0000-0000-000000000000", | ||
"resourceGroupName": "myResourceGroup", | ||
"workspaceName": "myWorkspace", | ||
"privateEndpointConnectionName": "myConnection" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/Microsoft.Dashboard/grafana/myWorkspace/privateEndpointConnections/myConnection", | ||
"name": "myConnection", | ||
"type": "Microsoft.Dashboard/grafana/privateEndpointConnections", | ||
"properties": { | ||
"provisioningState": "Accepted", | ||
"privateEndpoint": { | ||
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/Microsoft.Network/privateEndpoint/myEndpoint" | ||
}, | ||
"privateLinkServiceConnectionState": { | ||
"status": "Pending", | ||
"description": "string", | ||
"actionsRequired": "None" | ||
}, | ||
"groupIds": [ | ||
"workspace" | ||
] | ||
} | ||
} | ||
} | ||
} | ||
} |
36 changes: 36 additions & 0 deletions
36
...rosoft.Dashboard/preview/2021-09-01-preview/examples/PrivateEndpointConnections_List.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2021-09-01-preview", | ||
"subscriptionId": "00000000-0000-0000-0000-000000000000", | ||
"resourceGroupName": "myResourceGroup", | ||
"workspaceName": "myWorkspace" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"value": [ | ||
{ | ||
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/Microsoft.Dashboard/grafana/myWorkspace/privateEndpointConnections/myConnection", | ||
"name": "myConnection", | ||
"type": "Microsoft.Dashboard/grafana/privateEndpointConnections", | ||
"properties": { | ||
"provisioningState": "Accepted", | ||
"privateEndpoint": { | ||
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/Microsoft.Network/privateEndpoint/myEndpoint" | ||
}, | ||
"privateLinkServiceConnectionState": { | ||
"status": "Pending", | ||
"description": "string", | ||
"actionsRequired": "None" | ||
}, | ||
"groupIds": [ | ||
"workspace" | ||
] | ||
} | ||
} | ||
], | ||
"nextLink": null | ||
} | ||
} | ||
} | ||
} |
27 changes: 27 additions & 0 deletions
27
...ger/Microsoft.Dashboard/preview/2021-09-01-preview/examples/PrivateLinkResources_Get.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2021-09-01-preview", | ||
"subscriptionId": "00000000-0000-0000-0000-000000000000", | ||
"resourceGroupName": "myResourceGroup", | ||
"workspaceName": "myWorkspace", | ||
"groupName": "workspace" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/Microsoft.Dashboard/grafana/myWorkspace/privateLinkResources/workspace", | ||
"name": "workspace", | ||
"type": "Microsoft.Dashboard/grafana/PrivateLinkResources", | ||
"properties": { | ||
"groupId": "workspace", | ||
"requiredMembers": [ | ||
"workspace" | ||
], | ||
"requiredZoneNames": [ | ||
"azgrafana.io" | ||
] | ||
} | ||
} | ||
} | ||
} | ||
} |
31 changes: 31 additions & 0 deletions
31
...er/Microsoft.Dashboard/preview/2021-09-01-preview/examples/PrivateLinkResources_List.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2021-09-01-preview", | ||
"subscriptionId": "00000000-0000-0000-0000-000000000000", | ||
"resourceGroupName": "myResourceGroup", | ||
"workspaceName": "myWorkspace" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"value": [ | ||
{ | ||
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/Microsoft.Dashboard/grafana/myWorkspace/privateLinkResources/workspace", | ||
"name": "workspace", | ||
"type": "Microsoft.Dashboard/grafana/PrivateLinkResources", | ||
"properties": { | ||
"groupId": "workspace", | ||
"requiredMembers": [ | ||
"workspace" | ||
], | ||
"requiredZoneNames": [ | ||
"azgrafana.io" | ||
] | ||
} | ||
} | ||
], | ||
"nextLink": null | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.