Skip to content

Commit

Permalink
[NetAppFiles] Apply s360 fix to operations result (Azure#16270)
Browse files Browse the repository at this point in the history
* 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 <audunn.baldvinsson@netapp.com>
  • Loading branch information
2 people authored and LeiWang3 committed Mar 31, 2022
1 parent ded866d commit 61d889d
Show file tree
Hide file tree
Showing 4 changed files with 39 additions and 16 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"subscriptionId": "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9",
"resourceGroupName": "myRG",
"accountName": "account1",
"api-version": "2020-11-01",
"api-version": "2021-04-01",
"body": {
"tags": {
"Tag1": "Value1"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2836,6 +2836,13 @@
"items": {
"$ref": "#/definitions/MetricSpecification"
}
},
"logSpecifications": {
"description": "Log specification of operation.",
"type": "array",
"items": {
"$ref": "#/definitions/LogSpecification"
}
}
}
},
Expand Down Expand Up @@ -2884,6 +2891,10 @@
"type": "string",
"description": "The internal metric name."
},
"enableRegionalMdmAccount": {
"description": "Whether or not the service is using regional MDM accounts.",
"type": "boolean"
},
"sourceMdmAccount": {
"type": "string",
"description": "The source MDM account."
Expand Down Expand Up @@ -2914,6 +2925,24 @@
"resourceIdDimensionNameOverride": {
"type": "string",
"description": "Account Resource Id."
},
"isInternal": {
"description": "Whether the metric is internal.",
"type": "boolean"
}
}
},
"LogSpecification": {
"description": "Log Definition of a single resource metric.",
"type": "object",
"properties": {
"name": {
"description": "Name of log specification.",
"type": "string"
},
"displayName": {
"description": "Display name of log specification.",
"type": "string"
}
}
},
Expand Down Expand Up @@ -3846,7 +3875,7 @@
},
"volumeType": {
"type": "string",
"description": "What type of volume is this",
"description": "What type of volume is this. For destination volumes in Cross Region Replication, set type to DataProtection",
"example": "DataProtection"
},
"dataProtection": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"subscriptionId": "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9",
"resourceGroupName": "myRG",
"accountName": "account1",
"api-version": "2020-11-01",
"api-version": "2021-06-01",
"body": {
"tags": {
"Tag1": "Value1"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2918,6 +2918,7 @@
}
},
"logSpecifications": {
"description": "Log specification of operation.",
"type": "array",
"items": {
"$ref": "#/definitions/LogSpecification"
Expand Down Expand Up @@ -3016,9 +3017,11 @@
"type": "object",
"properties": {
"name": {
"description": "Name of log specification.",
"type": "string"
},
"displayName": {
"description": "Display name of log specification.",
"type": "string"
}
}
Expand Down Expand Up @@ -3184,11 +3187,6 @@
"description": "SubscriptionQuotaItem Properties",
"type": "object",
"properties": {
"name": {
"type": "string",
"readOnly": true,
"description": "Quota Item name"
},
"current": {
"description": "The current quota value.",
"readOnly": true,
Expand Down Expand Up @@ -4089,12 +4087,10 @@
"default": false
},
"throughputMibps": {
"title": "Maximum throughput in Mibps that can be achieved by this volume",
"title": "Maximum throughput in Mibps that can be achieved by this volume and this will be accepted as input only for manual qosType volume",
"type": "number",
"default": 0.0,
"example": 128.22,
"maximum": 4500,
"minimum": 0
"example": 128.22
},
"encryptionKeySource": {
"description": "Encryption Key Source. Possible values are: 'Microsoft.NetApp'",
Expand Down Expand Up @@ -4463,11 +4459,9 @@
}
},
"throughputMibps": {
"title": "Maximum throughput in Mibps that can be achieved by this volume",
"title": "Maximum throughput in Mibps that can be achieved by this volume and this will be accepted as input only for manual qosType volume",
"type": "number",
"example": 128.22,
"maximum": 4500,
"minimum": 1
"example": 128.22
},
"dataProtection": {
"title": "DataProtection",
Expand Down

0 comments on commit 61d889d

Please sign in to comment.