Skip to content

Commit c8b0b91

Browse files
authored
[NetAppFiles] Apply s360 fix to operations result (#16270)
* Apply s360 fix to operations resutl * Fix apiversion in example * Fix validation warning and errors * Add missing encryptDCConnections propety to AcitiveDirectory * fix api version * fix througntputmips * Clarify description throughputMibps Co-authored-by: Audunn Baldvinsson <[email protected]>
1 parent a4a7566 commit c8b0b91

File tree

4 files changed

+39
-16
lines changed

4 files changed

+39
-16
lines changed

specification/netapp/resource-manager/Microsoft.NetApp/stable/2021-04-01/examples/Accounts_Update.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": "2020-11-01",
6+
"api-version": "2021-04-01",
77
"body": {
88
"tags": {
99
"Tag1": "Value1"

specification/netapp/resource-manager/Microsoft.NetApp/stable/2021-04-01/netapp.json

Lines changed: 30 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2836,6 +2836,13 @@
28362836
"items": {
28372837
"$ref": "#/definitions/MetricSpecification"
28382838
}
2839+
},
2840+
"logSpecifications": {
2841+
"description": "Log specification of operation.",
2842+
"type": "array",
2843+
"items": {
2844+
"$ref": "#/definitions/LogSpecification"
2845+
}
28392846
}
28402847
}
28412848
},
@@ -2884,6 +2891,10 @@
28842891
"type": "string",
28852892
"description": "The internal metric name."
28862893
},
2894+
"enableRegionalMdmAccount": {
2895+
"description": "Whether or not the service is using regional MDM accounts.",
2896+
"type": "boolean"
2897+
},
28872898
"sourceMdmAccount": {
28882899
"type": "string",
28892900
"description": "The source MDM account."
@@ -2914,6 +2925,24 @@
29142925
"resourceIdDimensionNameOverride": {
29152926
"type": "string",
29162927
"description": "Account Resource Id."
2928+
},
2929+
"isInternal": {
2930+
"description": "Whether the metric is internal.",
2931+
"type": "boolean"
2932+
}
2933+
}
2934+
},
2935+
"LogSpecification": {
2936+
"description": "Log Definition of a single resource metric.",
2937+
"type": "object",
2938+
"properties": {
2939+
"name": {
2940+
"description": "Name of log specification.",
2941+
"type": "string"
2942+
},
2943+
"displayName": {
2944+
"description": "Display name of log specification.",
2945+
"type": "string"
29172946
}
29182947
}
29192948
},
@@ -3846,7 +3875,7 @@
38463875
},
38473876
"volumeType": {
38483877
"type": "string",
3849-
"description": "What type of volume is this",
3878+
"description": "What type of volume is this. For destination volumes in Cross Region Replication, set type to DataProtection",
38503879
"example": "DataProtection"
38513880
},
38523881
"dataProtection": {

specification/netapp/resource-manager/Microsoft.NetApp/stable/2021-06-01/examples/Accounts_Update.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": "2020-11-01",
6+
"api-version": "2021-06-01",
77
"body": {
88
"tags": {
99
"Tag1": "Value1"

specification/netapp/resource-manager/Microsoft.NetApp/stable/2021-06-01/netapp.json

Lines changed: 7 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -2918,6 +2918,7 @@
29182918
}
29192919
},
29202920
"logSpecifications": {
2921+
"description": "Log specification of operation.",
29212922
"type": "array",
29222923
"items": {
29232924
"$ref": "#/definitions/LogSpecification"
@@ -3016,9 +3017,11 @@
30163017
"type": "object",
30173018
"properties": {
30183019
"name": {
3020+
"description": "Name of log specification.",
30193021
"type": "string"
30203022
},
30213023
"displayName": {
3024+
"description": "Display name of log specification.",
30223025
"type": "string"
30233026
}
30243027
}
@@ -3184,11 +3187,6 @@
31843187
"description": "SubscriptionQuotaItem Properties",
31853188
"type": "object",
31863189
"properties": {
3187-
"name": {
3188-
"type": "string",
3189-
"readOnly": true,
3190-
"description": "Quota Item name"
3191-
},
31923190
"current": {
31933191
"description": "The current quota value.",
31943192
"readOnly": true,
@@ -4089,12 +4087,10 @@
40894087
"default": false
40904088
},
40914089
"throughputMibps": {
4092-
"title": "Maximum throughput in Mibps that can be achieved by this volume",
4090+
"title": "Maximum throughput in Mibps that can be achieved by this volume and this will be accepted as input only for manual qosType volume",
40934091
"type": "number",
40944092
"default": 0.0,
4095-
"example": 128.22,
4096-
"maximum": 4500,
4097-
"minimum": 0
4093+
"example": 128.22
40984094
},
40994095
"encryptionKeySource": {
41004096
"description": "Encryption Key Source. Possible values are: 'Microsoft.NetApp'",
@@ -4463,11 +4459,9 @@
44634459
}
44644460
},
44654461
"throughputMibps": {
4466-
"title": "Maximum throughput in Mibps that can be achieved by this volume",
4462+
"title": "Maximum throughput in Mibps that can be achieved by this volume and this will be accepted as input only for manual qosType volume",
44674463
"type": "number",
4468-
"example": 128.22,
4469-
"maximum": 4500,
4470-
"minimum": 1
4464+
"example": 128.22
44714465
},
44724466
"dataProtection": {
44734467
"title": "DataProtection",

0 commit comments

Comments
 (0)