Skip to content

Commit 151a844

Browse files
authored
[NetAppFiles] Bugfix Add missing api-version parameter (#20993)
* Add missing api-version parameter * update vg examples * update vg examples2
1 parent 12d807f commit 151a844

File tree

4 files changed

+24
-21
lines changed

4 files changed

+24
-21
lines changed

specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-05-01/examples/Accounts_RenewCredentials.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"subscriptionId": "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9",
44
"resourceGroupName": "myRG",
55
"accountName": "account1",
6-
"api-version": "2021-10-01",
6+
"api-version": "2022-05-01",
77
"body": {}
88
},
99
"responses": {

specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-05-01/examples/VolumeGroups_Create.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,13 @@
1212
"groupDescription": "Volume group",
1313
"applicationType": "SAP-HANA",
1414
"applicationIdentifier": "DEV",
15-
"deploymentSpecId": "fb04dbeb-005d-2703-197e-6208dfadb5d9"
15+
"deploymentSpecId": "20542149-bfca-5618-1879-9863dc6767f1"
1616
},
1717
"volumes": [
1818
{
19-
"name": "testVol1",
19+
"name": "test-data-mnt00001",
2020
"properties": {
21-
"creationToken": "testVol1",
21+
"creationToken": "test-data-mnt00001",
2222
"serviceLevel": "Premium",
2323
"throughputMibps": 10,
2424
"subnetId": "/subscriptions/d633cc2e-722b-4ae1-b636-bbd9e4c60ed9/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3",
@@ -29,9 +29,9 @@
2929
}
3030
},
3131
{
32-
"name": "testVol2",
32+
"name": "test-log-mnt00001",
3333
"properties": {
34-
"creationToken": "testVol2",
34+
"creationToken": "test-log-mnt00001",
3535
"serviceLevel": "Premium",
3636
"throughputMibps": 10,
3737
"subnetId": "/subscriptions/d633cc2e-722b-4ae1-b636-bbd9e4c60ed9/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3",
@@ -42,9 +42,9 @@
4242
}
4343
},
4444
{
45-
"name": "testVol3",
45+
"name": "test-shared",
4646
"properties": {
47-
"creationToken": "testVol3",
47+
"creationToken": "test-shared",
4848
"serviceLevel": "Premium",
4949
"throughputMibps": 10,
5050
"subnetId": "/subscriptions/d633cc2e-722b-4ae1-b636-bbd9e4c60ed9/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3",

specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-05-01/examples/VolumeGroups_Get.json

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -23,66 +23,66 @@
2323
},
2424
"volumes": [
2525
{
26-
"name": "account1/pool1/testVol1",
26+
"name": "account1/pool1/test-data-mnt00001",
2727
"properties": {
2828
"provisioningState": "Succeeded",
2929
"throughputMibps": 10.0,
3030
"proximityPlacementGroup": "/subscriptions/d633cc2e-722b-4ae1-b636-bbd9e4c60ed9/resourceGroups/cys_sjain_fcp_rg/providers/Microsoft.Compute/proximityPlacementGroups/svlqa_sjain_multivolume_ppg",
3131
"volumeSpecName": "data",
3232
"serviceLevel": "Premium",
33-
"creationToken": "testVol1",
33+
"creationToken": "test-data-mnt00001",
3434
"usageThreshold": 107374182400,
3535
"subnetId": "/subscriptions/d633cc2e-722b-4ae1-b636-bbd9e4c60ed9/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3"
3636
}
3737
},
3838
{
39-
"name": "account1/pool1/testVol2",
39+
"name": "account1/pool1/test-log-mnt00001",
4040
"properties": {
4141
"provisioningState": "Succeeded",
4242
"throughputMibps": 10.0,
4343
"proximityPlacementGroup": "/subscriptions/d633cc2e-722b-4ae1-b636-bbd9e4c60ed9/resourceGroups/cys_sjain_fcp_rg/providers/Microsoft.Compute/proximityPlacementGroups/svlqa_sjain_multivolume_ppg",
4444
"volumeSpecName": "log",
4545
"serviceLevel": "Premium",
46-
"creationToken": "testVol2",
46+
"creationToken": "test-log-mnt00001",
4747
"usageThreshold": 107374182400,
4848
"subnetId": "/subscriptions/d633cc2e-722b-4ae1-b636-bbd9e4c60ed9/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3"
4949
}
5050
},
5151
{
52-
"name": "account1/pool1/testVol3",
52+
"name": "account1/pool1/test-shared",
5353
"properties": {
5454
"provisioningState": "Succeeded",
5555
"throughputMibps": 10.0,
5656
"proximityPlacementGroup": "/subscriptions/d633cc2e-722b-4ae1-b636-bbd9e4c60ed9/resourceGroups/cys_sjain_fcp_rg/providers/Microsoft.Compute/proximityPlacementGroups/svlqa_sjain_multivolume_ppg",
5757
"volumeSpecName": "shared",
5858
"serviceLevel": "Premium",
59-
"creationToken": "testVol3",
59+
"creationToken": "test-shared",
6060
"usageThreshold": 107374182400,
6161
"subnetId": "/subscriptions/d633cc2e-722b-4ae1-b636-bbd9e4c60ed9/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3"
6262
}
6363
},
6464
{
65-
"name": "account1/pool1/testVol4",
65+
"name": "account1/pool1/test-data-backup",
6666
"properties": {
6767
"provisioningState": "Succeeded",
6868
"throughputMibps": 10.0,
6969
"proximityPlacementGroup": "/subscriptions/d633cc2e-722b-4ae1-b636-bbd9e4c60ed9/resourceGroups/cys_sjain_fcp_rg/providers/Microsoft.Compute/proximityPlacementGroups/svlqa_sjain_multivolume_ppg",
70-
"volumeSpecName": "data-log",
70+
"volumeSpecName": "data-backup",
7171
"serviceLevel": "Premium",
72-
"creationToken": "testVol4",
72+
"creationToken": "test-log-backup",
7373
"usageThreshold": 107374182400,
7474
"subnetId": "/subscriptions/d633cc2e-722b-4ae1-b636-bbd9e4c60ed9/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3"
7575
}
7676
},
7777
{
78-
"name": "account1/pool1/testVol5",
78+
"name": "account1/pool1/test-log-backup",
7979
"properties": {
8080
"provisioningState": "Succeeded",
8181
"throughputMibps": 10.0,
8282
"proximityPlacementGroup": "/subscriptions/d633cc2e-722b-4ae1-b636-bbd9e4c60ed9/resourceGroups/cys_sjain_fcp_rg/providers/Microsoft.Compute/proximityPlacementGroups/svlqa_sjain_multivolume_ppg",
83-
"volumeSpecName": "shared-log",
83+
"volumeSpecName": "log-backup",
8484
"serviceLevel": "Premium",
85-
"creationToken": "testVol5",
85+
"creationToken": "test-data-backup",
8686
"usageThreshold": 107374182400,
8787
"subnetId": "/subscriptions/d633cc2e-722b-4ae1-b636-bbd9e4c60ed9/resourceGroups/myRP/providers/Microsoft.Network/virtualNetworks/testvnet3/subnets/testsubnet3"
8888
}

specification/netapp/resource-manager/Microsoft.NetApp/stable/2022-05-01/netapp.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -622,6 +622,9 @@
622622
},
623623
{
624624
"$ref": "#/parameters/AccountName"
625+
},
626+
{
627+
"$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter"
625628
}
626629
],
627630
"responses": {
@@ -7568,7 +7571,7 @@
75687571
"deploymentSpecId": {
75697572
"type": "string",
75707573
"description": "Application specific identifier of deployment rules for the volume group",
7571-
"example": "12345678-1234-1234-1234-123456676765"
7574+
"example": "20542149-bfca-5618-1879-9863dc6767f1"
75727575
},
75737576
"volumesCount": {
75747577
"type": "integer",

0 commit comments

Comments
 (0)