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.
Azure SignalR - Adding new api-version 2023-03-01-preview (Azure#22948)
* init 2023-03-01-preview for signalr and webpubsub. Copied from 2022-02-01 * add new api version 2023-03-01-preview * revert changes to package-lock.json and package.json * 1. Add restart to replica 2. replica tracedResource, subscriptionId, resourceGroup, apiVersion within commonTYpe in v5 3. return 202 for patch operation 4. add 'x-ms-long-running-operation-options' for put operation 5. Add pattern to resourceName and replicaName * 1. Change response status code to 202 for patch 2. Fix the example naming 3. Add location header for post 202, change 'final-state-via' property to 'location' for POST * 1. Fix example response body 2. Fix "x-ms-long-running-operation-options" for put * 1. Fix example response body 2. Fix LocationHeader for PATCH * 1. Remove SystemData form models inherited from "Resource" 2. Reuse trackedResource, privateEndpointConnection, privateEndpointConnectionName * Fix default value of clientCertEnabled * Revert privateEndpointConnection since model in common is different from ours * Fix the resourceName pattern and example * fix naming pattern * 1. Add 200 for signalrRegenerate Key 2. fmt example
- Loading branch information
1 parent
7cd46a1
commit 579f9f1
Showing
86 changed files
with
11,433 additions
and
2 deletions.
There are no files selected for viewing
25 changes: 25 additions & 0 deletions
25
...manager/Microsoft.SignalRService/preview/2023-03-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": "2023-03-01-preview" | ||
}, | ||
"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 resource settings and configurations in the management portal or through API" | ||
}, | ||
"properties": {} | ||
} | ||
], | ||
"nextLink": "providers/Microsoft.SignalRService?$skipToken={opaqueString}" | ||
} | ||
} | ||
} | ||
} |
44 changes: 44 additions & 0 deletions
44
...Service/preview/2023-03-01-preview/examples/SignalRCustomCertificates_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,44 @@ | ||
{ | ||
"parameters": { | ||
"parameters": { | ||
"properties": { | ||
"keyVaultBaseUri": "https://myvault.keyvault.azure.net/", | ||
"keyVaultSecretName": "mycert", | ||
"keyVaultSecretVersion": "bb6a44b2743f47f68dad0d6cc9756432" | ||
} | ||
}, | ||
"api-version": "2023-03-01-preview", | ||
"subscriptionId": "00000000-0000-0000-0000-000000000000", | ||
"resourceGroupName": "myResourceGroup", | ||
"resourceName": "mySignalRService", | ||
"certificateName": "myCert" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"properties": { | ||
"provisioningState": "Succeeded", | ||
"keyVaultBaseUri": "https://myvault.keyvault.azure.net/", | ||
"keyVaultSecretName": "mycert", | ||
"keyVaultSecretVersion": "bb6a44b2743f47f68dad0d6cc9756432" | ||
}, | ||
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/Microsoft.SignalRService/SignalR/mySignalRService/customCertificates/myCert", | ||
"name": "myCert", | ||
"type": "Microsoft.SignalRService/SignalR/customCertificates" | ||
} | ||
}, | ||
"201": { | ||
"body": { | ||
"properties": { | ||
"provisioningState": "Succeeded", | ||
"keyVaultBaseUri": "https://myvault.keyvault.azure.net/", | ||
"keyVaultSecretName": "mycert", | ||
"keyVaultSecretVersion": "bb6a44b2743f47f68dad0d6cc9756432" | ||
}, | ||
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/Microsoft.SignalRService/SignalR/mySignalRService/customCertificates/myCert", | ||
"name": "myCert", | ||
"type": "Microsoft.SignalRService/SignalR/customCertificates" | ||
} | ||
} | ||
} | ||
} |
13 changes: 13 additions & 0 deletions
13
....SignalRService/preview/2023-03-01-preview/examples/SignalRCustomCertificates_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,13 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2023-03-01-preview", | ||
"subscriptionId": "00000000-0000-0000-0000-000000000000", | ||
"resourceGroupName": "myResourceGroup", | ||
"resourceName": "mySignalRService", | ||
"certificateName": "myCert" | ||
}, | ||
"responses": { | ||
"200": {}, | ||
"204": {} | ||
} | ||
} |
24 changes: 24 additions & 0 deletions
24
...oft.SignalRService/preview/2023-03-01-preview/examples/SignalRCustomCertificates_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,24 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2023-03-01-preview", | ||
"subscriptionId": "00000000-0000-0000-0000-000000000000", | ||
"resourceGroupName": "myResourceGroup", | ||
"resourceName": "mySignalRService", | ||
"certificateName": "myCert" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"properties": { | ||
"provisioningState": "Succeeded", | ||
"keyVaultBaseUri": "https://myvault.keyvault.azure.net/", | ||
"keyVaultSecretName": "mycert", | ||
"keyVaultSecretVersion": "bb6a44b2743f47f68dad0d6cc9756432" | ||
}, | ||
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/Microsoft.SignalRService/SignalR/mySignalRService/customCertificates/myCert", | ||
"name": "myCert", | ||
"type": "Microsoft.SignalRService/SignalR/customCertificates" | ||
} | ||
} | ||
} | ||
} |
28 changes: 28 additions & 0 deletions
28
...ft.SignalRService/preview/2023-03-01-preview/examples/SignalRCustomCertificates_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": "2023-03-01-preview", | ||
"subscriptionId": "00000000-0000-0000-0000-000000000000", | ||
"resourceGroupName": "myResourceGroup", | ||
"resourceName": "mySignalRService", | ||
"certificateName": "myCert" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"value": [ | ||
{ | ||
"properties": { | ||
"provisioningState": "Succeeded", | ||
"keyVaultBaseUri": "https://myvault.keyvault.azure.net/", | ||
"keyVaultSecretName": "mycert", | ||
"keyVaultSecretVersion": "bb6a44b2743f47f68dad0d6cc9756432" | ||
}, | ||
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/Microsoft.SignalRService/SignalR/mySignalRService/customCertificates/myCert", | ||
"name": "myCert", | ||
"type": "Microsoft.SignalRService/SignalR/customCertificates" | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
36 changes: 36 additions & 0 deletions
36
...gnalRService/preview/2023-03-01-preview/examples/SignalRCustomDomains_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,36 @@ | ||
{ | ||
"parameters": { | ||
"parameters": { | ||
"properties": { | ||
"domainName": "example.com", | ||
"customCertificate": { | ||
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/Microsoft.SignalRService/SignalR/mySignalRService/customCertificates/myCert" | ||
} | ||
} | ||
}, | ||
"api-version": "2023-03-01-preview", | ||
"subscriptionId": "00000000-0000-0000-0000-000000000000", | ||
"resourceGroupName": "myResourceGroup", | ||
"resourceName": "mySignalRService", | ||
"name": "myDomain" | ||
}, | ||
"responses": { | ||
"201": { | ||
"body": { | ||
"properties": { | ||
"provisioningState": "Succeeded", | ||
"domainName": "example.com", | ||
"customCertificate": { | ||
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/Microsoft.SignalRService/SignalR/mySignalRService/customCertificates/myCert" | ||
} | ||
}, | ||
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/Microsoft.SignalRService/SignalR/mySignalRService/customDomains/myDomain", | ||
"name": "myDomain" | ||
}, | ||
"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
...osoft.SignalRService/preview/2023-03-01-preview/examples/SignalRCustomDomains_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": "2023-03-01-preview", | ||
"subscriptionId": "00000000-0000-0000-0000-000000000000", | ||
"resourceGroupName": "myResourceGroup", | ||
"resourceName": "mySignalRService", | ||
"name": "example" | ||
}, | ||
"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": {} | ||
} | ||
} |
24 changes: 24 additions & 0 deletions
24
...icrosoft.SignalRService/preview/2023-03-01-preview/examples/SignalRCustomDomains_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,24 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2023-03-01-preview", | ||
"subscriptionId": "00000000-0000-0000-0000-000000000000", | ||
"resourceGroupName": "myResourceGroup", | ||
"resourceName": "mySignalRService", | ||
"name": "example" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"properties": { | ||
"provisioningState": "Succeeded", | ||
"domainName": "example.com", | ||
"customCertificate": { | ||
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/Microsoft.SignalRService/SignalR/mySignalRService/customCertificates/myCert" | ||
} | ||
}, | ||
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/Microsoft.SignalRService/SignalR/mySignalRService/customDomains/myDomain", | ||
"name": "myDomain" | ||
} | ||
} | ||
} | ||
} |
28 changes: 28 additions & 0 deletions
28
...crosoft.SignalRService/preview/2023-03-01-preview/examples/SignalRCustomDomains_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": "2023-03-01-preview", | ||
"subscriptionId": "00000000-0000-0000-0000-000000000000", | ||
"resourceGroupName": "myResourceGroup", | ||
"resourceName": "mySignalRService", | ||
"name": "myDomain" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"value": [ | ||
{ | ||
"properties": { | ||
"provisioningState": "Succeeded", | ||
"domainName": "example.com", | ||
"customCertificate": { | ||
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/Microsoft.SignalRService/SignalR/mySignalRService/customCertificates/myCert" | ||
} | ||
}, | ||
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/Microsoft.SignalRService/SignalR/mySignalRService/customDomains/myDomain", | ||
"name": "myDomain" | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
19 changes: 19 additions & 0 deletions
19
...Service/preview/2023-03-01-preview/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,19 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2023-03-01-preview", | ||
"subscriptionId": "00000000-0000-0000-0000-000000000000", | ||
"resourceGroupName": "myResourceGroup", | ||
"resourceName": "mySignalRService", | ||
"privateEndpointConnectionName": "mysignalrservice.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": {} | ||
} | ||
} |
39 changes: 39 additions & 0 deletions
39
...alRService/preview/2023-03-01-preview/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,39 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2023-03-01-preview", | ||
"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" | ||
}, | ||
"groupIds": [ | ||
"signalr" | ||
], | ||
"privateLinkServiceConnectionState": { | ||
"status": "Approved", | ||
"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", | ||
"systemData": { | ||
"createdBy": "string", | ||
"createdByType": "User", | ||
"createdAt": "2015-02-03T04:05:06Z", | ||
"lastModifiedBy": "string", | ||
"lastModifiedByType": "User", | ||
"lastModifiedAt": "2015-02-03T04:05:06Z" | ||
} | ||
} | ||
} | ||
} | ||
} |
42 changes: 42 additions & 0 deletions
42
...lRService/preview/2023-03-01-preview/examples/SignalRPrivateEndpointConnections_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,42 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2023-03-01-preview", | ||
"subscriptionId": "00000000-0000-0000-0000-000000000000", | ||
"resourceGroupName": "myResourceGroup", | ||
"resourceName": "mySignalRService" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"value": [ | ||
{ | ||
"properties": { | ||
"provisioningState": "Succeeded", | ||
"privateEndpoint": { | ||
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/Microsoft.Network/privateEndpoints/myPrivateEndpoint" | ||
}, | ||
"groupIds": [ | ||
"signalr" | ||
], | ||
"privateLinkServiceConnectionState": { | ||
"status": "Approved", | ||
"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", | ||
"systemData": { | ||
"createdBy": "string", | ||
"createdByType": "User", | ||
"createdAt": "2015-02-03T04:05:06Z", | ||
"lastModifiedBy": "string", | ||
"lastModifiedByType": "User", | ||
"lastModifiedAt": "2015-02-03T04:05:06Z" | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.