From 93078f2027fa2c8248adc1660cc650e2eaa29e78 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Au=C3=B0unn?= Date: Fri, 19 Feb 2021 02:38:46 +0000 Subject: [PATCH] ANF-8872 Fix examples for integers (#12367) * ANF-8872 Fix examples for ints * S360 findings * S360 findings remove response code * Fix authenticationid, protocoltypes * Fix authenticationid, protocoltypes other versions * Fix snapshotpolicy * Fix snapshotpolicy update * Fix snapshotpolicy update 3 * Fix protocoltype * Fix protocoltype 07 * Remove name from volume properties, removed from service response Co-authored-by: Audunn Baldvinsson --- .../stable/2019-06-01/netapp.json | 1 + .../stable/2019-07-01/netapp.json | 8 ++++- .../stable/2019-08-01/netapp.json | 6 ++++ .../stable/2019-10-01/netapp.json | 9 +++++- .../stable/2019-11-01/netapp.json | 15 +++++++++- .../stable/2020-02-01/netapp.json | 14 ++++++++- .../stable/2020-03-01/netapp.json | 6 +++- .../stable/2020-05-01/netapp.json | 7 ++++- .../stable/2020-06-01/netapp.json | 29 ++++++++++++------- .../stable/2020-07-01/netapp.json | 28 +++++++++++------- .../stable/2020-08-01/netapp.json | 26 +++++++++++------ .../stable/2020-09-01/netapp.json | 28 +++++++++++------- 12 files changed, 132 insertions(+), 45 deletions(-) diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/netapp.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/netapp.json index 99950385030e..24cd9bf87f95 100644 --- a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/netapp.json +++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-06-01/netapp.json @@ -1914,6 +1914,7 @@ "mountTargets": { "title": "mountTargets", "type": "array", + "readOnly": true, "description": "List of mount targets", "items": { "$ref": "#/definitions/mountTargetProperties" diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-07-01/netapp.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-07-01/netapp.json index 9c7c055db2ff..1c09b931e293 100644 --- a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-07-01/netapp.json +++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-07-01/netapp.json @@ -1605,6 +1605,11 @@ "minLength": 36, "example": "9760acf5-4638-11e7-9bdb-020073ca7778" }, + "name": { + "type": "string", + "readOnly": true, + "description": "Pool Resource name" + }, "size": { "title": "size", "type": "integer", @@ -1873,7 +1878,7 @@ }, "protocolTypes": { "title": "protocolTypes", - "description": "Set of protocol types", + "description": "Set of protocol types, default NFSv3, CIFS fro SMB protocol", "type": "array", "items": { "type": "string" @@ -1913,6 +1918,7 @@ "mountTargets": { "title": "mountTargets", "type": "array", + "readOnly": true, "description": "List of mount targets", "items": { "$ref": "#/definitions/mountTargetProperties" diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/netapp.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/netapp.json index e71fd281e583..22ca06eb8346 100644 --- a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/netapp.json +++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-08-01/netapp.json @@ -1860,6 +1860,12 @@ "default": 107374182400, "example": 107374182400 }, + "usedBytes": { + "type": "integer", + "description": "Resource size in bytes, current storage usage for the volume in bytes", + "readOnly": true, + "format": "int64" + }, "exportPolicy": { "title": "exportPolicy", "description": "Set of export policy rules", diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-10-01/netapp.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-10-01/netapp.json index 12c10344523a..8248ea1f65e0 100644 --- a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-10-01/netapp.json +++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-10-01/netapp.json @@ -2093,6 +2093,12 @@ "default": 107374182400, "example": 107374182400 }, + "usedBytes": { + "type": "integer", + "description": "Resource size in bytes, current storage usage for the volume in bytes", + "readOnly": true, + "format": "int64" + }, "exportPolicy": { "title": "exportPolicy", "description": "Set of export policy rules", @@ -2109,7 +2115,7 @@ }, "protocolTypes": { "title": "protocolTypes", - "description": "Set of protocol types", + "description": "Set of protocol types, default NFSv3, CIFS for SMB protocol", "type": "array", "items": { "type": "string" @@ -2149,6 +2155,7 @@ "mountTargets": { "title": "mountTargets", "type": "array", + "readOnly": true, "description": "List of mount targets", "items": { "$ref": "#/definitions/mountTargetProperties" diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-11-01/netapp.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-11-01/netapp.json index 897c8325ff4b..7b16840968aa 100644 --- a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-11-01/netapp.json +++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-11-01/netapp.json @@ -1758,6 +1758,7 @@ "properties": { "activeDirectoryId": { "type": "string", + "default": "guid id", "description": "Id of the Active Directory" }, "username": { @@ -1868,6 +1869,11 @@ "minLength": 36, "example": "9760acf5-4638-11e7-9bdb-020073ca7778" }, + "name": { + "type": "string", + "readOnly": true, + "description": "Pool Resource name" + }, "size": { "title": "size", "type": "integer", @@ -2124,6 +2130,12 @@ "default": 107374182400, "example": 107374182400 }, + "usedBytes": { + "type": "integer", + "description": "Resource size in bytes, current storage usage for the volume in bytes", + "readOnly": true, + "format": "int64" + }, "exportPolicy": { "title": "exportPolicy", "description": "Set of export policy rules", @@ -2140,7 +2152,7 @@ }, "protocolTypes": { "title": "protocolTypes", - "description": "Set of protocol types", + "description": "Set of protocol types, default NFSv3, CIFS for SMB protocol", "type": "array", "items": { "type": "string" @@ -2180,6 +2192,7 @@ "mountTargets": { "title": "mountTargets", "type": "array", + "readOnly": true, "description": "List of mount targets", "items": { "$ref": "#/definitions/mountTargetProperties" diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2020-02-01/netapp.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2020-02-01/netapp.json index e9b4f84b55a6..36599b0b9c38 100644 --- a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2020-02-01/netapp.json +++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2020-02-01/netapp.json @@ -1765,6 +1765,7 @@ "properties": { "activeDirectoryId": { "type": "string", + "default": "guid id", "description": "Id of the Active Directory" }, "username": { @@ -1793,6 +1794,7 @@ }, "organizationalUnit": { "type": "string", + "default": "CN=Computers", "description": "The Organizational Unit (OU) within the Windows Active Directory" }, "site": { @@ -2144,6 +2146,12 @@ "default": 107374182400, "example": 107374182400 }, + "usedBytes": { + "type": "integer", + "description": "Resource size in bytes, current storage usage for the volume in bytes", + "readOnly": true, + "format": "int64" + }, "exportPolicy": { "title": "exportPolicy", "description": "Set of export policy rules", @@ -2160,7 +2168,7 @@ }, "protocolTypes": { "title": "protocolTypes", - "description": "Set of protocol types", + "description": "Set of protocol types, default NFSv3, CIFS for SMB protocol", "type": "array", "items": { "type": "string" @@ -2177,6 +2185,7 @@ "snapshotId": { "title": "Snapshot ID", "type": "string", + "x-nullable": true, "description": "UUID v4 or resource identifier used to identify the Snapshot.", "pattern": "^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}|(\\\\?([^\\/]*[\\/])*)([^\\/]+)$", "maxLength": 36, @@ -2200,6 +2209,7 @@ "mountTargets": { "title": "mountTargets", "type": "array", + "readOnly": true, "description": "List of mount targets", "items": { "$ref": "#/definitions/mountTargetProperties" @@ -2233,6 +2243,7 @@ }, "snapshotDirectoryVisible": { "type": "boolean", + "default": true, "description": "If enabled (true) the volume will contain a read-only .snapshot directory which provides access to each of the volume's snapshots (default to true)." } } @@ -2255,6 +2266,7 @@ }, "cifs": { "type": "boolean", + "default": false, "description": "Allows CIFS protocol" }, "nfsv3": { diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2020-03-01/netapp.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2020-03-01/netapp.json index d435df397e64..0c4176be0883 100644 --- a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2020-03-01/netapp.json +++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2020-03-01/netapp.json @@ -1765,6 +1765,7 @@ "properties": { "activeDirectoryId": { "type": "string", + "default": "guid id", "description": "Id of the Active Directory" }, "username": { @@ -1793,6 +1794,7 @@ }, "organizationalUnit": { "type": "string", + "default": "CN=Computers", "description": "The Organizational Unit (OU) within the Windows Active Directory" }, "site": { @@ -2160,7 +2162,7 @@ }, "protocolTypes": { "title": "protocolTypes", - "description": "Set of protocol types", + "description": "Set of protocol types, default NFSv3, CIFS for SMB protocol", "type": "array", "items": { "type": "string" @@ -2200,6 +2202,7 @@ "mountTargets": { "title": "mountTargets", "type": "array", + "readOnly": true, "description": "List of mount targets", "items": { "$ref": "#/definitions/mountTargetProperties" @@ -2256,6 +2259,7 @@ }, "cifs": { "type": "boolean", + "default": false, "description": "Allows CIFS protocol" }, "nfsv3": { diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2020-05-01/netapp.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2020-05-01/netapp.json index ecc7c34d9311..80103c34fa0c 100644 --- a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2020-05-01/netapp.json +++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2020-05-01/netapp.json @@ -2868,6 +2868,7 @@ "properties": { "activeDirectoryId": { "type": "string", + "default": "guid id", "description": "Id of the Active Directory" }, "username": { @@ -2899,6 +2900,7 @@ }, "organizationalUnit": { "type": "string", + "default": "CN=Computers", "description": "The Organizational Unit (OU) within the Windows Active Directory" }, "site": { @@ -3279,7 +3281,7 @@ }, "protocolTypes": { "title": "protocolTypes", - "description": "Set of protocol types", + "description": "Set of protocol types, default NFSv3, CIFS for SMB protocol", "type": "array", "items": { "type": "string" @@ -3328,6 +3330,7 @@ "mountTargets": { "title": "mountTargets", "type": "array", + "readOnly": true, "description": "List of mount targets", "items": { "$ref": "#/definitions/mountTargetProperties" @@ -3388,6 +3391,7 @@ }, "unixReadOnly": { "type": "boolean", + "default": false, "description": "Read only access" }, "unixReadWrite": { @@ -3432,6 +3436,7 @@ }, "cifs": { "type": "boolean", + "default": false, "description": "Allows CIFS protocol" }, "nfsv3": { diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2020-06-01/netapp.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2020-06-01/netapp.json index fd4d60509f8c..1c07b360cf7e 100644 --- a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2020-06-01/netapp.json +++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2020-06-01/netapp.json @@ -2868,6 +2868,7 @@ "properties": { "activeDirectoryId": { "type": "string", + "default": "guid id", "description": "Id of the Active Directory" }, "username": { @@ -2938,6 +2939,7 @@ }, "organizationalUnit": { "type": "string", + "default": "CN=Computers", "description": "The Organizational Unit (OU) within the Windows Active Directory" }, "site": { @@ -3357,7 +3359,7 @@ }, "protocolTypes": { "title": "protocolTypes", - "description": "Set of protocol types", + "description": "Set of protocol types, default NFSv3, CIFS for SMB protocol", "type": "array", "items": { "type": "string" @@ -3374,6 +3376,7 @@ "snapshotId": { "title": "Snapshot ID", "type": "string", + "x-nullable": true, "description": "UUID v4 or resource identifier used to identify the Snapshot.", "pattern": "^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}|(\\\\?([^\\/]*[\\/])*)([^\\/]+)$", "maxLength": 36, @@ -3406,6 +3409,7 @@ "mountTargets": { "title": "mountTargets", "type": "array", + "readOnly": true, "description": "List of mount targets", "items": { "$ref": "#/definitions/mountTargetProperties" @@ -3445,6 +3449,7 @@ }, "snapshotDirectoryVisible": { "type": "boolean", + "default": true, "description": "If enabled (true) the volume will contain a read-only .snapshot directory which provides access to each of the volume's snapshots (default to true)." }, "kerberosEnabled": { @@ -3455,7 +3460,8 @@ }, "securityStyle": { "type": "string", - "description": "The security style of volume", + "description": "The security style of volume, default unix, defaults to ntfs for dual protocol or CIFS protocol", + "default": "unix", "enum": [ "ntfs", "unix" @@ -3468,9 +3474,10 @@ "throughputMibps": { "title": "Maximum throughput in Mibps that can be achieved by this volume", "type": "number", + "default": 0.0, "example": "128.22", "maximum": 4500, - "minimum": 1, + "minimum": 0, "multipleOf": 0.001 } } @@ -3486,6 +3493,7 @@ }, "unixReadOnly": { "type": "boolean", + "default": false, "description": "Read only access" }, "unixReadWrite": { @@ -3530,6 +3538,7 @@ }, "cifs": { "type": "boolean", + "default": false, "description": "Allows CIFS protocol" }, "nfsv3": { @@ -4154,7 +4163,7 @@ "minute": { "type": "integer", "description": "Indicates which minute snapshot should be taken", - "example": "30", + "example": 30, "format": "int32" }, "usedBytes": { @@ -4176,13 +4185,13 @@ "hour": { "type": "integer", "description": "Indicates which hour in UTC timezone a snapshot should be taken", - "example": "11", + "example": 11, "format": "int32" }, "minute": { "type": "integer", "description": "Indicates which minute snapshot should be taken", - "example": "30", + "example": 30, "format": "int32" }, "usedBytes": { @@ -4209,13 +4218,13 @@ "hour": { "type": "integer", "description": "Indicates which hour in UTC timezone a snapshot should be taken", - "example": "11", + "example": 11, "format": "int32" }, "minute": { "type": "integer", "description": "Indicates which minute snapshot should be taken", - "example": "30", + "example": 30, "format": "int32" }, "usedBytes": { @@ -4242,13 +4251,13 @@ "hour": { "type": "integer", "description": "Indicates which hour in UTC timezone a snapshot should be taken", - "example": "11", + "example": 11, "format": "int32" }, "minute": { "type": "integer", "description": "Indicates which minute snapshot should be taken", - "example": "30", + "example": 30, "format": "int32" }, "usedBytes": { diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2020-07-01/netapp.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2020-07-01/netapp.json index 9ce6d6c907a9..0fade55bbdb1 100644 --- a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2020-07-01/netapp.json +++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2020-07-01/netapp.json @@ -2868,6 +2868,7 @@ "properties": { "activeDirectoryId": { "type": "string", + "default": "guid id", "description": "Id of the Active Directory" }, "username": { @@ -2937,6 +2938,7 @@ }, "organizationalUnit": { "type": "string", + "default": "CN=Computers", "description": "The Organizational Unit (OU) within the Windows Active Directory" }, "site": { @@ -3364,7 +3366,7 @@ }, "protocolTypes": { "title": "protocolTypes", - "description": "Set of protocol types", + "description": "Set of protocol types, default NFSv3, CIFS for SMB protocol", "type": "array", "items": { "type": "string" @@ -3381,6 +3383,7 @@ "snapshotId": { "title": "Snapshot ID", "type": "string", + "x-nullable": true, "description": "UUID v4 or resource identifier used to identify the Snapshot.", "pattern": "^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}|(\\\\?([^\\/]*[\\/])*)([^\\/]+)$", "maxLength": 36, @@ -3410,6 +3413,7 @@ "mountTargets": { "title": "mountTargets", "type": "array", + "readOnly": true, "description": "List of mount targets", "items": { "$ref": "#/definitions/mountTargetProperties" @@ -3449,6 +3453,7 @@ }, "snapshotDirectoryVisible": { "type": "boolean", + "default": true, "description": "If enabled (true) the volume will contain a read-only .snapshot directory which provides access to each of the volume's snapshots (default to true)." }, "kerberosEnabled": { @@ -3459,7 +3464,8 @@ }, "securityStyle": { "type": "string", - "description": "The security style of volume", + "description": "The security style of volume, default unix, ntfs for dual protocol or CIFS protocol", + "default": "unix", "enum": [ "ntfs", "unix" @@ -3472,9 +3478,10 @@ "throughputMibps": { "title": "Maximum throughput in Mibps that can be achieved by this volume", "type": "number", + "default": 0.0, "example": 128.22, "maximum": 4500, - "minimum": 1, + "minimum": 0, "multipleOf": 0.001 } } @@ -3534,6 +3541,7 @@ }, "cifs": { "type": "boolean", + "default": false, "description": "Allows CIFS protocol" }, "nfsv3": { @@ -4158,7 +4166,7 @@ "minute": { "type": "integer", "description": "Indicates which minute snapshot should be taken", - "example": "30", + "example": 30, "format": "int32" }, "usedBytes": { @@ -4180,13 +4188,13 @@ "hour": { "type": "integer", "description": "Indicates which hour in UTC timezone a snapshot should be taken", - "example": "11", + "example": 11, "format": "int32" }, "minute": { "type": "integer", "description": "Indicates which minute snapshot should be taken", - "example": "30", + "example": 30, "format": "int32" }, "usedBytes": { @@ -4213,13 +4221,13 @@ "hour": { "type": "integer", "description": "Indicates which hour in UTC timezone a snapshot should be taken", - "example": "11", + "example": 11, "format": "int32" }, "minute": { "type": "integer", "description": "Indicates which minute snapshot should be taken", - "example": "30", + "example": 30, "format": "int32" }, "usedBytes": { @@ -4246,13 +4254,13 @@ "hour": { "type": "integer", "description": "Indicates which hour in UTC timezone a snapshot should be taken", - "example": "11", + "example": 11, "format": "int32" }, "minute": { "type": "integer", "description": "Indicates which minute snapshot should be taken", - "example": "30", + "example": 30, "format": "int32" }, "usedBytes": { diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2020-08-01/netapp.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2020-08-01/netapp.json index cfd9a99d83f4..84752ef6ab57 100644 --- a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2020-08-01/netapp.json +++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2020-08-01/netapp.json @@ -2868,6 +2868,7 @@ "properties": { "activeDirectoryId": { "type": "string", + "default": "guid id", "description": "Id of the Active Directory" }, "username": { @@ -2937,6 +2938,7 @@ }, "organizationalUnit": { "type": "string", + "default": "CN=Computers", "description": "The Organizational Unit (OU) within the Windows Active Directory" }, "site": { @@ -3364,7 +3366,7 @@ }, "protocolTypes": { "title": "protocolTypes", - "description": "Set of protocol types", + "description": "Set of protocol types, default NFSv3, CIFS for SMB protocol", "type": "array", "items": { "type": "string" @@ -3381,6 +3383,7 @@ "snapshotId": { "title": "Snapshot ID", "type": "string", + "x-nullable": true, "description": "UUID v4 or resource identifier used to identify the Snapshot.", "pattern": "^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}|(\\\\?([^\\/]*[\\/])*)([^\\/]+)$", "maxLength": 36, @@ -3410,6 +3413,7 @@ "mountTargets": { "title": "mountTargets", "type": "array", + "readOnly": true, "description": "List of mount targets", "items": { "$ref": "#/definitions/mountTargetProperties" @@ -3449,6 +3453,7 @@ }, "snapshotDirectoryVisible": { "type": "boolean", + "default": true, "description": "If enabled (true) the volume will contain a read-only .snapshot directory which provides access to each of the volume's snapshots (default to true)." }, "kerberosEnabled": { @@ -3459,7 +3464,8 @@ }, "securityStyle": { "type": "string", - "description": "The security style of volume", + "description": "The security style of volume, default unix, ntfs for dual protocol or CIFS protocol", + "default": "unix", "enum": [ "ntfs", "unix" @@ -3472,9 +3478,10 @@ "throughputMibps": { "title": "Maximum throughput in Mibps that can be achieved by this volume", "type": "number", + "default": 0.0, "example": 128.22, "maximum": 4500, - "minimum": 1, + "minimum": 0, "multipleOf": 0.001 } } @@ -3534,6 +3541,7 @@ }, "cifs": { "type": "boolean", + "default": false, "description": "Allows CIFS protocol" }, "nfsv3": { @@ -4158,7 +4166,7 @@ "minute": { "type": "integer", "description": "Indicates which minute snapshot should be taken", - "example": "30", + "example": 30, "format": "int32" }, "usedBytes": { @@ -4180,7 +4188,7 @@ "hour": { "type": "integer", "description": "Indicates which hour in UTC timezone a snapshot should be taken", - "example": "11", + "example": 11, "format": "int32" }, "minute": { @@ -4213,13 +4221,13 @@ "hour": { "type": "integer", "description": "Indicates which hour in UTC timezone a snapshot should be taken", - "example": "11", + "example": 11, "format": "int32" }, "minute": { "type": "integer", "description": "Indicates which minute snapshot should be taken", - "example": "30", + "example": 30, "format": "int32" }, "usedBytes": { @@ -4246,13 +4254,13 @@ "hour": { "type": "integer", "description": "Indicates which hour in UTC timezone a snapshot should be taken", - "example": "11", + "example": 11, "format": "int32" }, "minute": { "type": "integer", "description": "Indicates which minute snapshot should be taken", - "example": "30", + "example": 30, "format": "int32" }, "usedBytes": { diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2020-09-01/netapp.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2020-09-01/netapp.json index 2474ba5b7482..6dd3f94fe0d0 100644 --- a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2020-09-01/netapp.json +++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2020-09-01/netapp.json @@ -2868,6 +2868,7 @@ "properties": { "activeDirectoryId": { "type": "string", + "default": "guid id", "description": "Id of the Active Directory" }, "username": { @@ -2937,6 +2938,7 @@ }, "organizationalUnit": { "type": "string", + "default": "CN=Computers", "description": "The Organizational Unit (OU) within the Windows Active Directory" }, "site": { @@ -3381,7 +3383,7 @@ }, "protocolTypes": { "title": "protocolTypes", - "description": "Set of protocol types", + "description": "Set of protocol types, default NFSv3, CIFS for SMB protocol", "type": "array", "items": { "type": "string" @@ -3398,6 +3400,7 @@ "snapshotId": { "title": "Snapshot ID", "type": "string", + "x-nullable": true, "description": "UUID v4 or resource identifier used to identify the Snapshot.", "pattern": "^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}|(\\\\?([^\\/]*[\\/])*)([^\\/]+)$", "maxLength": 36, @@ -3427,6 +3430,7 @@ "mountTargets": { "title": "mountTargets", "type": "array", + "readOnly": true, "description": "List of mount targets", "items": { "$ref": "#/definitions/mountTargetProperties" @@ -3466,6 +3470,7 @@ }, "snapshotDirectoryVisible": { "type": "boolean", + "default": true, "description": "If enabled (true) the volume will contain a read-only .snapshot directory which provides access to each of the volume's snapshots (default to true)." }, "kerberosEnabled": { @@ -3476,7 +3481,8 @@ }, "securityStyle": { "type": "string", - "description": "The security style of volume", + "description": "The security style of volume, default unix, ntfs for dual protocol or CIFS protocol", + "default": "unix", "enum": [ "ntfs", "unix" @@ -3501,9 +3507,10 @@ "throughputMibps": { "title": "Maximum throughput in Mibps that can be achieved by this volume", "type": "number", + "default": 0.0, "example": 128.22, "maximum": 4500, - "minimum": 1, + "minimum": 0, "multipleOf": 0.001 } } @@ -3563,6 +3570,7 @@ }, "cifs": { "type": "boolean", + "default": false, "description": "Allows CIFS protocol" }, "nfsv3": { @@ -4187,7 +4195,7 @@ "minute": { "type": "integer", "description": "Indicates which minute snapshot should be taken", - "example": "30", + "example": 30, "format": "int32" }, "usedBytes": { @@ -4209,13 +4217,13 @@ "hour": { "type": "integer", "description": "Indicates which hour in UTC timezone a snapshot should be taken", - "example": "11", + "example": 11, "format": "int32" }, "minute": { "type": "integer", "description": "Indicates which minute snapshot should be taken", - "example": "30", + "example": 30, "format": "int32" }, "usedBytes": { @@ -4242,13 +4250,13 @@ "hour": { "type": "integer", "description": "Indicates which hour in UTC timezone a snapshot should be taken", - "example": "11", + "example": 11, "format": "int32" }, "minute": { "type": "integer", "description": "Indicates which minute snapshot should be taken", - "example": "30", + "example": 30, "format": "int32" }, "usedBytes": { @@ -4275,13 +4283,13 @@ "hour": { "type": "integer", "description": "Indicates which hour in UTC timezone a snapshot should be taken", - "example": "11", + "example": 11, "format": "int32" }, "minute": { "type": "integer", "description": "Indicates which minute snapshot should be taken", - "example": "30", + "example": 30, "format": "int32" }, "usedBytes": {