-
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.
[Azure SignalR service]Support Private Link and add new api-version (#…
…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
Showing
22 changed files
with
2,861 additions
and
5 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
25 changes: 25 additions & 0 deletions
25
...resource-manager/Microsoft.SignalRService/stable/2020-05-01/examples/Operations_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,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}" | ||
} | ||
} | ||
} | ||
} |
18 changes: 18 additions & 0 deletions
18
...t.SignalRService/stable/2020-05-01/examples/SignalRPrivateEndpointConnections_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,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": {} | ||
} | ||
} |
29 changes: 29 additions & 0 deletions
29
...soft.SignalRService/stable/2020-05-01/examples/SignalRPrivateEndpointConnections_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,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" | ||
} | ||
} | ||
} | ||
} |
45 changes: 45 additions & 0 deletions
45
...t.SignalRService/stable/2020-05-01/examples/SignalRPrivateEndpointConnections_Update.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,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..." | ||
} | ||
} | ||
} | ||
} |
31 changes: 31 additions & 0 deletions
31
...Microsoft.SignalRService/stable/2020-05-01/examples/SignalRPrivateLinkResources_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": "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..." | ||
} | ||
} | ||
} | ||
} |
20 changes: 20 additions & 0 deletions
20
...er/Microsoft.SignalRService/stable/2020-05-01/examples/SignalR_CheckNameAvailability.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,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" | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.