Skip to content

Commit

Permalink
Updates API version in new specs and examples
Browse files Browse the repository at this point in the history
  • Loading branch information
lingxiao-microsoft committed Apr 4, 2023
1 parent df4281a commit dbc2fba
Show file tree
Hide file tree
Showing 28 changed files with 34 additions and 34 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"resourceGroupName": "testrg",
"sqlVirtualMachineGroupName": "testvmgroup",
"availabilityGroupListenerName": "agl-test",
"api-version": "2022-08-01-preview",
"api-version": "2023-01-01-preview",
"parameters": {
"properties": {
"availabilityGroupName": "ag-test",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"resourceGroupName": "testrg",
"sqlVirtualMachineGroupName": "testvmgroup",
"availabilityGroupListenerName": "agl-test",
"api-version": "2022-08-01-preview",
"api-version": "2023-01-01-preview",
"parameters": {
"properties": {
"availabilityGroupName": "ag-test",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"subscriptionId": "00000000-1111-2222-3333-444444444444",
"resourceGroupName": "testrg",
"sqlVirtualMachineName": "testvm",
"api-version": "2022-08-01-preview",
"api-version": "2023-01-01-preview",
"parameters": {
"location": "northeurope",
"properties": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"subscriptionId": "00000000-1111-2222-3333-444444444444",
"resourceGroupName": "testrg",
"sqlVirtualMachineGroupName": "testvmgroup",
"api-version": "2022-08-01-preview",
"api-version": "2023-01-01-preview",
"parameters": {
"location": "northeurope",
"tags": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"subscriptionId": "00000000-1111-2222-3333-444444444444",
"resourceGroupName": "testrg",
"sqlVirtualMachineName": "testvm",
"api-version": "2022-08-01-preview",
"api-version": "2023-01-01-preview",
"parameters": {
"location": "northeurope",
"properties": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"subscriptionId": "00000000-1111-2222-3333-444444444444",
"resourceGroupName": "testrg",
"sqlVirtualMachineName": "testvm",
"api-version": "2022-08-01-preview",
"api-version": "2023-01-01-preview",
"parameters": {
"location": "northeurope",
"properties": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"subscriptionId": "00000000-1111-2222-3333-444444444444",
"resourceGroupName": "testrg",
"sqlVirtualMachineName": "testvm",
"api-version": "2022-08-01-preview",
"api-version": "2023-01-01-preview",
"parameters": {
"location": "northeurope",
"properties": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"subscriptionId": "00000000-1111-2222-3333-444444444444",
"resourceGroupName": "testrg",
"sqlVirtualMachineName": "testvm",
"api-version": "2022-08-01-preview",
"api-version": "2023-01-01-preview",
"parameters": {
"location": "northeurope",
"properties": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"subscriptionId": "00000000-1111-2222-3333-444444444444",
"resourceGroupName": "testrg",
"sqlVirtualMachineName": "testvm",
"api-version": "2022-08-01-preview",
"api-version": "2023-01-01-preview",
"parameters": {
"location": "northeurope",
"properties": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@
"resourceGroupName": "testrg",
"sqlVirtualMachineGroupName": "testvmgroup",
"availabilityGroupListenerName": "agl-test",
"api-version": "2022-08-01-preview"
"api-version": "2023-01-01-preview"
},
"responses": {
"200": {},
"202": {
"headers": {
"Location": "https://management.azure.com/subscriptions/0009fc4d-e310-4e40-8e63-c48a23e9cdc1/providers/Microsoft.SqlVirtualMachine/locations/eastus2/sqlVirtualMachineOperationResults/8d7881c8-81e3-44c3-9809-f2e7fbcdb184?api-version=2022-08-01-preview",
"Location": "https://management.azure.com/subscriptions/0009fc4d-e310-4e40-8e63-c48a23e9cdc1/providers/Microsoft.SqlVirtualMachine/locations/eastus2/sqlVirtualMachineOperationResults/8d7881c8-81e3-44c3-9809-f2e7fbcdb184?api-version=2023-01-01-preview",
"Retry-After": "15"
}
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@
"subscriptionId": "00000000-1111-2222-3333-444444444444",
"resourceGroupName": "testrg",
"sqlVirtualMachineName": "testvm1",
"api-version": "2022-08-01-preview"
"api-version": "2023-01-01-preview"
},
"responses": {
"200": {},
"202": {
"headers": {
"Location": "https://management.azure.com/subscriptions/0009fc4d-e310-4e40-8e63-c48a23e9cdc1/providers/Microsoft.SqlVirtualMachine/locations/eastus2/sqlVirtualMachineOperationResults/8d7881c8-81e3-44c3-9809-f2e7fbcdb184?api-version=2022-08-01-preview",
"Location": "https://management.azure.com/subscriptions/0009fc4d-e310-4e40-8e63-c48a23e9cdc1/providers/Microsoft.SqlVirtualMachine/locations/eastus2/sqlVirtualMachineOperationResults/8d7881c8-81e3-44c3-9809-f2e7fbcdb184?api-version=2023-01-01-preview",
"Retry-After": "15"
}
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@
"subscriptionId": "00000000-1111-2222-3333-444444444444",
"resourceGroupName": "testrg",
"sqlVirtualMachineGroupName": "testvmgroup",
"api-version": "2022-08-01-preview"
"api-version": "2023-01-01-preview"
},
"responses": {
"200": {},
"202": {
"headers": {
"Location": "https://management.azure.com/subscriptions/0009fc4d-e310-4e40-8e63-c48a23e9cdc1/providers/Microsoft.SqlVirtualMachine/locations/eastus2/sqlVirtualMachineOperationResults/8d7881c8-81e3-44c3-9809-f2e7fbcdb184?api-version=2022-08-01-preview",
"Location": "https://management.azure.com/subscriptions/0009fc4d-e310-4e40-8e63-c48a23e9cdc1/providers/Microsoft.SqlVirtualMachine/locations/eastus2/sqlVirtualMachineOperationResults/8d7881c8-81e3-44c3-9809-f2e7fbcdb184?api-version=2023-01-01-preview",
"Retry-After": "15"
}
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"resourceGroupName": "testrg",
"sqlVirtualMachineGroupName": "testvmgroup",
"availabilityGroupListenerName": "agl-test",
"api-version": "2022-08-01-preview"
"api-version": "2023-01-01-preview"
},
"responses": {
"200": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"subscriptionId": "00000000-1111-2222-3333-444444444444",
"resourceGroupName": "testrg",
"sqlVirtualMachineName": "testvm",
"api-version": "2022-08-01-preview",
"api-version": "2023-01-01-preview",
"parameters": {}
},
"responses": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"subscriptionId": "00000000-1111-2222-3333-444444444444",
"resourceGroupName": "testrg",
"sqlVirtualMachineGroupName": "testvmgroup",
"api-version": "2022-08-01-preview"
"api-version": "2023-01-01-preview"
},
"responses": {
"200": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"subscriptionId": "00000000-1111-2222-3333-444444444444",
"resourceGroupName": "testrg",
"sqlVirtualMachineGroupName": "testvmgroup",
"api-version": "2022-08-01-preview"
"api-version": "2023-01-01-preview"
},
"responses": {
"200": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"parameters": {
"subscriptionId": "00000000-1111-2222-3333-444444444444",
"resourceGroupName": "testrg",
"api-version": "2022-08-01-preview"
"api-version": "2023-01-01-preview"
},
"responses": {
"200": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"parameters": {
"subscriptionId": "00000000-1111-2222-3333-444444444444",
"resourceGroupName": "testrg",
"api-version": "2022-08-01-preview"
"api-version": "2023-01-01-preview"
},
"responses": {
"200": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"subscriptionId": "00000000-1111-2222-3333-444444444444",
"resourceGroupName": "testrg",
"sqlVirtualMachineGroupName": "testvm",
"api-version": "2022-08-01-preview"
"api-version": "2023-01-01-preview"
},
"responses": {
"200": {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"parameters": {
"api-version": "2022-08-01-preview"
"api-version": "2023-01-01-preview"
},
"responses": {
"200": {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"parameters": {
"subscriptionId": "00000000-1111-2222-3333-444444444444",
"api-version": "2022-08-01-preview"
"api-version": "2023-01-01-preview"
},
"responses": {
"200": {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"parameters": {
"subscriptionId": "00000000-1111-2222-3333-444444444444",
"api-version": "2022-08-01-preview"
"api-version": "2023-01-01-preview"
},
"responses": {
"200": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@
"subscriptionId": "00000000-1111-2222-3333-444444444444",
"resourceGroupName": "testrg",
"sqlVirtualMachineName": "testvm",
"api-version": "2022-08-01-preview"
"api-version": "2023-01-01-preview"
},
"responses": {
"200": {},
"202": {
"headers": {
"Location": "https://management.azure.com/subscriptions/0009fc4d-e310-4e40-8e63-c48a23e9cdc1/providers/Microsoft.SqlVirtualMachine/locations/eastus2/sqlVirtualMachineOperationResults/8d7881c8-81e3-44c3-9809-f2e7fbcdb184?api-version=2022-08-01-preview",
"Location": "https://management.azure.com/subscriptions/0009fc4d-e310-4e40-8e63-c48a23e9cdc1/providers/Microsoft.SqlVirtualMachine/locations/eastus2/sqlVirtualMachineOperationResults/8d7881c8-81e3-44c3-9809-f2e7fbcdb184?api-version=2023-01-01-preview",
"Retry-After": "15"
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@
"subscriptionId": "00000000-1111-2222-3333-444444444444",
"resourceGroupName": "testrg",
"sqlVirtualMachineName": "testvm",
"api-version": "2022-08-01-preview"
"api-version": "2023-01-01-preview"
},
"responses": {
"200": {},
"202": {
"headers": {
"Location": "https://management.azure.com/subscriptions/0009fc4d-e310-4e40-8e63-c48a23e9cdc1/providers/Microsoft.SqlVirtualMachine/locations/eastus2/sqlVirtualMachineOperationResults/8d7881c8-81e3-44c3-9809-f2e7fbcdb184?api-version=2022-08-01-preview",
"Location": "https://management.azure.com/subscriptions/0009fc4d-e310-4e40-8e63-c48a23e9cdc1/providers/Microsoft.SqlVirtualMachine/locations/eastus2/sqlVirtualMachineOperationResults/8d7881c8-81e3-44c3-9809-f2e7fbcdb184?api-version=2023-01-01-preview",
"Retry-After": "15"
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"subscriptionId": "00000000-1111-2222-3333-444444444444",
"resourceGroupName": "testrg",
"sqlVirtualMachineName": "testvm",
"api-version": "2022-08-01-preview",
"api-version": "2023-01-01-preview",
"parameters": {
"startTimeUtc": "2022-07-09T17:10:00Z",
"endTimeUtc": "2022-07-09T22:10:00Z",
Expand Down Expand Up @@ -31,7 +31,7 @@
"202": {
"headers": {
"azure-asyncoperation": "http://azure.async.operation/status",
"Location": "https://management.azure.com/subscriptions/00000000-1111-2222-3333-444444444444/providers/Microsoft.SqlVirtualMachine/locations/eastus2/sqlVirtualMachineOperationResults/f0405ceb-e867-4f00-8085-738f2c5d76fd?api-version=2022-08-01-preview"
"Location": "https://management.azure.com/subscriptions/00000000-1111-2222-3333-444444444444/providers/Microsoft.SqlVirtualMachine/locations/eastus2/sqlVirtualMachineOperationResults/f0405ceb-e867-4f00-8085-738f2c5d76fd?api-version=2023-01-01-preview"
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"subscriptionId": "00000000-1111-2222-3333-444444444444",
"resourceGroupName": "testrg",
"sqlVirtualMachineName": "testvm",
"api-version": "2022-08-01-preview",
"api-version": "2023-01-01-preview",
"parameters": {
"tags": {
"mytag": "myval"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"subscriptionId": "00000000-1111-2222-3333-444444444444",
"resourceGroupName": "testrg",
"sqlVirtualMachineGroupName": "testvmgroup",
"api-version": "2022-08-01-preview",
"api-version": "2023-01-01-preview",
"parameters": {
"tags": {
"mytag": "myval"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"swagger": "2.0",
"info": {
"version": "2022-08-01-preview",
"version": "2023-01-01-preview",
"title": "SqlVirtualMachineManagementClient",
"description": "The SQL virtual machine management API provides a RESTful set of web APIs that interact with Azure Compute, Network & Storage services to manage your SQL Server virtual machine. The API enables users to create, delete and retrieve a SQL virtual machine, SQL virtual machine group or availability group listener."
},
Expand Down

0 comments on commit dbc2fba

Please sign in to comment.