From 21de7ba48312dc1cbd8842d8b1e4eadbcedda43c Mon Sep 17 00:00:00 2001 From: Audunn Baldvinsson Date: Thu, 15 Jul 2021 12:04:46 +0000 Subject: [PATCH 1/5] Apply s360 fixes --- .../stable/2021-04-01/netapp.json | 180 +++++++++++++++++- 1 file changed, 178 insertions(+), 2 deletions(-) diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2021-04-01/netapp.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2021-04-01/netapp.json index 954d9c687667..3ed91e308dd0 100644 --- a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2021-04-01/netapp.json +++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2021-04-01/netapp.json @@ -207,6 +207,43 @@ } } }, + "/subscriptions/{subscriptionId}/providers/Microsoft.NetApp/netAppAccounts": { + "get": { + "summary": "Describe all NetApp Accounts in a subscription", + "description": "List and describe all NetApp accounts in the subscription.", + "tags": [ + "NetApp Accounts" + ], + "operationId": "Accounts_ListBySubscription", + "parameters": [ + { + "$ref": "#/parameters/SubscriptionId" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + } + ], + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/netAppAccountList" + } + }, + "default": { + "description": "Error response describing why the operation failed." + } + }, + "x-ms-examples": { + "Accounts_List": { + "$ref": "examples/Accounts_List.json" + } + } + } + }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts": { "get": { "summary": "Describe all NetApp Accounts in a resource group", @@ -214,7 +251,7 @@ "tags": [ "NetApp Accounts" ], - "operationId": "Accounts_List", + "operationId": "Accounts_ListByResourceGroup", "parameters": [ { "$ref": "#/parameters/SubscriptionId" @@ -1915,6 +1952,49 @@ } } }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/snapshotPolicies/{snapshotPolicyName}/listVolumes": { + "get": { + "tags": [ + "Snapshot Policy List Volumes" + ], + "summary": "Get volumes for snapshot policy", + "description": "Get volumes associated with snapshot policy, older version fro backwards compatability", + "operationId": "SnapshotPolicies_ListVolumesOldVersion", + "parameters": [ + { + "$ref": "#/parameters/SubscriptionId" + }, + { + "$ref": "#/parameters/ResourceGroup" + }, + { + "$ref": "#/parameters/AccountName" + }, + { + "$ref": "#/parameters/SnapshotPolicyName" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/snapshotPolicyVolumeList" + } + }, + "default": { + "description": "Error response describing why the operation failed." + } + }, + "x-ms-examples": { + "SnapshotPolicies_ListVolumes": { + "$ref": "examples/SnapshotPolicies_ListVolumes.json" + } + } + } + }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/backupStatus": { "get": { "tags": [ @@ -2821,6 +2901,40 @@ "type": "string", "description": "Unit could be Bytes or Count." }, + "supportedAggregationTypes": { + "description": "Support metric aggregation type.", + "uniqueItems": false, + "type": "array", + "items": { + "enum": [ + "Average" + ], + "type": "string", + "x-ms-enum": { + "name": "MetricAggregationType", + "modelAsString": true + } + } + }, + "supportedTimeGrainTypes": { + "type": "array", + "description": "The supported time grain types for the metrics.", + "items": { + "type": "string" + } + }, + "internalMetricName": { + "type": "string", + "description": "The internal metric name." + }, + "sourceMdmAccount": { + "type": "string", + "description": "The source MDM account." + }, + "sourceMdmNamespace": { + "type": "string", + "description": "The source MDM namespace." + }, "dimensions": { "description": "Dimensions of blobs, including blob type and access tier.", "type": "array", @@ -3012,6 +3126,11 @@ "readOnly": true, "description": "Resource name" }, + "etag": { + "readOnly": true, + "type": "string", + "description": "A unique read-only string that changes whenever the resource is updated." + }, "type": { "type": "string", "readOnly": true, @@ -3306,6 +3425,11 @@ "readOnly": true, "description": "Resource name" }, + "etag": { + "readOnly": true, + "type": "string", + "description": "A unique read-only string that changes whenever the resource is updated." + }, "type": { "type": "string", "readOnly": true, @@ -3425,6 +3549,36 @@ "default": false, "example": false, "description": "If enabled (true) the pool can contain cool Access enabled volumes." + }, + "encryptionType": { + "title": "encryptionType", + "type": "string", + "x-nullable": true, + "description": "Encryption type of the capacity pool, set encryption type for data at rest for this pool and all volumes in it. This value can only be set when creating new pool.", + "x-ms-mutability": [ + "read", + "create" + ], + "enum": [ + "Single", + "Double" + ], + "x-ms-enum": { + "name": "encryptionType", + "modelAsString": true, + "values": [ + { + "value": "Single", + "description": "EncryptionType Single, volumes will use single encryption at rest" + }, + { + "value": "Double", + "description": "EncryptionType Double, volumes will use double encryption at rest" + } + ] + }, + "example": "Single", + "default": "Single" } } }, @@ -3547,6 +3701,11 @@ "readOnly": true, "description": "Resource name" }, + "etag": { + "readOnly": true, + "type": "string", + "description": "A unique read-only string that changes whenever the resource is updated." + }, "type": { "type": "string", "readOnly": true, @@ -3701,6 +3860,7 @@ "backupId": { "title": "Backup ID", "type": "string", + "x-nullable": true, "description": "UUID v4 or resource identifier used to identify the Backup.", "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, @@ -3833,7 +3993,8 @@ "minLength": 4, "maxLength": 4, "x-nullable": true, - "example": "0770" + "example": "0770", + "default": "0770" } } }, @@ -4400,6 +4561,11 @@ "readOnly": true, "description": "Resource name" }, + "etag": { + "readOnly": true, + "type": "string", + "description": "A unique read-only string that changes whenever the resource is updated." + }, "type": { "type": "string", "readOnly": true, @@ -4832,6 +4998,11 @@ "readOnly": true, "description": "Name of backup policy" }, + "backupPolicyId": { + "type": "string", + "readOnly": true, + "description": "Backup Policy Resource ID" + }, "provisioningState": { "type": "string", "readOnly": true, @@ -4902,6 +5073,11 @@ "readOnly": true, "description": "Resource name" }, + "etag": { + "readOnly": true, + "type": "string", + "description": "A unique read-only string that changes whenever the resource is updated." + }, "type": { "type": "string", "readOnly": true, From 908a80fdcce3e712ff7345477d967840181866e1 Mon Sep 17 00:00:00 2001 From: Audunn Baldvinsson Date: Thu, 15 Jul 2021 12:21:20 +0000 Subject: [PATCH 2/5] Fix typo --- .../Microsoft.NetApp/stable/2021-04-01/netapp.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2021-04-01/netapp.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2021-04-01/netapp.json index 3ed91e308dd0..c84ee2613007 100644 --- a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2021-04-01/netapp.json +++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2021-04-01/netapp.json @@ -1958,7 +1958,7 @@ "Snapshot Policy List Volumes" ], "summary": "Get volumes for snapshot policy", - "description": "Get volumes associated with snapshot policy, older version fro backwards compatability", + "description": "Get volumes associated with snapshot policy, older version for backwards compatibility", "operationId": "SnapshotPolicies_ListVolumesOldVersion", "parameters": [ { From 42df67297c4451fc8a672120e9e80a1e48043d79 Mon Sep 17 00:00:00 2001 From: Audunn Baldvinsson Date: Thu, 15 Jul 2021 17:57:06 +0000 Subject: [PATCH 3/5] Rename op, add example --- .../examples/Accounts_ListBySubscription.json | 23 +++++++++++++++++++ .../stable/2021-04-01/netapp.json | 4 ++-- 2 files changed, 25 insertions(+), 2 deletions(-) create mode 100644 specification/netapp/resource-manager/Microsoft.NetApp/stable/2021-04-01/examples/Accounts_ListBySubscription.json diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2021-04-01/examples/Accounts_ListBySubscription.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2021-04-01/examples/Accounts_ListBySubscription.json new file mode 100644 index 000000000000..657b3d78fa6a --- /dev/null +++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2021-04-01/examples/Accounts_ListBySubscription.json @@ -0,0 +1,23 @@ +{ + "parameters": { + "subscriptionId": "D633CC2E-722B-4AE1-B636-BBD9E4C60ED9", + "api-version": "2021-04-01" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/D633CC2E-722B-4AE1-B636-BBD9E4C60ED9/resourceGroups/myRG/providers/Microsoft.NetApp/netAppAccounts/account1", + "name": "account1", + "type": "Microsoft.NetApp/netAppAccounts", + "location": "eastus", + "properties": { + "provisioningState": "Succeeded" + } + } + ] + } + } + } +} diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2021-04-01/netapp.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2021-04-01/netapp.json index c84ee2613007..eed317dd9c1f 100644 --- a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2021-04-01/netapp.json +++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2021-04-01/netapp.json @@ -239,7 +239,7 @@ }, "x-ms-examples": { "Accounts_List": { - "$ref": "examples/Accounts_List.json" + "$ref": "examples/Accounts_ListBySubscription.json" } } } @@ -251,7 +251,7 @@ "tags": [ "NetApp Accounts" ], - "operationId": "Accounts_ListByResourceGroup", + "operationId": "Accounts_List", "parameters": [ { "$ref": "#/parameters/SubscriptionId" From 03b2c0514ced88c8992391c960838fcb8178c5f0 Mon Sep 17 00:00:00 2001 From: Audunn Baldvinsson Date: Wed, 11 Aug 2021 14:08:10 +0000 Subject: [PATCH 4/5] Remove snapshotpolicy listVolumes false positive, fix description for snapshotNamne property all versions --- .../stable/2019-05-01/netapp.json | 2 +- .../stable/2019-06-01/netapp.json | 2 +- .../stable/2019-07-01/netapp.json | 2 +- .../stable/2019-08-01/netapp.json | 2 +- .../stable/2019-10-01/netapp.json | 2 +- .../stable/2019-11-01/netapp.json | 2 +- .../stable/2020-02-01/netapp.json | 2 +- .../stable/2020-03-01/netapp.json | 2 +- .../stable/2020-05-01/netapp.json | 4 +- .../stable/2020-06-01/netapp.json | 4 +- .../stable/2020-07-01/netapp.json | 4 +- .../stable/2020-08-01/netapp.json | 4 +- .../stable/2020-09-01/netapp.json | 4 +- .../stable/2020-11-01/netapp.json | 4 +- .../stable/2020-12-01/netapp.json | 4 +- .../stable/2021-02-01/netapp.json | 4 +- .../stable/2021-04-01/netapp.json | 47 +------------------ 17 files changed, 26 insertions(+), 69 deletions(-) diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-05-01/netapp.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-05-01/netapp.json index 954aab4737a0..159fba6316ad 100644 --- a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-05-01/netapp.json +++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2019-05-01/netapp.json @@ -2124,7 +2124,7 @@ "type": "string", "in": "path", "required": true, - "description": "The name of the mount target", + "description": "The name of the snapshot", "x-ms-parameter-location": "method" }, "ApiVersionParameter": { 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 24cd9bf87f95..f68f72e7b180 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 @@ -2345,7 +2345,7 @@ "type": "string", "in": "path", "required": true, - "description": "The name of the mount target", + "description": "The name of the snapshot", "x-ms-parameter-location": "method" }, "ApiVersionParameter": { 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 2b1360504279..87fa855856ca 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 @@ -2344,7 +2344,7 @@ "type": "string", "in": "path", "required": true, - "description": "The name of the mount target", + "description": "The name of the snapshot", "x-ms-parameter-location": "method" }, "ApiVersionParameter": { 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 22ca06eb8346..e09924dbf979 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 @@ -2407,7 +2407,7 @@ "type": "string", "in": "path", "required": true, - "description": "The name of the mount target", + "description": "The name of the snapshot", "x-ms-parameter-location": "method" }, "ApiVersionParameter": { 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 8248ea1f65e0..725fa8e01686 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 @@ -2712,7 +2712,7 @@ "type": "string", "in": "path", "required": true, - "description": "The name of the mount target", + "description": "The name of the snapshot", "x-ms-parameter-location": "method" }, "ApiVersionParameter": { 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 4f7bd94ba047..33e1cdb81fe3 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 @@ -2731,7 +2731,7 @@ "type": "string", "in": "path", "required": true, - "description": "The name of the mount target", + "description": "The name of the snapshot", "x-ms-parameter-location": "method" }, "ApiVersionParameter": { 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 36599b0b9c38..a3ce7ecdfa35 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 @@ -2765,7 +2765,7 @@ "type": "string", "in": "path", "required": true, - "description": "The name of the mount target", + "description": "The name of the snapshot", "x-ms-parameter-location": "method" }, "ApiVersionParameter": { 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 0c4176be0883..489e35876686 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 @@ -2760,7 +2760,7 @@ "type": "string", "in": "path", "required": true, - "description": "The name of the mount target", + "description": "The name of the snapshot", "x-ms-parameter-location": "method" }, "ApiVersionParameter": { 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 e542f56f4982..7892018bfa25 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 @@ -4642,7 +4642,7 @@ "type": "string", "in": "path", "required": true, - "description": "The name of the mount target", + "description": "The name of the snapshot", "x-ms-parameter-location": "method" }, "SnapshotPolicyName": { @@ -4650,7 +4650,7 @@ "type": "string", "in": "path", "required": true, - "description": "The name of the snapshot policy target", + "description": "The name of the snapshot policy", "x-ms-parameter-location": "method" }, "BackupName": { 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 3af474a24e93..7f4a0eb23ba6 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 @@ -4762,7 +4762,7 @@ "type": "string", "in": "path", "required": true, - "description": "The name of the mount target", + "description": "The name of the snapshot", "x-ms-parameter-location": "method" }, "SnapshotPolicyName": { @@ -4770,7 +4770,7 @@ "type": "string", "in": "path", "required": true, - "description": "The name of the snapshot policy target", + "description": "The name of the snapshot policy", "x-ms-parameter-location": "method" }, "BackupName": { 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 49546603cf33..821b05a86756 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 @@ -4785,7 +4785,7 @@ "type": "string", "in": "path", "required": true, - "description": "The name of the mount target", + "description": "The name of the snapshot", "x-ms-parameter-location": "method" }, "SnapshotPolicyName": { @@ -4793,7 +4793,7 @@ "type": "string", "in": "path", "required": true, - "description": "The name of the snapshot policy target", + "description": "The name of the snapshot policy", "x-ms-parameter-location": "method" }, "BackupName": { 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 dc9c71e00cd7..2a52006c5cef 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 @@ -4785,7 +4785,7 @@ "type": "string", "in": "path", "required": true, - "description": "The name of the mount target", + "description": "The name of the snapshot", "x-ms-parameter-location": "method" }, "SnapshotPolicyName": { @@ -4793,7 +4793,7 @@ "type": "string", "in": "path", "required": true, - "description": "The name of the snapshot policy target", + "description": "The name of the snapshot policy", "x-ms-parameter-location": "method" }, "BackupName": { 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 967a7b8bbd8a..6c618e35d1aa 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 @@ -4814,7 +4814,7 @@ "type": "string", "in": "path", "required": true, - "description": "The name of the mount target", + "description": "The name of the snapshot", "x-ms-parameter-location": "method" }, "SnapshotPolicyName": { @@ -4822,7 +4822,7 @@ "type": "string", "in": "path", "required": true, - "description": "The name of the snapshot policy target", + "description": "The name of the snapshot policy", "x-ms-parameter-location": "method" }, "BackupName": { diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2020-11-01/netapp.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2020-11-01/netapp.json index 33f59e3ccf08..0098c8fd18c7 100644 --- a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2020-11-01/netapp.json +++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2020-11-01/netapp.json @@ -4924,7 +4924,7 @@ "type": "string", "in": "path", "required": true, - "description": "The name of the mount target", + "description": "The name of the snapshot", "x-ms-parameter-location": "method" }, "SnapshotPolicyName": { @@ -4932,7 +4932,7 @@ "type": "string", "in": "path", "required": true, - "description": "The name of the snapshot policy target", + "description": "The name of the snapshot policy", "x-ms-parameter-location": "method" }, "BackupName": { diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2020-12-01/netapp.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2020-12-01/netapp.json index baf52c086942..99b4184c00d5 100644 --- a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2020-12-01/netapp.json +++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2020-12-01/netapp.json @@ -5098,7 +5098,7 @@ "type": "string", "in": "path", "required": true, - "description": "The name of the mount target", + "description": "The name of the snapshot", "x-ms-parameter-location": "method" }, "SnapshotPolicyName": { @@ -5106,7 +5106,7 @@ "type": "string", "in": "path", "required": true, - "description": "The name of the snapshot policy target", + "description": "The name of the snapshot policy", "x-ms-parameter-location": "method" }, "BackupName": { diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2021-02-01/netapp.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2021-02-01/netapp.json index a35f4a7675f7..448909d9dff9 100644 --- a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2021-02-01/netapp.json +++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2021-02-01/netapp.json @@ -5117,7 +5117,7 @@ "type": "string", "in": "path", "required": true, - "description": "The name of the mount target", + "description": "The name of the snapshot", "x-ms-parameter-location": "method" }, "SnapshotPolicyName": { @@ -5125,7 +5125,7 @@ "type": "string", "in": "path", "required": true, - "description": "The name of the snapshot policy target", + "description": "The name of the snapshot policy", "x-ms-parameter-location": "method" }, "BackupName": { diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2021-04-01/netapp.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2021-04-01/netapp.json index eed317dd9c1f..2b4174679651 100644 --- a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2021-04-01/netapp.json +++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2021-04-01/netapp.json @@ -1952,49 +1952,6 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/snapshotPolicies/{snapshotPolicyName}/listVolumes": { - "get": { - "tags": [ - "Snapshot Policy List Volumes" - ], - "summary": "Get volumes for snapshot policy", - "description": "Get volumes associated with snapshot policy, older version for backwards compatibility", - "operationId": "SnapshotPolicies_ListVolumesOldVersion", - "parameters": [ - { - "$ref": "#/parameters/SubscriptionId" - }, - { - "$ref": "#/parameters/ResourceGroup" - }, - { - "$ref": "#/parameters/AccountName" - }, - { - "$ref": "#/parameters/SnapshotPolicyName" - }, - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/snapshotPolicyVolumeList" - } - }, - "default": { - "description": "Error response describing why the operation failed." - } - }, - "x-ms-examples": { - "SnapshotPolicies_ListVolumes": { - "$ref": "examples/SnapshotPolicies_ListVolumes.json" - } - } - } - }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/backupStatus": { "get": { "tags": [ @@ -5482,7 +5439,7 @@ "type": "string", "in": "path", "required": true, - "description": "The name of the mount target", + "description": "The name of the snapshot", "x-ms-parameter-location": "method" }, "SnapshotPolicyName": { @@ -5490,7 +5447,7 @@ "type": "string", "in": "path", "required": true, - "description": "The name of the snapshot policy target", + "description": "The name of the snapshot policy", "x-ms-parameter-location": "method" }, "BackupName": { From ada7ffb4f99e94fdd78ea148776bafb236eb702b Mon Sep 17 00:00:00 2001 From: Audunn Baldvinsson Date: Thu, 26 Aug 2021 14:30:27 +0000 Subject: [PATCH 5/5] ReplicationSceheduled is no longer required in ReplicationObject --- .../Microsoft.NetApp/stable/2021-04-01/netapp.json | 1 - .../Microsoft.NetApp/stable/2021-06-01/netapp.json | 1 - 2 files changed, 2 deletions(-) diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2021-04-01/netapp.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2021-04-01/netapp.json index 0d6e49b2beaf..e8ba245bb3c3 100644 --- a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2021-04-01/netapp.json +++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2021-04-01/netapp.json @@ -4071,7 +4071,6 @@ "description": "Replication properties", "type": "object", "required": [ - "replicationSchedule", "remoteVolumeResourceId" ], "properties": { diff --git a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2021-06-01/netapp.json b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2021-06-01/netapp.json index 46deef3be293..af16acd6f543 100644 --- a/specification/netapp/resource-manager/Microsoft.NetApp/stable/2021-06-01/netapp.json +++ b/specification/netapp/resource-manager/Microsoft.NetApp/stable/2021-06-01/netapp.json @@ -4072,7 +4072,6 @@ "description": "Replication properties", "type": "object", "required": [ - "replicationSchedule", "remoteVolumeResourceId" ], "properties": {