forked from Azure/azure-rest-api-specs
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Webpubsub 2021-06-01-preview (Azure#14868)
* init api version 2021-06-01-preview for from 2021-04-01-preview * update example * update readme * update swagger file Co-authored-by: Binjie Qian <biqian@microsoft.com>
- Loading branch information
Showing
26 changed files
with
3,596 additions
and
1 deletion.
There are no files selected for viewing
25 changes: 25 additions & 0 deletions
25
...manager/Microsoft.SignalRService/preview/2021-06-01-preview/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": "2021-06-01-preview" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"value": [ | ||
{ | ||
"name": "Microsoft.SignalRService/WebPubSub/read", | ||
"isDataAction": false, | ||
"display": { | ||
"provider": "Microsoft.SignalRService", | ||
"resource": "WebPubSub", | ||
"operation": "Manage WebPubSub (read-only)", | ||
"description": "View the resource settings and configurations in the management portal or through API" | ||
}, | ||
"properties": {} | ||
} | ||
], | ||
"nextLink": "providers/Microsoft.SignalRService?$skipToken={opaqueString}" | ||
} | ||
} | ||
} | ||
} |
36 changes: 36 additions & 0 deletions
36
...rce-manager/Microsoft.SignalRService/preview/2021-06-01-preview/examples/Usages_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": { | ||
"location": "eastus", | ||
"api-version": "2021-06-01-preview", | ||
"subscriptionId": "00000000-0000-0000-0000-000000000000" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"value": [ | ||
{ | ||
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.SignalRService/locations/eastus/usages/Usage1", | ||
"currentValue": 0, | ||
"limit": 100, | ||
"name": { | ||
"value": "Usage1", | ||
"localizedValue": "Usage1" | ||
}, | ||
"unit": "Count" | ||
}, | ||
{ | ||
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.SignalRService/locations/eastus/usages/Usage2", | ||
"currentValue": 0, | ||
"limit": 100, | ||
"name": { | ||
"value": "Usage2", | ||
"localizedValue": "Usage2" | ||
}, | ||
"unit": "Count" | ||
} | ||
], | ||
"nextLink": "https://management.azure.com/subscriptions/subid/providers/Microsoft.SignalRService/...pathToMoreResults..." | ||
} | ||
} | ||
} | ||
} |
19 changes: 19 additions & 0 deletions
19
...rvice/preview/2021-06-01-preview/examples/WebPubSubPrivateEndpointConnections_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,19 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2021-06-01-preview", | ||
"subscriptionId": "00000000-0000-0000-0000-000000000000", | ||
"resourceGroupName": "myResourceGroup", | ||
"resourceName": "myWebPubSubService", | ||
"privateEndpointConnectionName": "mywebpubsubservice.1fa229cd-bf3f-47f0-8c49-afb36723997e" | ||
}, | ||
"responses": { | ||
"200": {}, | ||
"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": {} | ||
} | ||
} |
36 changes: 36 additions & 0 deletions
36
...RService/preview/2021-06-01-preview/examples/WebPubSubPrivateEndpointConnections_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,36 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2021-06-01-preview", | ||
"subscriptionId": "00000000-0000-0000-0000-000000000000", | ||
"resourceGroupName": "myResourceGroup", | ||
"resourceName": "myWebPubSubService", | ||
"privateEndpointConnectionName": "mywebpubsubservice.1fa229cd-bf3f-47f0-8c49-afb36723997e" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"systemData": { | ||
"createdBy": "string", | ||
"createdByType": "User", | ||
"createdAt": "2015-02-03T04:05:06Z", | ||
"lastModifiedBy": "string", | ||
"lastModifiedByType": "User", | ||
"lastModifiedAt": "2015-02-03T04:05:06Z" | ||
}, | ||
"properties": { | ||
"provisioningState": "Succeeded", | ||
"privateEndpoint": { | ||
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/Microsoft.Network/privateEndpoints/myPrivateEndpoint" | ||
}, | ||
"privateLinkServiceConnectionState": { | ||
"status": "Approved", | ||
"actionsRequired": "None" | ||
} | ||
}, | ||
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/Microsoft.SignalRService/WebPubSub/myWebPubSubService/privateEndpointConnections/mywebpubsubservice.1fa229cd-bf3f-47f0-8c49-afb36723997e", | ||
"name": "mywebpubsubservice.1fa229cd-bf3f-47f0-8c49-afb36723997e", | ||
"type": "Microsoft.SignalRService/WebPubSub/privateEndpointConnections" | ||
} | ||
} | ||
} | ||
} |
39 changes: 39 additions & 0 deletions
39
...Service/preview/2021-06-01-preview/examples/WebPubSubPrivateEndpointConnections_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,39 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2021-06-01-preview", | ||
"subscriptionId": "00000000-0000-0000-0000-000000000000", | ||
"resourceGroupName": "myResourceGroup", | ||
"resourceName": "myWebPubSubService" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"value": [ | ||
{ | ||
"systemData": { | ||
"createdBy": "string", | ||
"createdByType": "User", | ||
"createdAt": "2015-02-03T04:05:06Z", | ||
"lastModifiedBy": "string", | ||
"lastModifiedByType": "User", | ||
"lastModifiedAt": "2015-02-03T04:05:06Z" | ||
}, | ||
"properties": { | ||
"provisioningState": "Succeeded", | ||
"privateEndpoint": { | ||
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/Microsoft.Network/privateEndpoints/myPrivateEndpoint" | ||
}, | ||
"privateLinkServiceConnectionState": { | ||
"status": "Approved", | ||
"actionsRequired": "None" | ||
} | ||
}, | ||
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/Microsoft.SignalRService/WebPubSub/myWebPubSubService/privateEndpointConnections/mywebpubsubservice.1fa229cd-bf3f-47f0-8c49-afb36723997e", | ||
"name": "mywebpubsubservice.1fa229cd-bf3f-47f0-8c49-afb36723997e", | ||
"type": "Microsoft.SignalRService/WebPubSub/privateEndpointConnections" | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
51 changes: 51 additions & 0 deletions
51
...rvice/preview/2021-06-01-preview/examples/WebPubSubPrivateEndpointConnections_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,51 @@ | ||
{ | ||
"parameters": { | ||
"parameters": { | ||
"properties": { | ||
"privateEndpoint": { | ||
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/Microsoft.Network/privateEndpoints/myPrivateEndpoint" | ||
}, | ||
"privateLinkServiceConnectionState": { | ||
"status": "Approved", | ||
"actionsRequired": "None" | ||
} | ||
} | ||
}, | ||
"api-version": "2021-06-01-preview", | ||
"subscriptionId": "00000000-0000-0000-0000-000000000000", | ||
"resourceGroupName": "myResourceGroup", | ||
"resourceName": "myWebPubSubService", | ||
"privateEndpointConnectionName": "mywebpubsubservice.1fa229cd-bf3f-47f0-8c49-afb36723997e" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"systemData": { | ||
"createdBy": "string", | ||
"createdByType": "User", | ||
"createdAt": "2015-02-03T04:05:06Z", | ||
"lastModifiedBy": "string", | ||
"lastModifiedByType": "User", | ||
"lastModifiedAt": "2015-02-03T04:05:06Z" | ||
}, | ||
"properties": { | ||
"provisioningState": "Succeeded", | ||
"privateEndpoint": { | ||
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/Microsoft.Network/privateEndpoints/myPrivateEndpoint" | ||
}, | ||
"privateLinkServiceConnectionState": { | ||
"status": "Approved", | ||
"actionsRequired": "None" | ||
} | ||
}, | ||
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/Microsoft.SignalRService/WebPubSub/myWebPubSubService/privateEndpointConnections/mywebpubsubservice.1fa229cd-bf3f-47f0-8c49-afb36723997e", | ||
"name": "mywebpubsubservice.1fa229cd-bf3f-47f0-8c49-afb36723997e", | ||
"type": "Microsoft.SignalRService/WebPubSub/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..." | ||
} | ||
} | ||
} | ||
} |
41 changes: 41 additions & 0 deletions
41
...ignalRService/preview/2021-06-01-preview/examples/WebPubSubPrivateLinkResources_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,41 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2021-06-01-preview", | ||
"subscriptionId": "00000000-0000-0000-0000-000000000000", | ||
"resourceGroupName": "myResourceGroup", | ||
"resourceName": "myWebPubSubService" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"value": [ | ||
{ | ||
"properties": { | ||
"groupId": "webpubsub", | ||
"requiredMembers": [ | ||
"webpubsub" | ||
], | ||
"requiredZoneNames": [ | ||
"privatelink.webpubsub.azure.com" | ||
], | ||
"shareablePrivateLinkResourceTypes": [ | ||
{ | ||
"name": "site", | ||
"properties": { | ||
"description": "Azure App Service can be used as an upstream", | ||
"groupId": "sites", | ||
"type": "Microsoft.Web/sites" | ||
} | ||
} | ||
] | ||
}, | ||
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/Microsoft.SignalRService/WebPubSub/myWebPubSubService/privateLinkResources/myPrivateLink", | ||
"name": "myPrivateLink", | ||
"type": "privateLinkResources" | ||
} | ||
], | ||
"nextLink": "https://management.azure.com/subscriptions/subid/providers/Microsoft.SignalRService/...pathToMoreResults..." | ||
} | ||
} | ||
} | ||
} |
50 changes: 50 additions & 0 deletions
50
...eview/2021-06-01-preview/examples/WebPubSubSharedPrivateLinkResources_CreateOrUpdate.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,50 @@ | ||
{ | ||
"parameters": { | ||
"parameters": { | ||
"properties": { | ||
"groupId": "sites", | ||
"privateLinkResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/Microsoft.Web/sites/myWebApp", | ||
"requestMessage": "Please approve" | ||
} | ||
}, | ||
"api-version": "2021-06-01-preview", | ||
"subscriptionId": "00000000-0000-0000-0000-000000000000", | ||
"resourceGroupName": "myResourceGroup", | ||
"resourceName": "myWebPubSubService", | ||
"sharedPrivateLinkResourceName": "upstream" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"properties": { | ||
"groupId": "sites", | ||
"privateLinkResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/Microsoft.Web/sites/myWebApp", | ||
"provisioningState": "Succeeded", | ||
"requestMessage": "Please approve", | ||
"status": "Approved" | ||
}, | ||
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/Microsoft.SignalRService/WebPubSub/myWebPubSubService/privateEndpointConnections/upstream", | ||
"name": "upstream", | ||
"type": "Microsoft.SignalRService/WebPubSub/privateEndpointConnections" | ||
} | ||
}, | ||
"201": { | ||
"body": { | ||
"properties": { | ||
"groupId": "sites", | ||
"privateLinkResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/Microsoft.Web/sites/myWebApp", | ||
"provisioningState": "Succeeded", | ||
"requestMessage": "Please approve", | ||
"status": "Approved" | ||
}, | ||
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/Microsoft.SignalRService/WebPubSub/myWebPubSubService/privateEndpointConnections/upstream", | ||
"name": "upstream", | ||
"type": "Microsoft.SignalRService/WebPubSub/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..." | ||
} | ||
} | ||
} | ||
} |
19 changes: 19 additions & 0 deletions
19
...rvice/preview/2021-06-01-preview/examples/WebPubSubSharedPrivateLinkResources_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,19 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2021-06-01-preview", | ||
"subscriptionId": "00000000-0000-0000-0000-000000000000", | ||
"resourceGroupName": "myResourceGroup", | ||
"resourceName": "myWebPubSubService", | ||
"sharedPrivateLinkResourceName": "upstream" | ||
}, | ||
"responses": { | ||
"200": {}, | ||
"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": {} | ||
} | ||
} |
25 changes: 25 additions & 0 deletions
25
...RService/preview/2021-06-01-preview/examples/WebPubSubSharedPrivateLinkResources_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,25 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2021-06-01-preview", | ||
"subscriptionId": "00000000-0000-0000-0000-000000000000", | ||
"resourceGroupName": "myResourceGroup", | ||
"resourceName": "myWebPubSubService", | ||
"sharedPrivateLinkResourceName": "upstream" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"properties": { | ||
"groupId": "sites", | ||
"privateLinkResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/Microsoft.Web/sites/myWebApp", | ||
"provisioningState": "Succeeded", | ||
"requestMessage": "Please approve", | ||
"status": "Approved" | ||
}, | ||
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/Microsoft.SignalRService/WebPubSub/myWebPubSubService/privateEndpointConnections/upstream", | ||
"name": "upstream", | ||
"type": "Microsoft.SignalRService/WebPubSub/privateEndpointConnections" | ||
} | ||
} | ||
} | ||
} |
28 changes: 28 additions & 0 deletions
28
...Service/preview/2021-06-01-preview/examples/WebPubSubSharedPrivateLinkResources_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,28 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2021-06-01-preview", | ||
"subscriptionId": "00000000-0000-0000-0000-000000000000", | ||
"resourceGroupName": "myResourceGroup", | ||
"resourceName": "myWebPubSubService" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"value": [ | ||
{ | ||
"properties": { | ||
"groupId": "sites", | ||
"privateLinkResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/Microsoft.Web/sites/myWebApp", | ||
"provisioningState": "Succeeded", | ||
"requestMessage": "Please approve", | ||
"status": "Approved" | ||
}, | ||
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/Microsoft.SignalRService/WebPubSub/myWebPubSubService/privateEndpointConnections/upstream", | ||
"name": "upstream", | ||
"type": "Microsoft.SignalRService/WebPubSub/privateEndpointConnections" | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.