Skip to content

Commit

Permalink
[Azure SignalR service]Support Private Link and add new api-version (#…
Browse files Browse the repository at this point in the history
…9377)

* Run prettier

* Adding new apiVersion 2020-05-01 and support PrivateLink

* Using the same schema for SignalR PUT api

* No changes, to trigger pipeline build

* Using shared definition to avoid duplication

* resolve comments

* fix avocado

* Removing legacy file
  • Loading branch information
juniwang authored May 27, 2020
1 parent cccb41a commit fc44ee3
Show file tree
Hide file tree
Showing 22 changed files with 2,861 additions and 5 deletions.
2 changes: 2 additions & 0 deletions custom-words.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1173,6 +1173,7 @@ randint
Rankable
ratelimit
ravbhatnagar
rawwebsockets
rawxml
rbac
rdbms
Expand Down Expand Up @@ -1254,6 +1255,7 @@ resourcename
resourceregion
resourcetype
Responsys
RESTAPI
restoreheartbeat
Restproxy
restype
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{
"parameters": {
"api-version": "2020-05-01"
},
"responses": {
"200": {
"body": {
"value": [
{
"name": "Microsoft.SignalRService/SignalR/read",
"isDataAction": false,
"display": {
"provider": "Microsoft.SignalRService",
"resource": "SignalR",
"operation": "Manage SignalR (read-only)",
"description": "View the SignalR's settings and configurations in the management portal or through API"
},
"properties": {}
}
],
"nextLink": "providers/Microsoft.SignalRService?$skipToken={opaqueString}"
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"parameters": {
"api-version": "2020-05-01",
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"resourceGroupName": "myResourceGroup",
"resourceName": "mySignalRService",
"privateEndpointConnectionName": "mySignalRService.1fa229cd-bf3f-47f0-8c49-afb36723997e"
},
"responses": {
"202": {
"headers": {
"Location": "https://management.azure.com/subscriptions/subid/providers/Microsoft.SignalRService/...pathToOperationResult...",
"Azure-AsyncOperation": "https://management.azure.com/subscriptions/subid/providers/Microsoft.SignalRService/...pathToOperationStatus..."
}
},
"204": {}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
{
"parameters": {
"api-version": "2020-05-01",
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"resourceGroupName": "myResourceGroup",
"resourceName": "mySignalRService",
"privateEndpointConnectionName": "mySignalRService.1fa229cd-bf3f-47f0-8c49-afb36723997e"
},
"responses": {
"200": {
"body": {
"properties": {
"provisioningState": "Succeeded",
"privateEndpoint": {
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/Microsoft.Network/privateEndpoints/myPrivateEndpoint"
},
"privateLinkServiceConnectionState": {
"status": "Approved",
"description": null,
"actionsRequired": "None"
}
},
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/Microsoft.SignalRService/SignalR/mySignalRService/privateEndpointConnections/mySignalRService.1fa229cd-bf3f-47f0-8c49-afb36723997e",
"name": "mySignalRService.1fa229cd-bf3f-47f0-8c49-afb36723997e",
"type": "Microsoft.SignalRService/SignalR/privateEndpointConnections"
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
{
"parameters": {
"parameters": {
"properties": {
"privateEndpoint": {
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/Microsoft.Network/privateEndpoints/myPrivateEndpoint"
},
"privateLinkServiceConnectionState": {
"status": "Approved",
"description": null,
"actionsRequired": "None"
}
}
},
"api-version": "2020-05-01",
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"resourceGroupName": "myResourceGroup",
"resourceName": "mySignalRService",
"privateEndpointConnectionName": "mySignalRService.1fa229cd-bf3f-47f0-8c49-afb36723997e"
},
"responses": {
"200": {
"body": {
"properties": {
"provisioningState": "Succeeded",
"privateEndpoint": {
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/Microsoft.Network/privateEndpoints/myPrivateEndpoint"
},
"privateLinkServiceConnectionState": {
"status": "Approved",
"description": null,
"actionsRequired": "None"
}
},
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/Microsoft.SignalRService/SignalR/mySignalRService/privateEndpointConnections/mySignalRService.1fa229cd-bf3f-47f0-8c49-afb36723997e",
"name": "mySignalRService.1fa229cd-bf3f-47f0-8c49-afb36723997e",
"type": "Microsoft.SignalRService/SignalR/privateEndpointConnections"
},
"headers": {
"Location": "https://management.azure.com/subscriptions/subid/providers/Microsoft.SignalRService/...pathToOperationResult...",
"Azure-AsyncOperation": "https://management.azure.com/subscriptions/subid/providers/Microsoft.SignalRService/...pathToOperationStatus..."
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
{
"parameters": {
"api-version": "2020-05-01",
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"resourceGroupName": "myResourceGroup",
"resourceName": "mySignalRService"
},
"responses": {
"200": {
"body": {
"value": [
{
"properties": {
"groupId": "signalr",
"requiredMembers": [
"signalr"
],
"requiredZoneNames": [
"privatelink.service.signalr.net"
]
},
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.SignalRService/SignalR/privateLinkResources",
"name": "signalr",
"type": "privateLinkResources"
}
],
"nextLink": "https://management.azure.com/subscriptions/subid/providers/Microsoft.SignalRService/...pathToMoreResults..."
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"parameters": {
"location": "eastus",
"parameters": {
"type": "Microsoft.SignalRService/SignalR",
"name": "my-signalr-service"
},
"api-version": "2020-05-01",
"subscriptionId": "00000000-0000-0000-0000-000000000000"
},
"responses": {
"200": {
"body": {
"nameAvailable": false,
"reason": "AlreadyExists",
"message": "The leaf is already used by other people"
}
}
}
}
Loading

0 comments on commit fc44ee3

Please sign in to comment.