From 465e952d3bb5b930281c19ebb8504325f16f2fa7 Mon Sep 17 00:00:00 2001
From: iscai-msft <43154838+iscai-msft@users.noreply.github.com>
Date: Mon, 24 Jun 2019 12:17:44 -0700
Subject: [PATCH] generated v2018_03_01 of redis (#4073)
---
redis/resource-manager/v2017_10_01/pom.xml | 133 --
.../CheckNameAvailabilityParameters.java | 70 -
.../redis/v2017_10_01/DayOfWeek.java | 74 -
.../v2017_10_01/ExportRDBParameters.java | 95 -
.../redis/v2017_10_01/FirewallRules.java | 53 -
.../v2017_10_01/ImportRDBParameters.java | 70 -
.../redis/v2017_10_01/LinkedServers.java | 53 -
.../v2017_10_01/NotificationListResponse.java | 31 -
.../redis/v2017_10_01/Operation.java | 30 -
.../redis/v2017_10_01/OperationDisplay.java | 121 --
.../redis/v2017_10_01/Operations.java | 27 -
.../redis/v2017_10_01/PatchSchedules.java | 51 -
.../redis/v2017_10_01/RebootType.java | 44 -
.../management/redis/v2017_10_01/Redis.java | 100 -
.../redis/v2017_10_01/RedisAccessKeys.java | 30 -
.../v2017_10_01/RedisCreateParameters.java | 287 ---
.../redis/v2017_10_01/RedisFirewallRule.java | 115 -
.../RedisFirewallRuleCreateParameters.java | 71 -
.../v2017_10_01/RedisForceRebootResponse.java | 25 -
.../redis/v2017_10_01/RedisKeyType.java | 53 -
.../redis/v2017_10_01/RedisLinkedServer.java | 32 -
.../RedisLinkedServerCreateParameters.java | 98 -
.../RedisLinkedServerWithProperties.java | 135 --
.../redis/v2017_10_01/RedisPatchSchedule.java | 111 -
.../v2017_10_01/RedisRebootParameters.java | 71 -
.../RedisRegenerateKeyParameters.java | 44 -
.../redis/v2017_10_01/RedisResource.java | 275 ---
.../v2017_10_01/RedisUpdateParameters.java | 178 --
.../redis/v2017_10_01/ReplicationRole.java | 53 -
.../redis/v2017_10_01/ScheduleEntry.java | 98 -
.../management/redis/v2017_10_01/Sku.java | 99 -
.../redis/v2017_10_01/SkuFamily.java | 41 -
.../management/redis/v2017_10_01/SkuName.java | 44 -
.../v2017_10_01/UpgradeNotification.java | 64 -
.../implementation/FirewallRulesImpl.java | 100 -
.../implementation/FirewallRulesInner.java | 609 ------
.../implementation/IdParsingUtils.java | 57 -
.../implementation/LinkedServersImpl.java | 100 -
.../implementation/LinkedServersInner.java | 696 ------
.../NotificationListResponseImpl.java | 38 -
.../NotificationListResponseInner.java | 60 -
.../implementation/OperationImpl.java | 37 -
.../implementation/OperationInner.java | 70 -
.../implementation/OperationsImpl.java | 68 -
.../implementation/OperationsInner.java | 283 ---
.../v2017_10_01/implementation/PageImpl.java | 75 -
.../implementation/PatchSchedulesImpl.java | 100 -
.../implementation/PatchSchedulesInner.java | 594 ------
.../implementation/RedisAccessKeysImpl.java | 36 -
.../implementation/RedisAccessKeysInner.java | 49 -
.../implementation/RedisFirewallRuleImpl.java | 138 --
.../RedisFirewallRuleInner.java | 73 -
.../RedisForceRebootResponseImpl.java | 31 -
.../RedisForceRebootResponseInner.java | 32 -
.../v2017_10_01/implementation/RedisImpl.java | 250 ---
.../implementation/RedisInner.java | 1891 -----------------
.../RedisLinkedServerWithPropertiesImpl.java | 155 --
.../RedisLinkedServerWithPropertiesInner.java | 115 -
.../RedisManagementClientImpl.java | 252 ---
.../implementation/RedisManager.java | 147 --
.../RedisPatchScheduleImpl.java | 111 -
.../RedisPatchScheduleInner.java | 48 -
.../implementation/RedisResourceImpl.java | 226 --
.../implementation/RedisResourceInner.java | 344 ---
.../implementation/package-info.java | 11 -
.../redis/v2017_10_01/package-info.java | 11 -
.../redis/v2017_10_01/RedisTest.java | 45 -
redis/resource-manager/v2018_03_01/pom.xml | 12 +-
.../CheckNameAvailabilityParameters.java | 8 +-
.../v2018_03_01/ExportRDBParameters.java | 12 +-
.../v2018_03_01/ImportRDBParameters.java | 8 +-
.../redis/v2018_03_01/OperationDisplay.java | 16 +-
.../v2018_03_01/RedisCreateParameters.java | 46 +-
.../redis/v2018_03_01/RedisFirewallRule.java | 7 +
.../RedisFirewallRuleCreateParameters.java | 8 +-
.../redis/v2018_03_01/RedisLinkedServer.java | 2 +-
.../RedisLinkedServerCreateParameters.java | 12 +-
.../RedisLinkedServerWithProperties.java | 9 +
.../redis/v2018_03_01/RedisPatchSchedule.java | 7 +
.../v2018_03_01/RedisRebootParameters.java | 8 +-
.../RedisRegenerateKeyParameters.java | 4 +-
.../redis/v2018_03_01/RedisResource.java | 62 +-
.../v2018_03_01/RedisUpdateParameters.java | 28 +-
.../redis/v2018_03_01/ScheduleEntry.java | 12 +-
.../management/redis/v2018_03_01/Sku.java | 12 +-
.../v2018_03_01/UpgradeNotification.java | 8 +-
.../implementation/FirewallRulesImpl.java | 23 +-
.../implementation/LinkedServersImpl.java | 23 +-
.../NotificationListResponseInner.java | 6 +-
.../implementation/OperationInner.java | 8 +-
.../implementation/OperationsImpl.java | 23 +-
.../implementation/PatchSchedulesImpl.java | 23 +-
.../implementation/RedisAccessKeysInner.java | 4 +-
.../implementation/RedisFirewallRuleImpl.java | 2 +-
.../RedisFirewallRuleInner.java | 8 +-
.../RedisForceRebootResponseInner.java | 2 +-
.../v2018_03_01/implementation/RedisImpl.java | 46 +-
.../RedisLinkedServerWithPropertiesImpl.java | 2 +-
.../RedisLinkedServerWithPropertiesInner.java | 14 +-
.../RedisManagementClientImpl.java | 20 +-
.../RedisPatchScheduleImpl.java | 2 +-
.../RedisPatchScheduleInner.java | 4 +-
.../implementation/RedisResourceInner.java | 52 +-
.../redis/v2018_03_01/RedisTest.java | 45 -
104 files changed, 241 insertions(+), 10075 deletions(-)
delete mode 100644 redis/resource-manager/v2017_10_01/pom.xml
delete mode 100644 redis/resource-manager/v2017_10_01/src/main/java/com/microsoft/azure/management/redis/v2017_10_01/CheckNameAvailabilityParameters.java
delete mode 100644 redis/resource-manager/v2017_10_01/src/main/java/com/microsoft/azure/management/redis/v2017_10_01/DayOfWeek.java
delete mode 100644 redis/resource-manager/v2017_10_01/src/main/java/com/microsoft/azure/management/redis/v2017_10_01/ExportRDBParameters.java
delete mode 100644 redis/resource-manager/v2017_10_01/src/main/java/com/microsoft/azure/management/redis/v2017_10_01/FirewallRules.java
delete mode 100644 redis/resource-manager/v2017_10_01/src/main/java/com/microsoft/azure/management/redis/v2017_10_01/ImportRDBParameters.java
delete mode 100644 redis/resource-manager/v2017_10_01/src/main/java/com/microsoft/azure/management/redis/v2017_10_01/LinkedServers.java
delete mode 100644 redis/resource-manager/v2017_10_01/src/main/java/com/microsoft/azure/management/redis/v2017_10_01/NotificationListResponse.java
delete mode 100644 redis/resource-manager/v2017_10_01/src/main/java/com/microsoft/azure/management/redis/v2017_10_01/Operation.java
delete mode 100644 redis/resource-manager/v2017_10_01/src/main/java/com/microsoft/azure/management/redis/v2017_10_01/OperationDisplay.java
delete mode 100644 redis/resource-manager/v2017_10_01/src/main/java/com/microsoft/azure/management/redis/v2017_10_01/Operations.java
delete mode 100644 redis/resource-manager/v2017_10_01/src/main/java/com/microsoft/azure/management/redis/v2017_10_01/PatchSchedules.java
delete mode 100644 redis/resource-manager/v2017_10_01/src/main/java/com/microsoft/azure/management/redis/v2017_10_01/RebootType.java
delete mode 100644 redis/resource-manager/v2017_10_01/src/main/java/com/microsoft/azure/management/redis/v2017_10_01/Redis.java
delete mode 100644 redis/resource-manager/v2017_10_01/src/main/java/com/microsoft/azure/management/redis/v2017_10_01/RedisAccessKeys.java
delete mode 100644 redis/resource-manager/v2017_10_01/src/main/java/com/microsoft/azure/management/redis/v2017_10_01/RedisCreateParameters.java
delete mode 100644 redis/resource-manager/v2017_10_01/src/main/java/com/microsoft/azure/management/redis/v2017_10_01/RedisFirewallRule.java
delete mode 100644 redis/resource-manager/v2017_10_01/src/main/java/com/microsoft/azure/management/redis/v2017_10_01/RedisFirewallRuleCreateParameters.java
delete mode 100644 redis/resource-manager/v2017_10_01/src/main/java/com/microsoft/azure/management/redis/v2017_10_01/RedisForceRebootResponse.java
delete mode 100644 redis/resource-manager/v2017_10_01/src/main/java/com/microsoft/azure/management/redis/v2017_10_01/RedisKeyType.java
delete mode 100644 redis/resource-manager/v2017_10_01/src/main/java/com/microsoft/azure/management/redis/v2017_10_01/RedisLinkedServer.java
delete mode 100644 redis/resource-manager/v2017_10_01/src/main/java/com/microsoft/azure/management/redis/v2017_10_01/RedisLinkedServerCreateParameters.java
delete mode 100644 redis/resource-manager/v2017_10_01/src/main/java/com/microsoft/azure/management/redis/v2017_10_01/RedisLinkedServerWithProperties.java
delete mode 100644 redis/resource-manager/v2017_10_01/src/main/java/com/microsoft/azure/management/redis/v2017_10_01/RedisPatchSchedule.java
delete mode 100644 redis/resource-manager/v2017_10_01/src/main/java/com/microsoft/azure/management/redis/v2017_10_01/RedisRebootParameters.java
delete mode 100644 redis/resource-manager/v2017_10_01/src/main/java/com/microsoft/azure/management/redis/v2017_10_01/RedisRegenerateKeyParameters.java
delete mode 100644 redis/resource-manager/v2017_10_01/src/main/java/com/microsoft/azure/management/redis/v2017_10_01/RedisResource.java
delete mode 100644 redis/resource-manager/v2017_10_01/src/main/java/com/microsoft/azure/management/redis/v2017_10_01/RedisUpdateParameters.java
delete mode 100644 redis/resource-manager/v2017_10_01/src/main/java/com/microsoft/azure/management/redis/v2017_10_01/ReplicationRole.java
delete mode 100644 redis/resource-manager/v2017_10_01/src/main/java/com/microsoft/azure/management/redis/v2017_10_01/ScheduleEntry.java
delete mode 100644 redis/resource-manager/v2017_10_01/src/main/java/com/microsoft/azure/management/redis/v2017_10_01/Sku.java
delete mode 100644 redis/resource-manager/v2017_10_01/src/main/java/com/microsoft/azure/management/redis/v2017_10_01/SkuFamily.java
delete mode 100644 redis/resource-manager/v2017_10_01/src/main/java/com/microsoft/azure/management/redis/v2017_10_01/SkuName.java
delete mode 100644 redis/resource-manager/v2017_10_01/src/main/java/com/microsoft/azure/management/redis/v2017_10_01/UpgradeNotification.java
delete mode 100644 redis/resource-manager/v2017_10_01/src/main/java/com/microsoft/azure/management/redis/v2017_10_01/implementation/FirewallRulesImpl.java
delete mode 100644 redis/resource-manager/v2017_10_01/src/main/java/com/microsoft/azure/management/redis/v2017_10_01/implementation/FirewallRulesInner.java
delete mode 100644 redis/resource-manager/v2017_10_01/src/main/java/com/microsoft/azure/management/redis/v2017_10_01/implementation/IdParsingUtils.java
delete mode 100644 redis/resource-manager/v2017_10_01/src/main/java/com/microsoft/azure/management/redis/v2017_10_01/implementation/LinkedServersImpl.java
delete mode 100644 redis/resource-manager/v2017_10_01/src/main/java/com/microsoft/azure/management/redis/v2017_10_01/implementation/LinkedServersInner.java
delete mode 100644 redis/resource-manager/v2017_10_01/src/main/java/com/microsoft/azure/management/redis/v2017_10_01/implementation/NotificationListResponseImpl.java
delete mode 100644 redis/resource-manager/v2017_10_01/src/main/java/com/microsoft/azure/management/redis/v2017_10_01/implementation/NotificationListResponseInner.java
delete mode 100644 redis/resource-manager/v2017_10_01/src/main/java/com/microsoft/azure/management/redis/v2017_10_01/implementation/OperationImpl.java
delete mode 100644 redis/resource-manager/v2017_10_01/src/main/java/com/microsoft/azure/management/redis/v2017_10_01/implementation/OperationInner.java
delete mode 100644 redis/resource-manager/v2017_10_01/src/main/java/com/microsoft/azure/management/redis/v2017_10_01/implementation/OperationsImpl.java
delete mode 100644 redis/resource-manager/v2017_10_01/src/main/java/com/microsoft/azure/management/redis/v2017_10_01/implementation/OperationsInner.java
delete mode 100644 redis/resource-manager/v2017_10_01/src/main/java/com/microsoft/azure/management/redis/v2017_10_01/implementation/PageImpl.java
delete mode 100644 redis/resource-manager/v2017_10_01/src/main/java/com/microsoft/azure/management/redis/v2017_10_01/implementation/PatchSchedulesImpl.java
delete mode 100644 redis/resource-manager/v2017_10_01/src/main/java/com/microsoft/azure/management/redis/v2017_10_01/implementation/PatchSchedulesInner.java
delete mode 100644 redis/resource-manager/v2017_10_01/src/main/java/com/microsoft/azure/management/redis/v2017_10_01/implementation/RedisAccessKeysImpl.java
delete mode 100644 redis/resource-manager/v2017_10_01/src/main/java/com/microsoft/azure/management/redis/v2017_10_01/implementation/RedisAccessKeysInner.java
delete mode 100644 redis/resource-manager/v2017_10_01/src/main/java/com/microsoft/azure/management/redis/v2017_10_01/implementation/RedisFirewallRuleImpl.java
delete mode 100644 redis/resource-manager/v2017_10_01/src/main/java/com/microsoft/azure/management/redis/v2017_10_01/implementation/RedisFirewallRuleInner.java
delete mode 100644 redis/resource-manager/v2017_10_01/src/main/java/com/microsoft/azure/management/redis/v2017_10_01/implementation/RedisForceRebootResponseImpl.java
delete mode 100644 redis/resource-manager/v2017_10_01/src/main/java/com/microsoft/azure/management/redis/v2017_10_01/implementation/RedisForceRebootResponseInner.java
delete mode 100644 redis/resource-manager/v2017_10_01/src/main/java/com/microsoft/azure/management/redis/v2017_10_01/implementation/RedisImpl.java
delete mode 100644 redis/resource-manager/v2017_10_01/src/main/java/com/microsoft/azure/management/redis/v2017_10_01/implementation/RedisInner.java
delete mode 100644 redis/resource-manager/v2017_10_01/src/main/java/com/microsoft/azure/management/redis/v2017_10_01/implementation/RedisLinkedServerWithPropertiesImpl.java
delete mode 100644 redis/resource-manager/v2017_10_01/src/main/java/com/microsoft/azure/management/redis/v2017_10_01/implementation/RedisLinkedServerWithPropertiesInner.java
delete mode 100644 redis/resource-manager/v2017_10_01/src/main/java/com/microsoft/azure/management/redis/v2017_10_01/implementation/RedisManagementClientImpl.java
delete mode 100644 redis/resource-manager/v2017_10_01/src/main/java/com/microsoft/azure/management/redis/v2017_10_01/implementation/RedisManager.java
delete mode 100644 redis/resource-manager/v2017_10_01/src/main/java/com/microsoft/azure/management/redis/v2017_10_01/implementation/RedisPatchScheduleImpl.java
delete mode 100644 redis/resource-manager/v2017_10_01/src/main/java/com/microsoft/azure/management/redis/v2017_10_01/implementation/RedisPatchScheduleInner.java
delete mode 100644 redis/resource-manager/v2017_10_01/src/main/java/com/microsoft/azure/management/redis/v2017_10_01/implementation/RedisResourceImpl.java
delete mode 100644 redis/resource-manager/v2017_10_01/src/main/java/com/microsoft/azure/management/redis/v2017_10_01/implementation/RedisResourceInner.java
delete mode 100644 redis/resource-manager/v2017_10_01/src/main/java/com/microsoft/azure/management/redis/v2017_10_01/implementation/package-info.java
delete mode 100644 redis/resource-manager/v2017_10_01/src/main/java/com/microsoft/azure/management/redis/v2017_10_01/package-info.java
delete mode 100644 redis/resource-manager/v2017_10_01/src/test/java/com/microsoft/azure/management/redis/v2017_10_01/RedisTest.java
delete mode 100644 redis/resource-manager/v2018_03_01/src/test/java/com/microsoft/azure/management/redis/v2018_03_01/RedisTest.java
diff --git a/redis/resource-manager/v2017_10_01/pom.xml b/redis/resource-manager/v2017_10_01/pom.xml
deleted file mode 100644
index 0f5c735750ece..0000000000000
--- a/redis/resource-manager/v2017_10_01/pom.xml
+++ /dev/null
@@ -1,133 +0,0 @@
-
-
- 4.0.0
- com.microsoft.azure.azure-mgmt-redis-2017-10-01
-
- com.microsoft.azure
- azure-arm-parent
- 1.1.0
- ../../../pom.management.xml
-
- azure-mgmt-redis
- 1.0.0-beta-SNAPSHOT
- jar
- Microsoft Azure SDK for Cache Management
- This package contains Microsoft Cache Management SDK.
- https://github.com/Azure/azure-libraries-for-java
-
-
- The MIT License (MIT)
- http://opensource.org/licenses/MIT
- repo
-
-
-
- scm:git:https://github.com/Azure/azure-libraries-for-java
- scm:git:git@github.com:Azure/azure-libraries-for-java.git
- HEAD
-
-
- UTF-8
-
-
-
-
- microsoft
- Microsoft
-
-
-
-
- com.microsoft.azure
- azure-client-runtime
-
-
- com.microsoft.azure
- azure-arm-client-runtime
-
-
- junit
- junit
- test
-
-
- com.microsoft.azure
- azure-client-authentication
- test
-
-
- com.microsoft.azure
- azure-mgmt-resources
- test
-
-
- com.microsoft.azure
- azure-arm-client-runtime
- test-jar
- test
-
-
-
-
-
- org.apache.maven.plugins
- maven-jar-plugin
-
-
-
- true
- true
-
-
-
-
-
- org.codehaus.mojo
- build-helper-maven-plugin
-
-
- org.apache.maven.plugins
- maven-compiler-plugin
- 3.1
-
-
- 1.7
-
-
- com.microsoft.azure.management.apigeneration.LangDefinitionProcessor
-
-
- true
- true
-
- true
- true
-
-
-
-
- org.apache.maven.plugins
- maven-javadoc-plugin
- 2.8
-
- *.implementation.*;*.utils.*;com.microsoft.schemas._2003._10.serialization;*.blob.core.search
-
-
- /**
-
* Copyright (c) Microsoft Corporation. All rights reserved.
-
* Licensed under the MIT License. See License.txt in the project root for
-
* license information.
-
*/
- ]]>
-
-
-
-
-
-
diff --git a/redis/resource-manager/v2017_10_01/src/main/java/com/microsoft/azure/management/redis/v2017_10_01/CheckNameAvailabilityParameters.java b/redis/resource-manager/v2017_10_01/src/main/java/com/microsoft/azure/management/redis/v2017_10_01/CheckNameAvailabilityParameters.java
deleted file mode 100644
index d1840cb769ac9..0000000000000
--- a/redis/resource-manager/v2017_10_01/src/main/java/com/microsoft/azure/management/redis/v2017_10_01/CheckNameAvailabilityParameters.java
+++ /dev/null
@@ -1,70 +0,0 @@
-/**
- * Copyright (c) Microsoft Corporation. All rights reserved.
- * Licensed under the MIT License. See License.txt in the project root for
- * license information.
- *
- * Code generated by Microsoft (R) AutoRest Code Generator.
- */
-
-package com.microsoft.azure.management.redis.v2017_10_01;
-
-import com.fasterxml.jackson.annotation.JsonProperty;
-
-/**
- * Parameters body to pass for name availability check.
- */
-public class CheckNameAvailabilityParameters {
- /**
- * Resource name.
- */
- @JsonProperty(value = "name", required = true)
- private String name;
-
- /**
- * Resource type. The only legal value of this property for checking redis
- * cache name availability is 'Microsoft.Cache/redis'.
- */
- @JsonProperty(value = "type", required = true)
- private String type;
-
- /**
- * Get the name value.
- *
- * @return the name value
- */
- public String name() {
- return this.name;
- }
-
- /**
- * Set the name value.
- *
- * @param name the name value to set
- * @return the CheckNameAvailabilityParameters object itself.
- */
- public CheckNameAvailabilityParameters withName(String name) {
- this.name = name;
- return this;
- }
-
- /**
- * Get the type value.
- *
- * @return the type value
- */
- public String type() {
- return this.type;
- }
-
- /**
- * Set the type value.
- *
- * @param type the type value to set
- * @return the CheckNameAvailabilityParameters object itself.
- */
- public CheckNameAvailabilityParameters withType(String type) {
- this.type = type;
- return this;
- }
-
-}
diff --git a/redis/resource-manager/v2017_10_01/src/main/java/com/microsoft/azure/management/redis/v2017_10_01/DayOfWeek.java b/redis/resource-manager/v2017_10_01/src/main/java/com/microsoft/azure/management/redis/v2017_10_01/DayOfWeek.java
deleted file mode 100644
index 8d5f75513a684..0000000000000
--- a/redis/resource-manager/v2017_10_01/src/main/java/com/microsoft/azure/management/redis/v2017_10_01/DayOfWeek.java
+++ /dev/null
@@ -1,74 +0,0 @@
-/**
- * Copyright (c) Microsoft Corporation. All rights reserved.
- * Licensed under the MIT License. See License.txt in the project root for
- * license information.
- *
- * Code generated by Microsoft (R) AutoRest Code Generator.
- */
-
-package com.microsoft.azure.management.redis.v2017_10_01;
-
-import com.fasterxml.jackson.annotation.JsonCreator;
-import com.fasterxml.jackson.annotation.JsonValue;
-
-/**
- * Defines values for DayOfWeek.
- */
-public enum DayOfWeek {
- /** Enum value Monday. */
- MONDAY("Monday"),
-
- /** Enum value Tuesday. */
- TUESDAY("Tuesday"),
-
- /** Enum value Wednesday. */
- WEDNESDAY("Wednesday"),
-
- /** Enum value Thursday. */
- THURSDAY("Thursday"),
-
- /** Enum value Friday. */
- FRIDAY("Friday"),
-
- /** Enum value Saturday. */
- SATURDAY("Saturday"),
-
- /** Enum value Sunday. */
- SUNDAY("Sunday"),
-
- /** Enum value Everyday. */
- EVERYDAY("Everyday"),
-
- /** Enum value Weekend. */
- WEEKEND("Weekend");
-
- /** The actual serialized value for a DayOfWeek instance. */
- private String value;
-
- DayOfWeek(String value) {
- this.value = value;
- }
-
- /**
- * Parses a serialized value to a DayOfWeek instance.
- *
- * @param value the serialized value to parse.
- * @return the parsed DayOfWeek object, or null if unable to parse.
- */
- @JsonCreator
- public static DayOfWeek fromString(String value) {
- DayOfWeek[] items = DayOfWeek.values();
- for (DayOfWeek item : items) {
- if (item.toString().equalsIgnoreCase(value)) {
- return item;
- }
- }
- return null;
- }
-
- @JsonValue
- @Override
- public String toString() {
- return this.value;
- }
-}
diff --git a/redis/resource-manager/v2017_10_01/src/main/java/com/microsoft/azure/management/redis/v2017_10_01/ExportRDBParameters.java b/redis/resource-manager/v2017_10_01/src/main/java/com/microsoft/azure/management/redis/v2017_10_01/ExportRDBParameters.java
deleted file mode 100644
index f2757ebd8bf52..0000000000000
--- a/redis/resource-manager/v2017_10_01/src/main/java/com/microsoft/azure/management/redis/v2017_10_01/ExportRDBParameters.java
+++ /dev/null
@@ -1,95 +0,0 @@
-/**
- * Copyright (c) Microsoft Corporation. All rights reserved.
- * Licensed under the MIT License. See License.txt in the project root for
- * license information.
- *
- * Code generated by Microsoft (R) AutoRest Code Generator.
- */
-
-package com.microsoft.azure.management.redis.v2017_10_01;
-
-import com.fasterxml.jackson.annotation.JsonProperty;
-
-/**
- * Parameters for Redis export operation.
- */
-public class ExportRDBParameters {
- /**
- * File format.
- */
- @JsonProperty(value = "format")
- private String format;
-
- /**
- * Prefix to use for exported files.
- */
- @JsonProperty(value = "prefix", required = true)
- private String prefix;
-
- /**
- * Container name to export to.
- */
- @JsonProperty(value = "container", required = true)
- private String container;
-
- /**
- * Get the format value.
- *
- * @return the format value
- */
- public String format() {
- return this.format;
- }
-
- /**
- * Set the format value.
- *
- * @param format the format value to set
- * @return the ExportRDBParameters object itself.
- */
- public ExportRDBParameters withFormat(String format) {
- this.format = format;
- return this;
- }
-
- /**
- * Get the prefix value.
- *
- * @return the prefix value
- */
- public String prefix() {
- return this.prefix;
- }
-
- /**
- * Set the prefix value.
- *
- * @param prefix the prefix value to set
- * @return the ExportRDBParameters object itself.
- */
- public ExportRDBParameters withPrefix(String prefix) {
- this.prefix = prefix;
- return this;
- }
-
- /**
- * Get the container value.
- *
- * @return the container value
- */
- public String container() {
- return this.container;
- }
-
- /**
- * Set the container value.
- *
- * @param container the container value to set
- * @return the ExportRDBParameters object itself.
- */
- public ExportRDBParameters withContainer(String container) {
- this.container = container;
- return this;
- }
-
-}
diff --git a/redis/resource-manager/v2017_10_01/src/main/java/com/microsoft/azure/management/redis/v2017_10_01/FirewallRules.java b/redis/resource-manager/v2017_10_01/src/main/java/com/microsoft/azure/management/redis/v2017_10_01/FirewallRules.java
deleted file mode 100644
index 705235fc01043..0000000000000
--- a/redis/resource-manager/v2017_10_01/src/main/java/com/microsoft/azure/management/redis/v2017_10_01/FirewallRules.java
+++ /dev/null
@@ -1,53 +0,0 @@
-/**
- * Copyright (c) Microsoft Corporation. All rights reserved.
- * Licensed under the MIT License. See License.txt in the project root for
- * license information.
- *
- * Code generated by Microsoft (R) AutoRest Code Generator.
- */
-
-package com.microsoft.azure.management.redis.v2017_10_01;
-
-import com.microsoft.azure.arm.collection.SupportsCreating;
-import rx.Completable;
-import rx.Observable;
-import com.microsoft.azure.management.redis.v2017_10_01.implementation.FirewallRulesInner;
-import com.microsoft.azure.arm.model.HasInner;
-
-/**
- * Type representing FirewallRules.
- */
-public interface FirewallRules extends SupportsCreating, HasInner {
- /**
- * Gets a single firewall rule in a specified redis cache.
- *
- * @param resourceGroupName The name of the resource group.
- * @param cacheName The name of the Redis cache.
- * @param ruleName The name of the firewall rule.
- * @throws IllegalArgumentException thrown if parameters fail the validation
- * @return the observable for the request
- */
- Observable getAsync(String resourceGroupName, String cacheName, String ruleName);
-
- /**
- * Gets all firewall rules in the specified redis cache.
- *
- * @param resourceGroupName The name of the resource group.
- * @param cacheName The name of the Redis cache.
- * @throws IllegalArgumentException thrown if parameters fail the validation
- * @return the observable for the request
- */
- Observable listByRedisResourceAsync(final String resourceGroupName, final String cacheName);
-
- /**
- * Deletes a single firewall rule in a specified redis cache.
- *
- * @param resourceGroupName The name of the resource group.
- * @param cacheName The name of the Redis cache.
- * @param ruleName The name of the firewall rule.
- * @throws IllegalArgumentException thrown if parameters fail the validation
- * @return the observable for the request
- */
- Completable deleteAsync(String resourceGroupName, String cacheName, String ruleName);
-
-}
diff --git a/redis/resource-manager/v2017_10_01/src/main/java/com/microsoft/azure/management/redis/v2017_10_01/ImportRDBParameters.java b/redis/resource-manager/v2017_10_01/src/main/java/com/microsoft/azure/management/redis/v2017_10_01/ImportRDBParameters.java
deleted file mode 100644
index 5fbe331694d3a..0000000000000
--- a/redis/resource-manager/v2017_10_01/src/main/java/com/microsoft/azure/management/redis/v2017_10_01/ImportRDBParameters.java
+++ /dev/null
@@ -1,70 +0,0 @@
-/**
- * Copyright (c) Microsoft Corporation. All rights reserved.
- * Licensed under the MIT License. See License.txt in the project root for
- * license information.
- *
- * Code generated by Microsoft (R) AutoRest Code Generator.
- */
-
-package com.microsoft.azure.management.redis.v2017_10_01;
-
-import java.util.List;
-import com.fasterxml.jackson.annotation.JsonProperty;
-
-/**
- * Parameters for Redis import operation.
- */
-public class ImportRDBParameters {
- /**
- * File format.
- */
- @JsonProperty(value = "format")
- private String format;
-
- /**
- * files to import.
- */
- @JsonProperty(value = "files", required = true)
- private List files;
-
- /**
- * Get the format value.
- *
- * @return the format value
- */
- public String format() {
- return this.format;
- }
-
- /**
- * Set the format value.
- *
- * @param format the format value to set
- * @return the ImportRDBParameters object itself.
- */
- public ImportRDBParameters withFormat(String format) {
- this.format = format;
- return this;
- }
-
- /**
- * Get the files value.
- *
- * @return the files value
- */
- public List files() {
- return this.files;
- }
-
- /**
- * Set the files value.
- *
- * @param files the files value to set
- * @return the ImportRDBParameters object itself.
- */
- public ImportRDBParameters withFiles(List files) {
- this.files = files;
- return this;
- }
-
-}
diff --git a/redis/resource-manager/v2017_10_01/src/main/java/com/microsoft/azure/management/redis/v2017_10_01/LinkedServers.java b/redis/resource-manager/v2017_10_01/src/main/java/com/microsoft/azure/management/redis/v2017_10_01/LinkedServers.java
deleted file mode 100644
index 1a6ae6bb8229c..0000000000000
--- a/redis/resource-manager/v2017_10_01/src/main/java/com/microsoft/azure/management/redis/v2017_10_01/LinkedServers.java
+++ /dev/null
@@ -1,53 +0,0 @@
-/**
- * Copyright (c) Microsoft Corporation. All rights reserved.
- * Licensed under the MIT License. See License.txt in the project root for
- * license information.
- *
- * Code generated by Microsoft (R) AutoRest Code Generator.
- */
-
-package com.microsoft.azure.management.redis.v2017_10_01;
-
-import com.microsoft.azure.arm.collection.SupportsCreating;
-import rx.Completable;
-import rx.Observable;
-import com.microsoft.azure.management.redis.v2017_10_01.implementation.LinkedServersInner;
-import com.microsoft.azure.arm.model.HasInner;
-
-/**
- * Type representing LinkedServers.
- */
-public interface LinkedServers extends SupportsCreating, HasInner {
- /**
- * Gets the detailed information about a linked server of a redis cache (requires Premium SKU).
- *
- * @param resourceGroupName The name of the resource group.
- * @param name The name of the redis cache.
- * @param linkedServerName The name of the linked server.
- * @throws IllegalArgumentException thrown if parameters fail the validation
- * @return the observable for the request
- */
- Observable getAsync(String resourceGroupName, String name, String linkedServerName);
-
- /**
- * Gets the list of linked servers associated with this redis cache (requires Premium SKU).
- *
- * @param resourceGroupName The name of the resource group.
- * @param name The name of the redis cache.
- * @throws IllegalArgumentException thrown if parameters fail the validation
- * @return the observable for the request
- */
- Observable listAsync(final String resourceGroupName, final String name);
-
- /**
- * Deletes the linked server from a redis cache (requires Premium SKU).
- *
- * @param resourceGroupName The name of the resource group.
- * @param name The name of the redis cache.
- * @param linkedServerName The name of the linked server that is being added to the Redis cache.
- * @throws IllegalArgumentException thrown if parameters fail the validation
- * @return the observable for the request
- */
- Completable deleteAsync(String resourceGroupName, String name, String linkedServerName);
-
-}
diff --git a/redis/resource-manager/v2017_10_01/src/main/java/com/microsoft/azure/management/redis/v2017_10_01/NotificationListResponse.java b/redis/resource-manager/v2017_10_01/src/main/java/com/microsoft/azure/management/redis/v2017_10_01/NotificationListResponse.java
deleted file mode 100644
index c07e9f6f7d9ee..0000000000000
--- a/redis/resource-manager/v2017_10_01/src/main/java/com/microsoft/azure/management/redis/v2017_10_01/NotificationListResponse.java
+++ /dev/null
@@ -1,31 +0,0 @@
-/**
- * Copyright (c) Microsoft Corporation. All rights reserved.
- * Licensed under the MIT License. See License.txt in the project root for
- * license information.
- *
- * Code generated by Microsoft (R) AutoRest Code Generator.
- */
-
-package com.microsoft.azure.management.redis.v2017_10_01;
-
-import com.microsoft.azure.arm.model.HasInner;
-import com.microsoft.azure.arm.resources.models.HasManager;
-import com.microsoft.azure.management.redis.v2017_10_01.implementation.RedisManager;
-import com.microsoft.azure.management.redis.v2017_10_01.implementation.NotificationListResponseInner;
-import java.util.List;
-
-/**
- * Type representing NotificationListResponse.
- */
-public interface NotificationListResponse extends HasInner, HasManager {
- /**
- * @return the nextLink value.
- */
- String nextLink();
-
- /**
- * @return the value value.
- */
- List value();
-
-}
diff --git a/redis/resource-manager/v2017_10_01/src/main/java/com/microsoft/azure/management/redis/v2017_10_01/Operation.java b/redis/resource-manager/v2017_10_01/src/main/java/com/microsoft/azure/management/redis/v2017_10_01/Operation.java
deleted file mode 100644
index f956221824321..0000000000000
--- a/redis/resource-manager/v2017_10_01/src/main/java/com/microsoft/azure/management/redis/v2017_10_01/Operation.java
+++ /dev/null
@@ -1,30 +0,0 @@
-/**
- * Copyright (c) Microsoft Corporation. All rights reserved.
- * Licensed under the MIT License. See License.txt in the project root for
- * license information.
- *
- * Code generated by Microsoft (R) AutoRest Code Generator.
- */
-
-package com.microsoft.azure.management.redis.v2017_10_01;
-
-import com.microsoft.azure.arm.model.HasInner;
-import com.microsoft.azure.arm.resources.models.HasManager;
-import com.microsoft.azure.management.redis.v2017_10_01.implementation.RedisManager;
-import com.microsoft.azure.management.redis.v2017_10_01.implementation.OperationInner;
-
-/**
- * Type representing Operation.
- */
-public interface Operation extends HasInner, HasManager {
- /**
- * @return the display value.
- */
- OperationDisplay display();
-
- /**
- * @return the name value.
- */
- String name();
-
-}
diff --git a/redis/resource-manager/v2017_10_01/src/main/java/com/microsoft/azure/management/redis/v2017_10_01/OperationDisplay.java b/redis/resource-manager/v2017_10_01/src/main/java/com/microsoft/azure/management/redis/v2017_10_01/OperationDisplay.java
deleted file mode 100644
index 2009fb5100f91..0000000000000
--- a/redis/resource-manager/v2017_10_01/src/main/java/com/microsoft/azure/management/redis/v2017_10_01/OperationDisplay.java
+++ /dev/null
@@ -1,121 +0,0 @@
-/**
- * Copyright (c) Microsoft Corporation. All rights reserved.
- * Licensed under the MIT License. See License.txt in the project root for
- * license information.
- *
- * Code generated by Microsoft (R) AutoRest Code Generator.
- */
-
-package com.microsoft.azure.management.redis.v2017_10_01;
-
-import com.fasterxml.jackson.annotation.JsonProperty;
-
-/**
- * The object that describes the operation.
- */
-public class OperationDisplay {
- /**
- * Friendly name of the resource provider.
- */
- @JsonProperty(value = "provider")
- private String provider;
-
- /**
- * Operation type: read, write, delete, listKeys/action, etc.
- */
- @JsonProperty(value = "operation")
- private String operation;
-
- /**
- * Resource type on which the operation is performed.
- */
- @JsonProperty(value = "resource")
- private String resource;
-
- /**
- * Friendly name of the operation.
- */
- @JsonProperty(value = "description")
- private String description;
-
- /**
- * Get the provider value.
- *
- * @return the provider value
- */
- public String provider() {
- return this.provider;
- }
-
- /**
- * Set the provider value.
- *
- * @param provider the provider value to set
- * @return the OperationDisplay object itself.
- */
- public OperationDisplay withProvider(String provider) {
- this.provider = provider;
- return this;
- }
-
- /**
- * Get the operation value.
- *
- * @return the operation value
- */
- public String operation() {
- return this.operation;
- }
-
- /**
- * Set the operation value.
- *
- * @param operation the operation value to set
- * @return the OperationDisplay object itself.
- */
- public OperationDisplay withOperation(String operation) {
- this.operation = operation;
- return this;
- }
-
- /**
- * Get the resource value.
- *
- * @return the resource value
- */
- public String resource() {
- return this.resource;
- }
-
- /**
- * Set the resource value.
- *
- * @param resource the resource value to set
- * @return the OperationDisplay object itself.
- */
- public OperationDisplay withResource(String resource) {
- this.resource = resource;
- return this;
- }
-
- /**
- * Get the description value.
- *
- * @return the description value
- */
- public String description() {
- return this.description;
- }
-
- /**
- * Set the description value.
- *
- * @param description the description value to set
- * @return the OperationDisplay object itself.
- */
- public OperationDisplay withDescription(String description) {
- this.description = description;
- return this;
- }
-
-}
diff --git a/redis/resource-manager/v2017_10_01/src/main/java/com/microsoft/azure/management/redis/v2017_10_01/Operations.java b/redis/resource-manager/v2017_10_01/src/main/java/com/microsoft/azure/management/redis/v2017_10_01/Operations.java
deleted file mode 100644
index 2efdc2e362f6b..0000000000000
--- a/redis/resource-manager/v2017_10_01/src/main/java/com/microsoft/azure/management/redis/v2017_10_01/Operations.java
+++ /dev/null
@@ -1,27 +0,0 @@
-/**
- * Copyright (c) Microsoft Corporation. All rights reserved.
- * Licensed under the MIT License. See License.txt in the project root for
- * license information.
- *
- * Code generated by Microsoft (R) AutoRest Code Generator.
- */
-
-package com.microsoft.azure.management.redis.v2017_10_01;
-
-import rx.Observable;
-import com.microsoft.azure.management.redis.v2017_10_01.implementation.OperationsInner;
-import com.microsoft.azure.arm.model.HasInner;
-
-/**
- * Type representing Operations.
- */
-public interface Operations extends HasInner {
- /**
- * Lists all of the available REST API operations of the Microsoft.Cache provider.
- *
- * @throws IllegalArgumentException thrown if parameters fail the validation
- * @return the observable for the request
- */
- Observable listAsync();
-
-}
diff --git a/redis/resource-manager/v2017_10_01/src/main/java/com/microsoft/azure/management/redis/v2017_10_01/PatchSchedules.java b/redis/resource-manager/v2017_10_01/src/main/java/com/microsoft/azure/management/redis/v2017_10_01/PatchSchedules.java
deleted file mode 100644
index 4660a062f99ee..0000000000000
--- a/redis/resource-manager/v2017_10_01/src/main/java/com/microsoft/azure/management/redis/v2017_10_01/PatchSchedules.java
+++ /dev/null
@@ -1,51 +0,0 @@
-/**
- * Copyright (c) Microsoft Corporation. All rights reserved.
- * Licensed under the MIT License. See License.txt in the project root for
- * license information.
- *
- * Code generated by Microsoft (R) AutoRest Code Generator.
- */
-
-package com.microsoft.azure.management.redis.v2017_10_01;
-
-import com.microsoft.azure.arm.collection.SupportsCreating;
-import rx.Completable;
-import rx.Observable;
-import com.microsoft.azure.management.redis.v2017_10_01.implementation.PatchSchedulesInner;
-import com.microsoft.azure.arm.model.HasInner;
-
-/**
- * Type representing PatchSchedules.
- */
-public interface PatchSchedules extends SupportsCreating, HasInner {
- /**
- * Gets the patching schedule of a redis cache (requires Premium SKU).
- *
- * @param resourceGroupName The name of the resource group.
- * @param name The name of the redis cache.
- * @throws IllegalArgumentException thrown if parameters fail the validation
- * @return the observable for the request
- */
- Observable getAsync(String resourceGroupName, String name);
-
- /**
- * Gets all patch schedules in the specified redis cache (there is only one).
- *
- * @param resourceGroupName The name of the resource group.
- * @param cacheName The name of the Redis cache.
- * @throws IllegalArgumentException thrown if parameters fail the validation
- * @return the observable for the request
- */
- Observable listByRedisResourceAsync(final String resourceGroupName, final String cacheName);
-
- /**
- * Deletes the patching schedule of a redis cache (requires Premium SKU).
- *
- * @param resourceGroupName The name of the resource group.
- * @param name The name of the redis cache.
- * @throws IllegalArgumentException thrown if parameters fail the validation
- * @return the observable for the request
- */
- Completable deleteAsync(String resourceGroupName, String name);
-
-}
diff --git a/redis/resource-manager/v2017_10_01/src/main/java/com/microsoft/azure/management/redis/v2017_10_01/RebootType.java b/redis/resource-manager/v2017_10_01/src/main/java/com/microsoft/azure/management/redis/v2017_10_01/RebootType.java
deleted file mode 100644
index c5929beeaef23..0000000000000
--- a/redis/resource-manager/v2017_10_01/src/main/java/com/microsoft/azure/management/redis/v2017_10_01/RebootType.java
+++ /dev/null
@@ -1,44 +0,0 @@
-/**
- * Copyright (c) Microsoft Corporation. All rights reserved.
- * Licensed under the MIT License. See License.txt in the project root for
- * license information.
- *
- * Code generated by Microsoft (R) AutoRest Code Generator.
- */
-
-package com.microsoft.azure.management.redis.v2017_10_01;
-
-import java.util.Collection;
-import com.fasterxml.jackson.annotation.JsonCreator;
-import com.microsoft.rest.ExpandableStringEnum;
-
-/**
- * Defines values for RebootType.
- */
-public final class RebootType extends ExpandableStringEnum {
- /** Static value PrimaryNode for RebootType. */
- public static final RebootType PRIMARY_NODE = fromString("PrimaryNode");
-
- /** Static value SecondaryNode for RebootType. */
- public static final RebootType SECONDARY_NODE = fromString("SecondaryNode");
-
- /** Static value AllNodes for RebootType. */
- public static final RebootType ALL_NODES = fromString("AllNodes");
-
- /**
- * Creates or finds a RebootType from its string representation.
- * @param name a name to look for
- * @return the corresponding RebootType
- */
- @JsonCreator
- public static RebootType fromString(String name) {
- return fromString(name, RebootType.class);
- }
-
- /**
- * @return known RebootType values
- */
- public static Collection values() {
- return values(RebootType.class);
- }
-}
diff --git a/redis/resource-manager/v2017_10_01/src/main/java/com/microsoft/azure/management/redis/v2017_10_01/Redis.java b/redis/resource-manager/v2017_10_01/src/main/java/com/microsoft/azure/management/redis/v2017_10_01/Redis.java
deleted file mode 100644
index 296dac8a59eeb..0000000000000
--- a/redis/resource-manager/v2017_10_01/src/main/java/com/microsoft/azure/management/redis/v2017_10_01/Redis.java
+++ /dev/null
@@ -1,100 +0,0 @@
-/**
- * Copyright (c) Microsoft Corporation. All rights reserved.
- * Licensed under the MIT License. See License.txt in the project root for
- * license information.
- *
- * Code generated by Microsoft (R) AutoRest Code Generator.
- */
-
-package com.microsoft.azure.management.redis.v2017_10_01;
-
-import com.microsoft.azure.arm.collection.SupportsCreating;
-import com.microsoft.azure.arm.resources.collection.SupportsDeletingByResourceGroup;
-import com.microsoft.azure.arm.resources.collection.SupportsBatchDeletion;
-import com.microsoft.azure.arm.resources.collection.SupportsGettingByResourceGroup;
-import rx.Observable;
-import com.microsoft.azure.arm.resources.collection.SupportsListingByResourceGroup;
-import com.microsoft.azure.arm.collection.SupportsListing;
-import rx.Completable;
-import com.microsoft.azure.management.redis.v2017_10_01.implementation.RedisInner;
-import com.microsoft.azure.arm.model.HasInner;
-
-/**
- * Type representing Redis.
- */
-public interface Redis extends SupportsCreating, SupportsDeletingByResourceGroup, SupportsBatchDeletion, SupportsGettingByResourceGroup, SupportsListingByResourceGroup, SupportsListing, HasInner {
- /**
- * Retrieve a Redis cache's access keys. This operation requires write permission to the cache resource.
- *
- * @param resourceGroupName The name of the resource group.
- * @param name The name of the Redis cache.
- * @throws IllegalArgumentException thrown if parameters fail the validation
- * @return the observable for the request
- */
- Observable listKeysAsync(String resourceGroupName, String name);
-
- /**
- * Regenerate Redis cache's access keys. This operation requires write permission to the cache resource.
- *
- * @param resourceGroupName The name of the resource group.
- * @param name The name of the Redis cache.
- * @param keyType The Redis access key to regenerate. Possible values include: 'Primary', 'Secondary'
- * @throws IllegalArgumentException thrown if parameters fail the validation
- * @return the observable for the request
- */
- Observable regenerateKeyAsync(String resourceGroupName, String name, RedisKeyType keyType);
-
- /**
- * Reboot specified Redis node(s). This operation requires write permission to the cache resource. There can be potential data loss.
- *
- * @param resourceGroupName The name of the resource group.
- * @param name The name of the Redis cache.
- * @param parameters Specifies which Redis node(s) to reboot.
- * @throws IllegalArgumentException thrown if parameters fail the validation
- * @return the observable for the request
- */
- Observable forceRebootAsync(String resourceGroupName, String name, RedisRebootParameters parameters);
-
- /**
- * Import data into Redis cache.
- *
- * @param resourceGroupName The name of the resource group.
- * @param name The name of the Redis cache.
- * @param parameters Parameters for Redis import operation.
- * @throws IllegalArgumentException thrown if parameters fail the validation
- * @return the observable for the request
- */
- Completable importDataAsync(String resourceGroupName, String name, ImportRDBParameters parameters);
-
- /**
- * Export data from the redis cache to blobs in a container.
- *
- * @param resourceGroupName The name of the resource group.
- * @param name The name of the Redis cache.
- * @param parameters Parameters for Redis export operation.
- * @throws IllegalArgumentException thrown if parameters fail the validation
- * @return the observable for the request
- */
- Completable exportDataAsync(String resourceGroupName, String name, ExportRDBParameters parameters);
-
- /**
- * Checks that the redis cache name is valid and is not already in use.
- *
- * @param parameters Parameters supplied to the CheckNameAvailability Redis operation. The only supported resource type is 'Microsoft.Cache/redis'
- * @throws IllegalArgumentException thrown if parameters fail the validation
- * @return the observable for the request
- */
- Completable checkNameAvailabilityAsync(CheckNameAvailabilityParameters parameters);
-
- /**
- * Gets any upgrade notifications for a Redis cache.
- *
- * @param resourceGroupName The name of the resource group.
- * @param name The name of the Redis cache.
- * @param history how many minutes in past to look for upgrade notifications
- * @throws IllegalArgumentException thrown if parameters fail the validation
- * @return the observable for the request
- */
- Observable listUpgradeNotificationsAsync(String resourceGroupName, String name, double history);
-
-}
diff --git a/redis/resource-manager/v2017_10_01/src/main/java/com/microsoft/azure/management/redis/v2017_10_01/RedisAccessKeys.java b/redis/resource-manager/v2017_10_01/src/main/java/com/microsoft/azure/management/redis/v2017_10_01/RedisAccessKeys.java
deleted file mode 100644
index a713bdd881ab2..0000000000000
--- a/redis/resource-manager/v2017_10_01/src/main/java/com/microsoft/azure/management/redis/v2017_10_01/RedisAccessKeys.java
+++ /dev/null
@@ -1,30 +0,0 @@
-/**
- * Copyright (c) Microsoft Corporation. All rights reserved.
- * Licensed under the MIT License. See License.txt in the project root for
- * license information.
- *
- * Code generated by Microsoft (R) AutoRest Code Generator.
- */
-
-package com.microsoft.azure.management.redis.v2017_10_01;
-
-import com.microsoft.azure.arm.model.HasInner;
-import com.microsoft.azure.arm.resources.models.HasManager;
-import com.microsoft.azure.management.redis.v2017_10_01.implementation.RedisManager;
-import com.microsoft.azure.management.redis.v2017_10_01.implementation.RedisAccessKeysInner;
-
-/**
- * Type representing RedisAccessKeys.
- */
-public interface RedisAccessKeys extends HasInner, HasManager {
- /**
- * @return the primaryKey value.
- */
- String primaryKey();
-
- /**
- * @return the secondaryKey value.
- */
- String secondaryKey();
-
-}
diff --git a/redis/resource-manager/v2017_10_01/src/main/java/com/microsoft/azure/management/redis/v2017_10_01/RedisCreateParameters.java b/redis/resource-manager/v2017_10_01/src/main/java/com/microsoft/azure/management/redis/v2017_10_01/RedisCreateParameters.java
deleted file mode 100644
index e7f0512175ae3..0000000000000
--- a/redis/resource-manager/v2017_10_01/src/main/java/com/microsoft/azure/management/redis/v2017_10_01/RedisCreateParameters.java
+++ /dev/null
@@ -1,287 +0,0 @@
-/**
- * Copyright (c) Microsoft Corporation. All rights reserved.
- * Licensed under the MIT License. See License.txt in the project root for
- * license information.
- *
- * Code generated by Microsoft (R) AutoRest Code Generator.
- */
-
-package com.microsoft.azure.management.redis.v2017_10_01;
-
-import java.util.Map;
-import java.util.List;
-import com.fasterxml.jackson.annotation.JsonProperty;
-import com.microsoft.rest.serializer.JsonFlatten;
-
-/**
- * Parameters supplied to the Create Redis operation.
- */
-@JsonFlatten
-public class RedisCreateParameters {
- /**
- * All Redis Settings. Few possible keys:
- * rdb-backup-enabled,rdb-storage-connection-string,rdb-backup-frequency,maxmemory-delta,maxmemory-policy,notify-keyspace-events,maxmemory-samples,slowlog-log-slower-than,slowlog-max-len,list-max-ziplist-entries,list-max-ziplist-value,hash-max-ziplist-entries,hash-max-ziplist-value,set-max-intset-entries,zset-max-ziplist-entries,zset-max-ziplist-value
- * etc.
- */
- @JsonProperty(value = "properties.redisConfiguration")
- private Map redisConfiguration;
-
- /**
- * Specifies whether the non-ssl Redis server port (6379) is enabled.
- */
- @JsonProperty(value = "properties.enableNonSslPort")
- private Boolean enableNonSslPort;
-
- /**
- * A dictionary of tenant settings.
- */
- @JsonProperty(value = "properties.tenantSettings")
- private Map tenantSettings;
-
- /**
- * The number of shards to be created on a Premium Cluster Cache.
- */
- @JsonProperty(value = "properties.shardCount")
- private Integer shardCount;
-
- /**
- * The SKU of the Redis cache to deploy.
- */
- @JsonProperty(value = "properties.sku", required = true)
- private Sku sku;
-
- /**
- * The full resource ID of a subnet in a virtual network to deploy the
- * Redis cache in. Example format:
- * /subscriptions/{subid}/resourceGroups/{resourceGroupName}/Microsoft.{Network|ClassicNetwork}/VirtualNetworks/vnet1/subnets/subnet1.
- */
- @JsonProperty(value = "properties.subnetId")
- private String subnetId;
-
- /**
- * Static IP address. Required when deploying a Redis cache inside an
- * existing Azure Virtual Network.
- */
- @JsonProperty(value = "properties.staticIP")
- private String staticIP;
-
- /**
- * A list of availability zones denoting where the resource needs to come
- * from.
- */
- @JsonProperty(value = "zones")
- private List zones;
-
- /**
- * The geo-location where the resource lives.
- */
- @JsonProperty(value = "location", required = true)
- private String location;
-
- /**
- * Resource tags.
- */
- @JsonProperty(value = "tags")
- private Map tags;
-
- /**
- * Get the redisConfiguration value.
- *
- * @return the redisConfiguration value
- */
- public Map redisConfiguration() {
- return this.redisConfiguration;
- }
-
- /**
- * Set the redisConfiguration value.
- *
- * @param redisConfiguration the redisConfiguration value to set
- * @return the RedisCreateParameters object itself.
- */
- public RedisCreateParameters withRedisConfiguration(Map redisConfiguration) {
- this.redisConfiguration = redisConfiguration;
- return this;
- }
-
- /**
- * Get the enableNonSslPort value.
- *
- * @return the enableNonSslPort value
- */
- public Boolean enableNonSslPort() {
- return this.enableNonSslPort;
- }
-
- /**
- * Set the enableNonSslPort value.
- *
- * @param enableNonSslPort the enableNonSslPort value to set
- * @return the RedisCreateParameters object itself.
- */
- public RedisCreateParameters withEnableNonSslPort(Boolean enableNonSslPort) {
- this.enableNonSslPort = enableNonSslPort;
- return this;
- }
-
- /**
- * Get the tenantSettings value.
- *
- * @return the tenantSettings value
- */
- public Map tenantSettings() {
- return this.tenantSettings;
- }
-
- /**
- * Set the tenantSettings value.
- *
- * @param tenantSettings the tenantSettings value to set
- * @return the RedisCreateParameters object itself.
- */
- public RedisCreateParameters withTenantSettings(Map tenantSettings) {
- this.tenantSettings = tenantSettings;
- return this;
- }
-
- /**
- * Get the shardCount value.
- *
- * @return the shardCount value
- */
- public Integer shardCount() {
- return this.shardCount;
- }
-
- /**
- * Set the shardCount value.
- *
- * @param shardCount the shardCount value to set
- * @return the RedisCreateParameters object itself.
- */
- public RedisCreateParameters withShardCount(Integer shardCount) {
- this.shardCount = shardCount;
- return this;
- }
-
- /**
- * Get the sku value.
- *
- * @return the sku value
- */
- public Sku sku() {
- return this.sku;
- }
-
- /**
- * Set the sku value.
- *
- * @param sku the sku value to set
- * @return the RedisCreateParameters object itself.
- */
- public RedisCreateParameters withSku(Sku sku) {
- this.sku = sku;
- return this;
- }
-
- /**
- * Get the subnetId value.
- *
- * @return the subnetId value
- */
- public String subnetId() {
- return this.subnetId;
- }
-
- /**
- * Set the subnetId value.
- *
- * @param subnetId the subnetId value to set
- * @return the RedisCreateParameters object itself.
- */
- public RedisCreateParameters withSubnetId(String subnetId) {
- this.subnetId = subnetId;
- return this;
- }
-
- /**
- * Get the staticIP value.
- *
- * @return the staticIP value
- */
- public String staticIP() {
- return this.staticIP;
- }
-
- /**
- * Set the staticIP value.
- *
- * @param staticIP the staticIP value to set
- * @return the RedisCreateParameters object itself.
- */
- public RedisCreateParameters withStaticIP(String staticIP) {
- this.staticIP = staticIP;
- return this;
- }
-
- /**
- * Get the zones value.
- *
- * @return the zones value
- */
- public List zones() {
- return this.zones;
- }
-
- /**
- * Set the zones value.
- *
- * @param zones the zones value to set
- * @return the RedisCreateParameters object itself.
- */
- public RedisCreateParameters withZones(List zones) {
- this.zones = zones;
- return this;
- }
-
- /**
- * Get the location value.
- *
- * @return the location value
- */
- public String location() {
- return this.location;
- }
-
- /**
- * Set the location value.
- *
- * @param location the location value to set
- * @return the RedisCreateParameters object itself.
- */
- public RedisCreateParameters withLocation(String location) {
- this.location = location;
- return this;
- }
-
- /**
- * Get the tags value.
- *
- * @return the tags value
- */
- public Map tags() {
- return this.tags;
- }
-
- /**
- * Set the tags value.
- *
- * @param tags the tags value to set
- * @return the RedisCreateParameters object itself.
- */
- public RedisCreateParameters withTags(Map tags) {
- this.tags = tags;
- return this;
- }
-
-}
diff --git a/redis/resource-manager/v2017_10_01/src/main/java/com/microsoft/azure/management/redis/v2017_10_01/RedisFirewallRule.java b/redis/resource-manager/v2017_10_01/src/main/java/com/microsoft/azure/management/redis/v2017_10_01/RedisFirewallRule.java
deleted file mode 100644
index 61656c537cace..0000000000000
--- a/redis/resource-manager/v2017_10_01/src/main/java/com/microsoft/azure/management/redis/v2017_10_01/RedisFirewallRule.java
+++ /dev/null
@@ -1,115 +0,0 @@
-/**
- * Copyright (c) Microsoft Corporation. All rights reserved.
- * Licensed under the MIT License. See License.txt in the project root for
- * license information.
- *
- * Code generated by Microsoft (R) AutoRest Code Generator.
- */
-
-package com.microsoft.azure.management.redis.v2017_10_01;
-
-import com.microsoft.azure.arm.model.HasInner;
-import com.microsoft.azure.management.redis.v2017_10_01.implementation.RedisFirewallRuleInner;
-import com.microsoft.azure.arm.model.Indexable;
-import com.microsoft.azure.arm.model.Refreshable;
-import com.microsoft.azure.arm.model.Updatable;
-import com.microsoft.azure.arm.model.Appliable;
-import com.microsoft.azure.arm.model.Creatable;
-import com.microsoft.azure.arm.resources.models.HasManager;
-import com.microsoft.azure.management.redis.v2017_10_01.implementation.RedisManager;
-
-/**
- * Type representing RedisFirewallRule.
- */
-public interface RedisFirewallRule extends HasInner, Indexable, Refreshable, Updatable, HasManager {
- /**
- * @return the endIP value.
- */
- String endIP();
-
- /**
- * @return the id value.
- */
- String id();
-
- /**
- * @return the name value.
- */
- String name();
-
- /**
- * @return the startIP value.
- */
- String startIP();
-
- /**
- * @return the type value.
- */
- String type();
-
- /**
- * The entirety of the RedisFirewallRule definition.
- */
- interface Definition extends DefinitionStages.Blank, DefinitionStages.WithRedis, DefinitionStages.WithEndIP, DefinitionStages.WithStartIP, DefinitionStages.WithCreate {
- }
-
- /**
- * Grouping of RedisFirewallRule definition stages.
- */
- interface DefinitionStages {
- /**
- * The first stage of a RedisFirewallRule definition.
- */
- interface Blank extends WithRedis {
- }
-
- /**
- * The stage of the redisfirewallrule definition allowing to specify Redis.
- */
- interface WithRedis {
- /**
- * Specifies resourceGroupName, cacheName.
- */
- WithEndIP withExistingRedis(String resourceGroupName, String cacheName);
- }
-
- /**
- * The stage of the redisfirewallrule definition allowing to specify EndIP.
- */
- interface WithEndIP {
- /**
- * Specifies endIP.
- */
- WithStartIP withEndIP(String endIP);
- }
-
- /**
- * The stage of the redisfirewallrule definition allowing to specify StartIP.
- */
- interface WithStartIP {
- /**
- * Specifies startIP.
- */
- WithCreate withStartIP(String startIP);
- }
-
- /**
- * The stage of the definition which contains all the minimum required inputs for
- * the resource to be created (via {@link WithCreate#create()}), but also allows
- * for any other optional settings to be specified.
- */
- interface WithCreate extends Creatable {
- }
- }
- /**
- * The template for a RedisFirewallRule update operation, containing all the settings that can be modified.
- */
- interface Update extends Appliable {
- }
-
- /**
- * Grouping of RedisFirewallRule update stages.
- */
- interface UpdateStages {
- }
-}
diff --git a/redis/resource-manager/v2017_10_01/src/main/java/com/microsoft/azure/management/redis/v2017_10_01/RedisFirewallRuleCreateParameters.java b/redis/resource-manager/v2017_10_01/src/main/java/com/microsoft/azure/management/redis/v2017_10_01/RedisFirewallRuleCreateParameters.java
deleted file mode 100644
index 7ecf1be96915f..0000000000000
--- a/redis/resource-manager/v2017_10_01/src/main/java/com/microsoft/azure/management/redis/v2017_10_01/RedisFirewallRuleCreateParameters.java
+++ /dev/null
@@ -1,71 +0,0 @@
-/**
- * Copyright (c) Microsoft Corporation. All rights reserved.
- * Licensed under the MIT License. See License.txt in the project root for
- * license information.
- *
- * Code generated by Microsoft (R) AutoRest Code Generator.
- */
-
-package com.microsoft.azure.management.redis.v2017_10_01;
-
-import com.fasterxml.jackson.annotation.JsonProperty;
-import com.microsoft.rest.serializer.JsonFlatten;
-
-/**
- * Parameters required for creating a firewall rule on redis cache.
- */
-@JsonFlatten
-public class RedisFirewallRuleCreateParameters {
- /**
- * lowest IP address included in the range.
- */
- @JsonProperty(value = "properties.startIP", required = true)
- private String startIP;
-
- /**
- * highest IP address included in the range.
- */
- @JsonProperty(value = "properties.endIP", required = true)
- private String endIP;
-
- /**
- * Get the startIP value.
- *
- * @return the startIP value
- */
- public String startIP() {
- return this.startIP;
- }
-
- /**
- * Set the startIP value.
- *
- * @param startIP the startIP value to set
- * @return the RedisFirewallRuleCreateParameters object itself.
- */
- public RedisFirewallRuleCreateParameters withStartIP(String startIP) {
- this.startIP = startIP;
- return this;
- }
-
- /**
- * Get the endIP value.
- *
- * @return the endIP value
- */
- public String endIP() {
- return this.endIP;
- }
-
- /**
- * Set the endIP value.
- *
- * @param endIP the endIP value to set
- * @return the RedisFirewallRuleCreateParameters object itself.
- */
- public RedisFirewallRuleCreateParameters withEndIP(String endIP) {
- this.endIP = endIP;
- return this;
- }
-
-}
diff --git a/redis/resource-manager/v2017_10_01/src/main/java/com/microsoft/azure/management/redis/v2017_10_01/RedisForceRebootResponse.java b/redis/resource-manager/v2017_10_01/src/main/java/com/microsoft/azure/management/redis/v2017_10_01/RedisForceRebootResponse.java
deleted file mode 100644
index e479b6a2f00ff..0000000000000
--- a/redis/resource-manager/v2017_10_01/src/main/java/com/microsoft/azure/management/redis/v2017_10_01/RedisForceRebootResponse.java
+++ /dev/null
@@ -1,25 +0,0 @@
-/**
- * Copyright (c) Microsoft Corporation. All rights reserved.
- * Licensed under the MIT License. See License.txt in the project root for
- * license information.
- *
- * Code generated by Microsoft (R) AutoRest Code Generator.
- */
-
-package com.microsoft.azure.management.redis.v2017_10_01;
-
-import com.microsoft.azure.arm.model.HasInner;
-import com.microsoft.azure.arm.resources.models.HasManager;
-import com.microsoft.azure.management.redis.v2017_10_01.implementation.RedisManager;
-import com.microsoft.azure.management.redis.v2017_10_01.implementation.RedisForceRebootResponseInner;
-
-/**
- * Type representing RedisForceRebootResponse.
- */
-public interface RedisForceRebootResponse extends HasInner, HasManager {
- /**
- * @return the message value.
- */
- String message();
-
-}
diff --git a/redis/resource-manager/v2017_10_01/src/main/java/com/microsoft/azure/management/redis/v2017_10_01/RedisKeyType.java b/redis/resource-manager/v2017_10_01/src/main/java/com/microsoft/azure/management/redis/v2017_10_01/RedisKeyType.java
deleted file mode 100644
index 69c02f8dd6bef..0000000000000
--- a/redis/resource-manager/v2017_10_01/src/main/java/com/microsoft/azure/management/redis/v2017_10_01/RedisKeyType.java
+++ /dev/null
@@ -1,53 +0,0 @@
-/**
- * Copyright (c) Microsoft Corporation. All rights reserved.
- * Licensed under the MIT License. See License.txt in the project root for
- * license information.
- *
- * Code generated by Microsoft (R) AutoRest Code Generator.
- */
-
-package com.microsoft.azure.management.redis.v2017_10_01;
-
-import com.fasterxml.jackson.annotation.JsonCreator;
-import com.fasterxml.jackson.annotation.JsonValue;
-
-/**
- * Defines values for RedisKeyType.
- */
-public enum RedisKeyType {
- /** Enum value Primary. */
- PRIMARY("Primary"),
-
- /** Enum value Secondary. */
- SECONDARY("Secondary");
-
- /** The actual serialized value for a RedisKeyType instance. */
- private String value;
-
- RedisKeyType(String value) {
- this.value = value;
- }
-
- /**
- * Parses a serialized value to a RedisKeyType instance.
- *
- * @param value the serialized value to parse.
- * @return the parsed RedisKeyType object, or null if unable to parse.
- */
- @JsonCreator
- public static RedisKeyType fromString(String value) {
- RedisKeyType[] items = RedisKeyType.values();
- for (RedisKeyType item : items) {
- if (item.toString().equalsIgnoreCase(value)) {
- return item;
- }
- }
- return null;
- }
-
- @JsonValue
- @Override
- public String toString() {
- return this.value;
- }
-}
diff --git a/redis/resource-manager/v2017_10_01/src/main/java/com/microsoft/azure/management/redis/v2017_10_01/RedisLinkedServer.java b/redis/resource-manager/v2017_10_01/src/main/java/com/microsoft/azure/management/redis/v2017_10_01/RedisLinkedServer.java
deleted file mode 100644
index a5a3468fa98ae..0000000000000
--- a/redis/resource-manager/v2017_10_01/src/main/java/com/microsoft/azure/management/redis/v2017_10_01/RedisLinkedServer.java
+++ /dev/null
@@ -1,32 +0,0 @@
-/**
- * Copyright (c) Microsoft Corporation. All rights reserved.
- * Licensed under the MIT License. See License.txt in the project root for
- * license information.
- *
- * Code generated by Microsoft (R) AutoRest Code Generator.
- */
-
-package com.microsoft.azure.management.redis.v2017_10_01;
-
-import com.fasterxml.jackson.annotation.JsonProperty;
-
-/**
- * Linked server Id.
- */
-public class RedisLinkedServer {
- /**
- * Linked server Id.
- */
- @JsonProperty(value = "id", access = JsonProperty.Access.WRITE_ONLY)
- private String id;
-
- /**
- * Get the id value.
- *
- * @return the id value
- */
- public String id() {
- return this.id;
- }
-
-}
diff --git a/redis/resource-manager/v2017_10_01/src/main/java/com/microsoft/azure/management/redis/v2017_10_01/RedisLinkedServerCreateParameters.java b/redis/resource-manager/v2017_10_01/src/main/java/com/microsoft/azure/management/redis/v2017_10_01/RedisLinkedServerCreateParameters.java
deleted file mode 100644
index 452699b683af0..0000000000000
--- a/redis/resource-manager/v2017_10_01/src/main/java/com/microsoft/azure/management/redis/v2017_10_01/RedisLinkedServerCreateParameters.java
+++ /dev/null
@@ -1,98 +0,0 @@
-/**
- * Copyright (c) Microsoft Corporation. All rights reserved.
- * Licensed under the MIT License. See License.txt in the project root for
- * license information.
- *
- * Code generated by Microsoft (R) AutoRest Code Generator.
- */
-
-package com.microsoft.azure.management.redis.v2017_10_01;
-
-import com.fasterxml.jackson.annotation.JsonProperty;
-import com.microsoft.rest.serializer.JsonFlatten;
-
-/**
- * Parameter required for creating a linked server to redis cache.
- */
-@JsonFlatten
-public class RedisLinkedServerCreateParameters {
- /**
- * Fully qualified resourceId of the linked redis cache.
- */
- @JsonProperty(value = "properties.linkedRedisCacheId", required = true)
- private String linkedRedisCacheId;
-
- /**
- * Location of the linked redis cache.
- */
- @JsonProperty(value = "properties.linkedRedisCacheLocation", required = true)
- private String linkedRedisCacheLocation;
-
- /**
- * Role of the linked server. Possible values include: 'Primary',
- * 'Secondary'.
- */
- @JsonProperty(value = "properties.serverRole", required = true)
- private ReplicationRole serverRole;
-
- /**
- * Get the linkedRedisCacheId value.
- *
- * @return the linkedRedisCacheId value
- */
- public String linkedRedisCacheId() {
- return this.linkedRedisCacheId;
- }
-
- /**
- * Set the linkedRedisCacheId value.
- *
- * @param linkedRedisCacheId the linkedRedisCacheId value to set
- * @return the RedisLinkedServerCreateParameters object itself.
- */
- public RedisLinkedServerCreateParameters withLinkedRedisCacheId(String linkedRedisCacheId) {
- this.linkedRedisCacheId = linkedRedisCacheId;
- return this;
- }
-
- /**
- * Get the linkedRedisCacheLocation value.
- *
- * @return the linkedRedisCacheLocation value
- */
- public String linkedRedisCacheLocation() {
- return this.linkedRedisCacheLocation;
- }
-
- /**
- * Set the linkedRedisCacheLocation value.
- *
- * @param linkedRedisCacheLocation the linkedRedisCacheLocation value to set
- * @return the RedisLinkedServerCreateParameters object itself.
- */
- public RedisLinkedServerCreateParameters withLinkedRedisCacheLocation(String linkedRedisCacheLocation) {
- this.linkedRedisCacheLocation = linkedRedisCacheLocation;
- return this;
- }
-
- /**
- * Get the serverRole value.
- *
- * @return the serverRole value
- */
- public ReplicationRole serverRole() {
- return this.serverRole;
- }
-
- /**
- * Set the serverRole value.
- *
- * @param serverRole the serverRole value to set
- * @return the RedisLinkedServerCreateParameters object itself.
- */
- public RedisLinkedServerCreateParameters withServerRole(ReplicationRole serverRole) {
- this.serverRole = serverRole;
- return this;
- }
-
-}
diff --git a/redis/resource-manager/v2017_10_01/src/main/java/com/microsoft/azure/management/redis/v2017_10_01/RedisLinkedServerWithProperties.java b/redis/resource-manager/v2017_10_01/src/main/java/com/microsoft/azure/management/redis/v2017_10_01/RedisLinkedServerWithProperties.java
deleted file mode 100644
index 4ff96e0372ee0..0000000000000
--- a/redis/resource-manager/v2017_10_01/src/main/java/com/microsoft/azure/management/redis/v2017_10_01/RedisLinkedServerWithProperties.java
+++ /dev/null
@@ -1,135 +0,0 @@
-/**
- * Copyright (c) Microsoft Corporation. All rights reserved.
- * Licensed under the MIT License. See License.txt in the project root for
- * license information.
- *
- * Code generated by Microsoft (R) AutoRest Code Generator.
- */
-
-package com.microsoft.azure.management.redis.v2017_10_01;
-
-import com.microsoft.azure.arm.model.HasInner;
-import com.microsoft.azure.management.redis.v2017_10_01.implementation.RedisLinkedServerWithPropertiesInner;
-import com.microsoft.azure.arm.model.Indexable;
-import com.microsoft.azure.arm.model.Refreshable;
-import com.microsoft.azure.arm.model.Updatable;
-import com.microsoft.azure.arm.model.Appliable;
-import com.microsoft.azure.arm.model.Creatable;
-import com.microsoft.azure.arm.resources.models.HasManager;
-import com.microsoft.azure.management.redis.v2017_10_01.implementation.RedisManager;
-
-/**
- * Type representing RedisLinkedServerWithProperties.
- */
-public interface RedisLinkedServerWithProperties extends HasInner, Indexable, Refreshable, Updatable, HasManager {
- /**
- * @return the id value.
- */
- String id();
-
- /**
- * @return the linkedRedisCacheId value.
- */
- String linkedRedisCacheId();
-
- /**
- * @return the linkedRedisCacheLocation value.
- */
- String linkedRedisCacheLocation();
-
- /**
- * @return the name value.
- */
- String name();
-
- /**
- * @return the provisioningState value.
- */
- String provisioningState();
-
- /**
- * @return the serverRole value.
- */
- ReplicationRole serverRole();
-
- /**
- * @return the type value.
- */
- String type();
-
- /**
- * The entirety of the RedisLinkedServerWithProperties definition.
- */
- interface Definition extends DefinitionStages.Blank, DefinitionStages.WithRedis, DefinitionStages.WithLinkedRedisCacheId, DefinitionStages.WithLinkedRedisCacheLocation, DefinitionStages.WithServerRole, DefinitionStages.WithCreate {
- }
-
- /**
- * Grouping of RedisLinkedServerWithProperties definition stages.
- */
- interface DefinitionStages {
- /**
- * The first stage of a RedisLinkedServerWithProperties definition.
- */
- interface Blank extends WithRedis {
- }
-
- /**
- * The stage of the redislinkedserverwithproperties definition allowing to specify Redis.
- */
- interface WithRedis {
- /**
- * Specifies resourceGroupName, name.
- */
- WithLinkedRedisCacheId withExistingRedis(String resourceGroupName, String name);
- }
-
- /**
- * The stage of the redislinkedserverwithproperties definition allowing to specify LinkedRedisCacheId.
- */
- interface WithLinkedRedisCacheId {
- /**
- * Specifies linkedRedisCacheId.
- */
- WithLinkedRedisCacheLocation withLinkedRedisCacheId(String linkedRedisCacheId);
- }
-
- /**
- * The stage of the redislinkedserverwithproperties definition allowing to specify LinkedRedisCacheLocation.
- */
- interface WithLinkedRedisCacheLocation {
- /**
- * Specifies linkedRedisCacheLocation.
- */
- WithServerRole withLinkedRedisCacheLocation(String linkedRedisCacheLocation);
- }
-
- /**
- * The stage of the redislinkedserverwithproperties definition allowing to specify ServerRole.
- */
- interface WithServerRole {
- /**
- * Specifies serverRole.
- */
- WithCreate withServerRole(ReplicationRole serverRole);
- }
-
- /**
- * The stage of the definition which contains all the minimum required inputs for
- * the resource to be created (via {@link WithCreate#create()}), but also allows
- * for any other optional settings to be specified.
- */
- interface WithCreate extends Creatable {
- }
- }
- /**
- * The template for a RedisLinkedServerWithProperties update operation, containing all the settings that can be modified.
- */
- interface Update extends Appliable {
- }
-
- /**
- * Grouping of RedisLinkedServerWithProperties update stages.
- */
- interface UpdateStages {
- }
-}
diff --git a/redis/resource-manager/v2017_10_01/src/main/java/com/microsoft/azure/management/redis/v2017_10_01/RedisPatchSchedule.java b/redis/resource-manager/v2017_10_01/src/main/java/com/microsoft/azure/management/redis/v2017_10_01/RedisPatchSchedule.java
deleted file mode 100644
index ac9941257178b..0000000000000
--- a/redis/resource-manager/v2017_10_01/src/main/java/com/microsoft/azure/management/redis/v2017_10_01/RedisPatchSchedule.java
+++ /dev/null
@@ -1,111 +0,0 @@
-/**
- * Copyright (c) Microsoft Corporation. All rights reserved.
- * Licensed under the MIT License. See License.txt in the project root for
- * license information.
- *
- * Code generated by Microsoft (R) AutoRest Code Generator.
- */
-
-package com.microsoft.azure.management.redis.v2017_10_01;
-
-import com.microsoft.azure.arm.model.HasInner;
-import com.microsoft.azure.management.redis.v2017_10_01.implementation.RedisPatchScheduleInner;
-import com.microsoft.azure.arm.model.Indexable;
-import com.microsoft.azure.arm.model.Refreshable;
-import com.microsoft.azure.arm.model.Updatable;
-import com.microsoft.azure.arm.model.Appliable;
-import com.microsoft.azure.arm.model.Creatable;
-import com.microsoft.azure.arm.resources.models.HasManager;
-import com.microsoft.azure.management.redis.v2017_10_01.implementation.RedisManager;
-import java.util.List;
-
-/**
- * Type representing RedisPatchSchedule.
- */
-public interface RedisPatchSchedule extends HasInner, Indexable, Refreshable, Updatable, HasManager {
- /**
- * @return the id value.
- */
- String id();
-
- /**
- * @return the name value.
- */
- String name();
-
- /**
- * @return the scheduleEntries value.
- */
- List scheduleEntries();
-
- /**
- * @return the type value.
- */
- String type();
-
- /**
- * The entirety of the RedisPatchSchedule definition.
- */
- interface Definition extends DefinitionStages.Blank, DefinitionStages.WithRedis, DefinitionStages.WithScheduleEntries, DefinitionStages.WithCreate {
- }
-
- /**
- * Grouping of RedisPatchSchedule definition stages.
- */
- interface DefinitionStages {
- /**
- * The first stage of a RedisPatchSchedule definition.
- */
- interface Blank extends WithRedis {
- }
-
- /**
- * The stage of the redispatchschedule definition allowing to specify Redis.
- */
- interface WithRedis {
- /**
- * Specifies resourceGroupName, name.
- */
- WithScheduleEntries withExistingRedis(String resourceGroupName, String name);
- }
-
- /**
- * The stage of the redispatchschedule definition allowing to specify ScheduleEntries.
- */
- interface WithScheduleEntries {
- /**
- * Specifies scheduleEntries.
- */
- WithCreate withScheduleEntries(List scheduleEntries);
- }
-
- /**
- * The stage of the definition which contains all the minimum required inputs for
- * the resource to be created (via {@link WithCreate#create()}), but also allows
- * for any other optional settings to be specified.
- */
- interface WithCreate extends Creatable {
- }
- }
- /**
- * The template for a RedisPatchSchedule update operation, containing all the settings that can be modified.
- */
- interface Update extends Appliable, UpdateStages.WithScheduleEntries {
- }
-
- /**
- * Grouping of RedisPatchSchedule update stages.
- */
- interface UpdateStages {
- /**
- * The stage of the redispatchschedule update allowing to specify ScheduleEntries.
- */
- interface WithScheduleEntries {
- /**
- * Specifies scheduleEntries.
- */
- Update withScheduleEntries(List scheduleEntries);
- }
-
- }
-}
diff --git a/redis/resource-manager/v2017_10_01/src/main/java/com/microsoft/azure/management/redis/v2017_10_01/RedisRebootParameters.java b/redis/resource-manager/v2017_10_01/src/main/java/com/microsoft/azure/management/redis/v2017_10_01/RedisRebootParameters.java
deleted file mode 100644
index 7223d097c3c80..0000000000000
--- a/redis/resource-manager/v2017_10_01/src/main/java/com/microsoft/azure/management/redis/v2017_10_01/RedisRebootParameters.java
+++ /dev/null
@@ -1,71 +0,0 @@
-/**
- * Copyright (c) Microsoft Corporation. All rights reserved.
- * Licensed under the MIT License. See License.txt in the project root for
- * license information.
- *
- * Code generated by Microsoft (R) AutoRest Code Generator.
- */
-
-package com.microsoft.azure.management.redis.v2017_10_01;
-
-import com.fasterxml.jackson.annotation.JsonProperty;
-
-/**
- * Specifies which Redis node(s) to reboot.
- */
-public class RedisRebootParameters {
- /**
- * Which Redis node(s) to reboot. Depending on this value data loss is
- * possible. Possible values include: 'PrimaryNode', 'SecondaryNode',
- * 'AllNodes'.
- */
- @JsonProperty(value = "rebootType", required = true)
- private RebootType rebootType;
-
- /**
- * If clustering is enabled, the ID of the shard to be rebooted.
- */
- @JsonProperty(value = "shardId")
- private Integer shardId;
-
- /**
- * Get the rebootType value.
- *
- * @return the rebootType value
- */
- public RebootType rebootType() {
- return this.rebootType;
- }
-
- /**
- * Set the rebootType value.
- *
- * @param rebootType the rebootType value to set
- * @return the RedisRebootParameters object itself.
- */
- public RedisRebootParameters withRebootType(RebootType rebootType) {
- this.rebootType = rebootType;
- return this;
- }
-
- /**
- * Get the shardId value.
- *
- * @return the shardId value
- */
- public Integer shardId() {
- return this.shardId;
- }
-
- /**
- * Set the shardId value.
- *
- * @param shardId the shardId value to set
- * @return the RedisRebootParameters object itself.
- */
- public RedisRebootParameters withShardId(Integer shardId) {
- this.shardId = shardId;
- return this;
- }
-
-}
diff --git a/redis/resource-manager/v2017_10_01/src/main/java/com/microsoft/azure/management/redis/v2017_10_01/RedisRegenerateKeyParameters.java b/redis/resource-manager/v2017_10_01/src/main/java/com/microsoft/azure/management/redis/v2017_10_01/RedisRegenerateKeyParameters.java
deleted file mode 100644
index 12b13d28ac732..0000000000000
--- a/redis/resource-manager/v2017_10_01/src/main/java/com/microsoft/azure/management/redis/v2017_10_01/RedisRegenerateKeyParameters.java
+++ /dev/null
@@ -1,44 +0,0 @@
-/**
- * Copyright (c) Microsoft Corporation. All rights reserved.
- * Licensed under the MIT License. See License.txt in the project root for
- * license information.
- *
- * Code generated by Microsoft (R) AutoRest Code Generator.
- */
-
-package com.microsoft.azure.management.redis.v2017_10_01;
-
-import com.fasterxml.jackson.annotation.JsonProperty;
-
-/**
- * Specifies which Redis access keys to reset.
- */
-public class RedisRegenerateKeyParameters {
- /**
- * The Redis access key to regenerate. Possible values include: 'Primary',
- * 'Secondary'.
- */
- @JsonProperty(value = "keyType", required = true)
- private RedisKeyType keyType;
-
- /**
- * Get the keyType value.
- *
- * @return the keyType value
- */
- public RedisKeyType keyType() {
- return this.keyType;
- }
-
- /**
- * Set the keyType value.
- *
- * @param keyType the keyType value to set
- * @return the RedisRegenerateKeyParameters object itself.
- */
- public RedisRegenerateKeyParameters withKeyType(RedisKeyType keyType) {
- this.keyType = keyType;
- return this;
- }
-
-}
diff --git a/redis/resource-manager/v2017_10_01/src/main/java/com/microsoft/azure/management/redis/v2017_10_01/RedisResource.java b/redis/resource-manager/v2017_10_01/src/main/java/com/microsoft/azure/management/redis/v2017_10_01/RedisResource.java
deleted file mode 100644
index dbe298ed91ce0..0000000000000
--- a/redis/resource-manager/v2017_10_01/src/main/java/com/microsoft/azure/management/redis/v2017_10_01/RedisResource.java
+++ /dev/null
@@ -1,275 +0,0 @@
-/**
- * Copyright (c) Microsoft Corporation. All rights reserved.
- * Licensed under the MIT License. See License.txt in the project root for
- * license information.
- *
- * Code generated by Microsoft (R) AutoRest Code Generator.
- */
-
-package com.microsoft.azure.management.redis.v2017_10_01;
-
-import com.microsoft.azure.arm.model.HasInner;
-import com.microsoft.azure.arm.resources.models.Resource;
-import com.microsoft.azure.arm.resources.models.HasResourceGroup;
-import com.microsoft.azure.arm.model.Refreshable;
-import com.microsoft.azure.arm.model.Updatable;
-import com.microsoft.azure.arm.model.Appliable;
-import com.microsoft.azure.arm.model.Creatable;
-import com.microsoft.azure.arm.resources.models.GroupableResourceCore;
-import com.microsoft.azure.arm.resources.models.HasManager;
-import com.microsoft.azure.management.redis.v2017_10_01.implementation.RedisManager;
-import java.util.Map;
-import java.util.List;
-import com.microsoft.azure.management.redis.v2017_10_01.implementation.RedisResourceInner;
-
-/**
- * Type representing RedisResource.
- */
-public interface RedisResource extends HasInner, Resource, GroupableResourceCore, HasResourceGroup, Refreshable, Updatable, HasManager {
- /**
- * @return the accessKeys value.
- */
- RedisAccessKeys accessKeys();
-
- /**
- * @return the enableNonSslPort value.
- */
- Boolean enableNonSslPort();
-
- /**
- * @return the hostName value.
- */
- String hostName();
-
- /**
- * @return the linkedServers value.
- */
- List linkedServers();
-
- /**
- * @return the port value.
- */
- Integer port();
-
- /**
- * @return the provisioningState value.
- */
- String provisioningState();
-
- /**
- * @return the redisConfiguration value.
- */
- Map redisConfiguration();
-
- /**
- * @return the redisVersion value.
- */
- String redisVersion();
-
- /**
- * @return the shardCount value.
- */
- Integer shardCount();
-
- /**
- * @return the sku value.
- */
- Sku sku();
-
- /**
- * @return the sslPort value.
- */
- Integer sslPort();
-
- /**
- * @return the staticIP value.
- */
- String staticIP();
-
- /**
- * @return the subnetId value.
- */
- String subnetId();
-
- /**
- * @return the tenantSettings value.
- */
- Map tenantSettings();
-
- /**
- * @return the zones value.
- */
- List zones();
-
- /**
- * The entirety of the RedisResource definition.
- */
- interface Definition extends DefinitionStages.Blank, DefinitionStages.WithGroup, DefinitionStages.WithSku, DefinitionStages.WithCreate {
- }
-
- /**
- * Grouping of RedisResource definition stages.
- */
- interface DefinitionStages {
- /**
- * The first stage of a RedisResource definition.
- */
- interface Blank extends GroupableResourceCore.DefinitionWithRegion {
- }
-
- /**
- * The stage of the RedisResource definition allowing to specify the resource group.
- */
- interface WithGroup extends GroupableResourceCore.DefinitionStages.WithGroup {
- }
-
- /**
- * The stage of the redisresource definition allowing to specify Sku.
- */
- interface WithSku {
- /**
- * Specifies sku.
- */
- WithCreate withSku(Sku sku);
- }
-
- /**
- * The stage of the redisresource update allowing to specify EnableNonSslPort.
- */
- interface WithEnableNonSslPort {
- /**
- * Specifies enableNonSslPort.
- */
- WithCreate withEnableNonSslPort(Boolean enableNonSslPort);
- }
-
- /**
- * The stage of the redisresource update allowing to specify RedisConfiguration.
- */
- interface WithRedisConfiguration {
- /**
- * Specifies redisConfiguration.
- */
- WithCreate withRedisConfiguration(Map redisConfiguration);
- }
-
- /**
- * The stage of the redisresource update allowing to specify ShardCount.
- */
- interface WithShardCount {
- /**
- * Specifies shardCount.
- */
- WithCreate withShardCount(Integer shardCount);
- }
-
- /**
- * The stage of the redisresource update allowing to specify StaticIP.
- */
- interface WithStaticIP {
- /**
- * Specifies staticIP.
- */
- WithCreate withStaticIP(String staticIP);
- }
-
- /**
- * The stage of the redisresource update allowing to specify SubnetId.
- */
- interface WithSubnetId {
- /**
- * Specifies subnetId.
- */
- WithCreate withSubnetId(String subnetId);
- }
-
- /**
- * The stage of the redisresource update allowing to specify TenantSettings.
- */
- interface WithTenantSettings {
- /**
- * Specifies tenantSettings.
- */
- WithCreate withTenantSettings(Map tenantSettings);
- }
-
- /**
- * The stage of the redisresource update allowing to specify Zones.
- */
- interface WithZones {
- /**
- * Specifies zones.
- */
- WithCreate withZones(List zones);
- }
-
- /**
- * The stage of the definition which contains all the minimum required inputs for
- * the resource to be created (via {@link WithCreate#create()}), but also allows
- * for any other optional settings to be specified.
- */
- interface WithCreate extends Creatable, Resource.DefinitionWithTags, DefinitionStages.WithEnableNonSslPort, DefinitionStages.WithRedisConfiguration, DefinitionStages.WithShardCount, DefinitionStages.WithStaticIP, DefinitionStages.WithSubnetId, DefinitionStages.WithTenantSettings, DefinitionStages.WithZones {
- }
- }
- /**
- * The template for a RedisResource update operation, containing all the settings that can be modified.
- */
- interface Update extends Appliable, Resource.UpdateWithTags, UpdateStages.WithEnableNonSslPort, UpdateStages.WithRedisConfiguration, UpdateStages.WithShardCount, UpdateStages.WithSku, UpdateStages.WithTenantSettings {
- }
-
- /**
- * Grouping of RedisResource update stages.
- */
- interface UpdateStages {
- /**
- * The stage of the redisresource {0} allowing to specify EnableNonSslPort.
- */
- interface WithEnableNonSslPort {
- /**
- * Specifies enableNonSslPort.
- */
- Update withEnableNonSslPort(Boolean enableNonSslPort);
- }
-
- /**
- * The stage of the redisresource {0} allowing to specify RedisConfiguration.
- */
- interface WithRedisConfiguration {
- /**
- * Specifies redisConfiguration.
- */
- Update withRedisConfiguration(Map redisConfiguration);
- }
-
- /**
- * The stage of the redisresource {0} allowing to specify ShardCount.
- */
- interface WithShardCount {
- /**
- * Specifies shardCount.
- */
- Update withShardCount(Integer shardCount);
- }
-
- /**
- * The stage of the redisresource {0} allowing to specify Sku.
- */
- interface WithSku {
- /**
- * Specifies sku.
- */
- Update withSku(Sku sku);
- }
-
- /**
- * The stage of the redisresource {0} allowing to specify TenantSettings.
- */
- interface WithTenantSettings {
- /**
- * Specifies tenantSettings.
- */
- Update withTenantSettings(Map tenantSettings);
- }
-
- }
-}
diff --git a/redis/resource-manager/v2017_10_01/src/main/java/com/microsoft/azure/management/redis/v2017_10_01/RedisUpdateParameters.java b/redis/resource-manager/v2017_10_01/src/main/java/com/microsoft/azure/management/redis/v2017_10_01/RedisUpdateParameters.java
deleted file mode 100644
index 817852fd0a07a..0000000000000
--- a/redis/resource-manager/v2017_10_01/src/main/java/com/microsoft/azure/management/redis/v2017_10_01/RedisUpdateParameters.java
+++ /dev/null
@@ -1,178 +0,0 @@
-/**
- * Copyright (c) Microsoft Corporation. All rights reserved.
- * Licensed under the MIT License. See License.txt in the project root for
- * license information.
- *
- * Code generated by Microsoft (R) AutoRest Code Generator.
- */
-
-package com.microsoft.azure.management.redis.v2017_10_01;
-
-import java.util.Map;
-import com.fasterxml.jackson.annotation.JsonProperty;
-import com.microsoft.rest.serializer.JsonFlatten;
-
-/**
- * Parameters supplied to the Update Redis operation.
- */
-@JsonFlatten
-public class RedisUpdateParameters {
- /**
- * All Redis Settings. Few possible keys:
- * rdb-backup-enabled,rdb-storage-connection-string,rdb-backup-frequency,maxmemory-delta,maxmemory-policy,notify-keyspace-events,maxmemory-samples,slowlog-log-slower-than,slowlog-max-len,list-max-ziplist-entries,list-max-ziplist-value,hash-max-ziplist-entries,hash-max-ziplist-value,set-max-intset-entries,zset-max-ziplist-entries,zset-max-ziplist-value
- * etc.
- */
- @JsonProperty(value = "properties.redisConfiguration")
- private Map redisConfiguration;
-
- /**
- * Specifies whether the non-ssl Redis server port (6379) is enabled.
- */
- @JsonProperty(value = "properties.enableNonSslPort")
- private Boolean enableNonSslPort;
-
- /**
- * A dictionary of tenant settings.
- */
- @JsonProperty(value = "properties.tenantSettings")
- private Map tenantSettings;
-
- /**
- * The number of shards to be created on a Premium Cluster Cache.
- */
- @JsonProperty(value = "properties.shardCount")
- private Integer shardCount;
-
- /**
- * The SKU of the Redis cache to deploy.
- */
- @JsonProperty(value = "properties.sku")
- private Sku sku;
-
- /**
- * Resource tags.
- */
- @JsonProperty(value = "tags")
- private Map tags;
-
- /**
- * Get the redisConfiguration value.
- *
- * @return the redisConfiguration value
- */
- public Map redisConfiguration() {
- return this.redisConfiguration;
- }
-
- /**
- * Set the redisConfiguration value.
- *
- * @param redisConfiguration the redisConfiguration value to set
- * @return the RedisUpdateParameters object itself.
- */
- public RedisUpdateParameters withRedisConfiguration(Map redisConfiguration) {
- this.redisConfiguration = redisConfiguration;
- return this;
- }
-
- /**
- * Get the enableNonSslPort value.
- *
- * @return the enableNonSslPort value
- */
- public Boolean enableNonSslPort() {
- return this.enableNonSslPort;
- }
-
- /**
- * Set the enableNonSslPort value.
- *
- * @param enableNonSslPort the enableNonSslPort value to set
- * @return the RedisUpdateParameters object itself.
- */
- public RedisUpdateParameters withEnableNonSslPort(Boolean enableNonSslPort) {
- this.enableNonSslPort = enableNonSslPort;
- return this;
- }
-
- /**
- * Get the tenantSettings value.
- *
- * @return the tenantSettings value
- */
- public Map tenantSettings() {
- return this.tenantSettings;
- }
-
- /**
- * Set the tenantSettings value.
- *
- * @param tenantSettings the tenantSettings value to set
- * @return the RedisUpdateParameters object itself.
- */
- public RedisUpdateParameters withTenantSettings(Map tenantSettings) {
- this.tenantSettings = tenantSettings;
- return this;
- }
-
- /**
- * Get the shardCount value.
- *
- * @return the shardCount value
- */
- public Integer shardCount() {
- return this.shardCount;
- }
-
- /**
- * Set the shardCount value.
- *
- * @param shardCount the shardCount value to set
- * @return the RedisUpdateParameters object itself.
- */
- public RedisUpdateParameters withShardCount(Integer shardCount) {
- this.shardCount = shardCount;
- return this;
- }
-
- /**
- * Get the sku value.
- *
- * @return the sku value
- */
- public Sku sku() {
- return this.sku;
- }
-
- /**
- * Set the sku value.
- *
- * @param sku the sku value to set
- * @return the RedisUpdateParameters object itself.
- */
- public RedisUpdateParameters withSku(Sku sku) {
- this.sku = sku;
- return this;
- }
-
- /**
- * Get the tags value.
- *
- * @return the tags value
- */
- public Map tags() {
- return this.tags;
- }
-
- /**
- * Set the tags value.
- *
- * @param tags the tags value to set
- * @return the RedisUpdateParameters object itself.
- */
- public RedisUpdateParameters withTags(Map tags) {
- this.tags = tags;
- return this;
- }
-
-}
diff --git a/redis/resource-manager/v2017_10_01/src/main/java/com/microsoft/azure/management/redis/v2017_10_01/ReplicationRole.java b/redis/resource-manager/v2017_10_01/src/main/java/com/microsoft/azure/management/redis/v2017_10_01/ReplicationRole.java
deleted file mode 100644
index 7029d74933a2e..0000000000000
--- a/redis/resource-manager/v2017_10_01/src/main/java/com/microsoft/azure/management/redis/v2017_10_01/ReplicationRole.java
+++ /dev/null
@@ -1,53 +0,0 @@
-/**
- * Copyright (c) Microsoft Corporation. All rights reserved.
- * Licensed under the MIT License. See License.txt in the project root for
- * license information.
- *
- * Code generated by Microsoft (R) AutoRest Code Generator.
- */
-
-package com.microsoft.azure.management.redis.v2017_10_01;
-
-import com.fasterxml.jackson.annotation.JsonCreator;
-import com.fasterxml.jackson.annotation.JsonValue;
-
-/**
- * Defines values for ReplicationRole.
- */
-public enum ReplicationRole {
- /** Enum value Primary. */
- PRIMARY("Primary"),
-
- /** Enum value Secondary. */
- SECONDARY("Secondary");
-
- /** The actual serialized value for a ReplicationRole instance. */
- private String value;
-
- ReplicationRole(String value) {
- this.value = value;
- }
-
- /**
- * Parses a serialized value to a ReplicationRole instance.
- *
- * @param value the serialized value to parse.
- * @return the parsed ReplicationRole object, or null if unable to parse.
- */
- @JsonCreator
- public static ReplicationRole fromString(String value) {
- ReplicationRole[] items = ReplicationRole.values();
- for (ReplicationRole item : items) {
- if (item.toString().equalsIgnoreCase(value)) {
- return item;
- }
- }
- return null;
- }
-
- @JsonValue
- @Override
- public String toString() {
- return this.value;
- }
-}
diff --git a/redis/resource-manager/v2017_10_01/src/main/java/com/microsoft/azure/management/redis/v2017_10_01/ScheduleEntry.java b/redis/resource-manager/v2017_10_01/src/main/java/com/microsoft/azure/management/redis/v2017_10_01/ScheduleEntry.java
deleted file mode 100644
index 73d9be7b90fbf..0000000000000
--- a/redis/resource-manager/v2017_10_01/src/main/java/com/microsoft/azure/management/redis/v2017_10_01/ScheduleEntry.java
+++ /dev/null
@@ -1,98 +0,0 @@
-/**
- * Copyright (c) Microsoft Corporation. All rights reserved.
- * Licensed under the MIT License. See License.txt in the project root for
- * license information.
- *
- * Code generated by Microsoft (R) AutoRest Code Generator.
- */
-
-package com.microsoft.azure.management.redis.v2017_10_01;
-
-import org.joda.time.Period;
-import com.fasterxml.jackson.annotation.JsonProperty;
-
-/**
- * Patch schedule entry for a Premium Redis Cache.
- */
-public class ScheduleEntry {
- /**
- * Day of the week when a cache can be patched. Possible values include:
- * 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday',
- * 'Sunday', 'Everyday', 'Weekend'.
- */
- @JsonProperty(value = "dayOfWeek", required = true)
- private DayOfWeek dayOfWeek;
-
- /**
- * Start hour after which cache patching can start.
- */
- @JsonProperty(value = "startHourUtc", required = true)
- private int startHourUtc;
-
- /**
- * ISO8601 timespan specifying how much time cache patching can take.
- */
- @JsonProperty(value = "maintenanceWindow")
- private Period maintenanceWindow;
-
- /**
- * Get the dayOfWeek value.
- *
- * @return the dayOfWeek value
- */
- public DayOfWeek dayOfWeek() {
- return this.dayOfWeek;
- }
-
- /**
- * Set the dayOfWeek value.
- *
- * @param dayOfWeek the dayOfWeek value to set
- * @return the ScheduleEntry object itself.
- */
- public ScheduleEntry withDayOfWeek(DayOfWeek dayOfWeek) {
- this.dayOfWeek = dayOfWeek;
- return this;
- }
-
- /**
- * Get the startHourUtc value.
- *
- * @return the startHourUtc value
- */
- public int startHourUtc() {
- return this.startHourUtc;
- }
-
- /**
- * Set the startHourUtc value.
- *
- * @param startHourUtc the startHourUtc value to set
- * @return the ScheduleEntry object itself.
- */
- public ScheduleEntry withStartHourUtc(int startHourUtc) {
- this.startHourUtc = startHourUtc;
- return this;
- }
-
- /**
- * Get the maintenanceWindow value.
- *
- * @return the maintenanceWindow value
- */
- public Period maintenanceWindow() {
- return this.maintenanceWindow;
- }
-
- /**
- * Set the maintenanceWindow value.
- *
- * @param maintenanceWindow the maintenanceWindow value to set
- * @return the ScheduleEntry object itself.
- */
- public ScheduleEntry withMaintenanceWindow(Period maintenanceWindow) {
- this.maintenanceWindow = maintenanceWindow;
- return this;
- }
-
-}
diff --git a/redis/resource-manager/v2017_10_01/src/main/java/com/microsoft/azure/management/redis/v2017_10_01/Sku.java b/redis/resource-manager/v2017_10_01/src/main/java/com/microsoft/azure/management/redis/v2017_10_01/Sku.java
deleted file mode 100644
index 1e4e8cef940b6..0000000000000
--- a/redis/resource-manager/v2017_10_01/src/main/java/com/microsoft/azure/management/redis/v2017_10_01/Sku.java
+++ /dev/null
@@ -1,99 +0,0 @@
-/**
- * Copyright (c) Microsoft Corporation. All rights reserved.
- * Licensed under the MIT License. See License.txt in the project root for
- * license information.
- *
- * Code generated by Microsoft (R) AutoRest Code Generator.
- */
-
-package com.microsoft.azure.management.redis.v2017_10_01;
-
-import com.fasterxml.jackson.annotation.JsonProperty;
-
-/**
- * SKU parameters supplied to the create Redis operation.
- */
-public class Sku {
- /**
- * The type of Redis cache to deploy. Valid values: (Basic, Standard,
- * Premium). Possible values include: 'Basic', 'Standard', 'Premium'.
- */
- @JsonProperty(value = "name", required = true)
- private SkuName name;
-
- /**
- * The SKU family to use. Valid values: (C, P). (C = Basic/Standard, P =
- * Premium). Possible values include: 'C', 'P'.
- */
- @JsonProperty(value = "family", required = true)
- private SkuFamily family;
-
- /**
- * The size of the Redis cache to deploy. Valid values: for C
- * (Basic/Standard) family (0, 1, 2, 3, 4, 5, 6), for P (Premium) family
- * (1, 2, 3, 4).
- */
- @JsonProperty(value = "capacity", required = true)
- private int capacity;
-
- /**
- * Get the name value.
- *
- * @return the name value
- */
- public SkuName name() {
- return this.name;
- }
-
- /**
- * Set the name value.
- *
- * @param name the name value to set
- * @return the Sku object itself.
- */
- public Sku withName(SkuName name) {
- this.name = name;
- return this;
- }
-
- /**
- * Get the family value.
- *
- * @return the family value
- */
- public SkuFamily family() {
- return this.family;
- }
-
- /**
- * Set the family value.
- *
- * @param family the family value to set
- * @return the Sku object itself.
- */
- public Sku withFamily(SkuFamily family) {
- this.family = family;
- return this;
- }
-
- /**
- * Get the capacity value.
- *
- * @return the capacity value
- */
- public int capacity() {
- return this.capacity;
- }
-
- /**
- * Set the capacity value.
- *
- * @param capacity the capacity value to set
- * @return the Sku object itself.
- */
- public Sku withCapacity(int capacity) {
- this.capacity = capacity;
- return this;
- }
-
-}
diff --git a/redis/resource-manager/v2017_10_01/src/main/java/com/microsoft/azure/management/redis/v2017_10_01/SkuFamily.java b/redis/resource-manager/v2017_10_01/src/main/java/com/microsoft/azure/management/redis/v2017_10_01/SkuFamily.java
deleted file mode 100644
index c98ede6cd0422..0000000000000
--- a/redis/resource-manager/v2017_10_01/src/main/java/com/microsoft/azure/management/redis/v2017_10_01/SkuFamily.java
+++ /dev/null
@@ -1,41 +0,0 @@
-/**
- * Copyright (c) Microsoft Corporation. All rights reserved.
- * Licensed under the MIT License. See License.txt in the project root for
- * license information.
- *
- * Code generated by Microsoft (R) AutoRest Code Generator.
- */
-
-package com.microsoft.azure.management.redis.v2017_10_01;
-
-import java.util.Collection;
-import com.fasterxml.jackson.annotation.JsonCreator;
-import com.microsoft.rest.ExpandableStringEnum;
-
-/**
- * Defines values for SkuFamily.
- */
-public final class SkuFamily extends ExpandableStringEnum {
- /** Static value C for SkuFamily. */
- public static final SkuFamily C = fromString("C");
-
- /** Static value P for SkuFamily. */
- public static final SkuFamily P = fromString("P");
-
- /**
- * Creates or finds a SkuFamily from its string representation.
- * @param name a name to look for
- * @return the corresponding SkuFamily
- */
- @JsonCreator
- public static SkuFamily fromString(String name) {
- return fromString(name, SkuFamily.class);
- }
-
- /**
- * @return known SkuFamily values
- */
- public static Collection values() {
- return values(SkuFamily.class);
- }
-}
diff --git a/redis/resource-manager/v2017_10_01/src/main/java/com/microsoft/azure/management/redis/v2017_10_01/SkuName.java b/redis/resource-manager/v2017_10_01/src/main/java/com/microsoft/azure/management/redis/v2017_10_01/SkuName.java
deleted file mode 100644
index ec89db5b700a8..0000000000000
--- a/redis/resource-manager/v2017_10_01/src/main/java/com/microsoft/azure/management/redis/v2017_10_01/SkuName.java
+++ /dev/null
@@ -1,44 +0,0 @@
-/**
- * Copyright (c) Microsoft Corporation. All rights reserved.
- * Licensed under the MIT License. See License.txt in the project root for
- * license information.
- *
- * Code generated by Microsoft (R) AutoRest Code Generator.
- */
-
-package com.microsoft.azure.management.redis.v2017_10_01;
-
-import java.util.Collection;
-import com.fasterxml.jackson.annotation.JsonCreator;
-import com.microsoft.rest.ExpandableStringEnum;
-
-/**
- * Defines values for SkuName.
- */
-public final class SkuName extends ExpandableStringEnum {
- /** Static value Basic for SkuName. */
- public static final SkuName BASIC = fromString("Basic");
-
- /** Static value Standard for SkuName. */
- public static final SkuName STANDARD = fromString("Standard");
-
- /** Static value Premium for SkuName. */
- public static final SkuName PREMIUM = fromString("Premium");
-
- /**
- * Creates or finds a SkuName from its string representation.
- * @param name a name to look for
- * @return the corresponding SkuName
- */
- @JsonCreator
- public static SkuName fromString(String name) {
- return fromString(name, SkuName.class);
- }
-
- /**
- * @return known SkuName values
- */
- public static Collection values() {
- return values(SkuName.class);
- }
-}
diff --git a/redis/resource-manager/v2017_10_01/src/main/java/com/microsoft/azure/management/redis/v2017_10_01/UpgradeNotification.java b/redis/resource-manager/v2017_10_01/src/main/java/com/microsoft/azure/management/redis/v2017_10_01/UpgradeNotification.java
deleted file mode 100644
index 982e90e71d53e..0000000000000
--- a/redis/resource-manager/v2017_10_01/src/main/java/com/microsoft/azure/management/redis/v2017_10_01/UpgradeNotification.java
+++ /dev/null
@@ -1,64 +0,0 @@
-/**
- * Copyright (c) Microsoft Corporation. All rights reserved.
- * Licensed under the MIT License. See License.txt in the project root for
- * license information.
- *
- * Code generated by Microsoft (R) AutoRest Code Generator.
- */
-
-package com.microsoft.azure.management.redis.v2017_10_01;
-
-import org.joda.time.DateTime;
-import java.util.Map;
-import com.fasterxml.jackson.annotation.JsonProperty;
-
-/**
- * Properties of upgrade notification.
- */
-public class UpgradeNotification {
- /**
- * Name of upgrade notification.
- */
- @JsonProperty(value = "name", access = JsonProperty.Access.WRITE_ONLY)
- private String name;
-
- /**
- * Timestamp when upgrade notification occured.
- */
- @JsonProperty(value = "timestamp", access = JsonProperty.Access.WRITE_ONLY)
- private DateTime timestamp;
-
- /**
- * Details about this upgrade notification.
- */
- @JsonProperty(value = "upsellNotification", access = JsonProperty.Access.WRITE_ONLY)
- private Map upsellNotification;
-
- /**
- * Get the name value.
- *
- * @return the name value
- */
- public String name() {
- return this.name;
- }
-
- /**
- * Get the timestamp value.
- *
- * @return the timestamp value
- */
- public DateTime timestamp() {
- return this.timestamp;
- }
-
- /**
- * Get the upsellNotification value.
- *
- * @return the upsellNotification value
- */
- public Map upsellNotification() {
- return this.upsellNotification;
- }
-
-}
diff --git a/redis/resource-manager/v2017_10_01/src/main/java/com/microsoft/azure/management/redis/v2017_10_01/implementation/FirewallRulesImpl.java b/redis/resource-manager/v2017_10_01/src/main/java/com/microsoft/azure/management/redis/v2017_10_01/implementation/FirewallRulesImpl.java
deleted file mode 100644
index c837cb492a856..0000000000000
--- a/redis/resource-manager/v2017_10_01/src/main/java/com/microsoft/azure/management/redis/v2017_10_01/implementation/FirewallRulesImpl.java
+++ /dev/null
@@ -1,100 +0,0 @@
-/**
- * Copyright (c) Microsoft Corporation. All rights reserved.
- * Licensed under the MIT License. See License.txt in the project root for
- * license information.
- *
- * Code generated by Microsoft (R) AutoRest Code Generator.
- *
- */
-
-package com.microsoft.azure.management.redis.v2017_10_01.implementation;
-
-import com.microsoft.azure.arm.model.implementation.WrapperImpl;
-import com.microsoft.azure.management.redis.v2017_10_01.FirewallRules;
-import rx.Completable;
-import rx.Observable;
-import rx.functions.Func1;
-import com.microsoft.azure.Page;
-import com.microsoft.azure.management.redis.v2017_10_01.RedisFirewallRule;
-
-class FirewallRulesImpl extends WrapperImpl implements FirewallRules {
- private final RedisManager manager;
-
- FirewallRulesImpl(RedisManager manager) {
- super(manager.inner().firewallRules());
- this.manager = manager;
- }
-
- public RedisManager manager() {
- return this.manager;
- }
-
- @Override
- public RedisFirewallRuleImpl define(String name) {
- return wrapModel(name);
- }
-
- private RedisFirewallRuleImpl wrapModel(RedisFirewallRuleInner inner) {
- return new RedisFirewallRuleImpl(inner, manager());
- }
-
- private RedisFirewallRuleImpl wrapModel(String name) {
- return new RedisFirewallRuleImpl(name, this.manager());
- }
-
- private Observable> listByRedisResourceNextInnerPageAsync(String nextLink) {
- if (nextLink == null) {
- Observable.empty();
- }
- FirewallRulesInner client = this.inner();
- return client.listByRedisResourceNextAsync(nextLink)
- .flatMap(new Func1, Observable>>() {
- @Override
- public Observable> call(Page page) {
- return Observable.just(page).concatWith(listByRedisResourceNextInnerPageAsync(page.nextPageLink()));
- }
- });
- }
- @Override
- public Observable listByRedisResourceAsync(final String resourceGroupName, final String cacheName) {
- FirewallRulesInner client = this.inner();
- return client.listByRedisResourceAsync(resourceGroupName, cacheName)
- .flatMap(new Func1, Observable>>() {
- @Override
- public Observable> call(Page page) {
- return listByRedisResourceNextInnerPageAsync(page.nextPageLink());
- }
- })
- .flatMapIterable(new Func1, Iterable>() {
- @Override
- public Iterable call(Page page) {
- return page.items();
- }
- })
- .map(new Func1() {
- @Override
- public RedisFirewallRule call(RedisFirewallRuleInner inner) {
- return wrapModel(inner);
- }
- });
- }
-
- @Override
- public Observable getAsync(String resourceGroupName, String cacheName, String ruleName) {
- FirewallRulesInner client = this.inner();
- return client.getAsync(resourceGroupName, cacheName, ruleName)
- .map(new Func1() {
- @Override
- public RedisFirewallRule call(RedisFirewallRuleInner inner) {
- return wrapModel(inner);
- }
- });
- }
-
- @Override
- public Completable deleteAsync(String resourceGroupName, String cacheName, String ruleName) {
- FirewallRulesInner client = this.inner();
- return client.deleteAsync(resourceGroupName, cacheName, ruleName).toCompletable();
- }
-
-}
diff --git a/redis/resource-manager/v2017_10_01/src/main/java/com/microsoft/azure/management/redis/v2017_10_01/implementation/FirewallRulesInner.java b/redis/resource-manager/v2017_10_01/src/main/java/com/microsoft/azure/management/redis/v2017_10_01/implementation/FirewallRulesInner.java
deleted file mode 100644
index 8f57750865499..0000000000000
--- a/redis/resource-manager/v2017_10_01/src/main/java/com/microsoft/azure/management/redis/v2017_10_01/implementation/FirewallRulesInner.java
+++ /dev/null
@@ -1,609 +0,0 @@
-/**
- * Copyright (c) Microsoft Corporation. All rights reserved.
- * Licensed under the MIT License. See License.txt in the project root for
- * license information.
- *
- * Code generated by Microsoft (R) AutoRest Code Generator.
- */
-
-package com.microsoft.azure.management.redis.v2017_10_01.implementation;
-
-import retrofit2.Retrofit;
-import com.google.common.reflect.TypeToken;
-import com.microsoft.azure.AzureServiceFuture;
-import com.microsoft.azure.CloudException;
-import com.microsoft.azure.ListOperationCallback;
-import com.microsoft.azure.management.redis.v2017_10_01.RedisFirewallRuleCreateParameters;
-import com.microsoft.azure.Page;
-import com.microsoft.azure.PagedList;
-import com.microsoft.rest.ServiceCallback;
-import com.microsoft.rest.ServiceFuture;
-import com.microsoft.rest.ServiceResponse;
-import com.microsoft.rest.Validator;
-import java.io.IOException;
-import java.util.List;
-import okhttp3.ResponseBody;
-import retrofit2.http.Body;
-import retrofit2.http.GET;
-import retrofit2.http.Header;
-import retrofit2.http.Headers;
-import retrofit2.http.HTTP;
-import retrofit2.http.Path;
-import retrofit2.http.PUT;
-import retrofit2.http.Query;
-import retrofit2.http.Url;
-import retrofit2.Response;
-import rx.functions.Func1;
-import rx.Observable;
-
-/**
- * An instance of this class provides access to all the operations defined
- * in FirewallRules.
- */
-public class FirewallRulesInner {
- /** The Retrofit service to perform REST calls. */
- private FirewallRulesService service;
- /** The service client containing this operation class. */
- private RedisManagementClientImpl client;
-
- /**
- * Initializes an instance of FirewallRulesInner.
- *
- * @param retrofit the Retrofit instance built from a Retrofit Builder.
- * @param client the instance of the service client containing this operation class.
- */
- public FirewallRulesInner(Retrofit retrofit, RedisManagementClientImpl client) {
- this.service = retrofit.create(FirewallRulesService.class);
- this.client = client;
- }
-
- /**
- * The interface defining all the services for FirewallRules to be
- * used by Retrofit to perform actually REST calls.
- */
- interface FirewallRulesService {
- @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.management.redis.v2017_10_01.FirewallRules listByRedisResource" })
- @GET("subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/Redis/{cacheName}/firewallRules")
- Observable> listByRedisResource(@Path("subscriptionId") String subscriptionId, @Path("resourceGroupName") String resourceGroupName, @Path("cacheName") String cacheName, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("User-Agent") String userAgent);
-
- @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.management.redis.v2017_10_01.FirewallRules createOrUpdate" })
- @PUT("subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/Redis/{cacheName}/firewallRules/{ruleName}")
- Observable> createOrUpdate(@Path("resourceGroupName") String resourceGroupName, @Path("cacheName") String cacheName, @Path("ruleName") String ruleName, @Path("subscriptionId") String subscriptionId, @Body RedisFirewallRuleCreateParameters parameters, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("User-Agent") String userAgent);
-
- @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.management.redis.v2017_10_01.FirewallRules get" })
- @GET("subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/Redis/{cacheName}/firewallRules/{ruleName}")
- Observable> get(@Path("resourceGroupName") String resourceGroupName, @Path("cacheName") String cacheName, @Path("ruleName") String ruleName, @Path("subscriptionId") String subscriptionId, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("User-Agent") String userAgent);
-
- @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.management.redis.v2017_10_01.FirewallRules delete" })
- @HTTP(path = "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cache/Redis/{cacheName}/firewallRules/{ruleName}", method = "DELETE", hasBody = true)
- Observable> delete(@Path("resourceGroupName") String resourceGroupName, @Path("cacheName") String cacheName, @Path("ruleName") String ruleName, @Path("subscriptionId") String subscriptionId, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("User-Agent") String userAgent);
-
- @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.management.redis.v2017_10_01.FirewallRules listByRedisResourceNext" })
- @GET
- Observable> listByRedisResourceNext(@Url String nextUrl, @Header("accept-language") String acceptLanguage, @Header("User-Agent") String userAgent);
-
- }
-
- /**
- * Gets all firewall rules in the specified redis cache.
- *
- * @param resourceGroupName The name of the resource group.
- * @param cacheName The name of the Redis cache.
- * @throws IllegalArgumentException thrown if parameters fail the validation
- * @throws CloudException thrown if the request is rejected by server
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent
- * @return the PagedList<RedisFirewallRuleInner> object if successful.
- */
- public PagedList listByRedisResource(final String resourceGroupName, final String cacheName) {
- ServiceResponse> response = listByRedisResourceSinglePageAsync(resourceGroupName, cacheName).toBlocking().single();
- return new PagedList(response.body()) {
- @Override
- public Page nextPage(String nextPageLink) {
- return listByRedisResourceNextSinglePageAsync(nextPageLink).toBlocking().single().body();
- }
- };
- }
-
- /**
- * Gets all firewall rules in the specified redis cache.
- *
- * @param resourceGroupName The name of the resource group.
- * @param cacheName The name of the Redis cache.
- * @param serviceCallback the async ServiceCallback to handle successful and failed responses.
- * @throws IllegalArgumentException thrown if parameters fail the validation
- * @return the {@link ServiceFuture} object
- */
- public ServiceFuture> listByRedisResourceAsync(final String resourceGroupName, final String cacheName, final ListOperationCallback serviceCallback) {
- return AzureServiceFuture.fromPageResponse(
- listByRedisResourceSinglePageAsync(resourceGroupName, cacheName),
- new Func1>>>() {
- @Override
- public Observable>> call(String nextPageLink) {
- return listByRedisResourceNextSinglePageAsync(nextPageLink);
- }
- },
- serviceCallback);
- }
-
- /**
- * Gets all firewall rules in the specified redis cache.
- *
- * @param resourceGroupName The name of the resource group.
- * @param cacheName The name of the Redis cache.
- * @throws IllegalArgumentException thrown if parameters fail the validation
- * @return the observable to the PagedList<RedisFirewallRuleInner> object
- */
- public Observable> listByRedisResourceAsync(final String resourceGroupName, final String cacheName) {
- return listByRedisResourceWithServiceResponseAsync(resourceGroupName, cacheName)
- .map(new Func1>, Page>() {
- @Override
- public Page call(ServiceResponse> response) {
- return response.body();
- }
- });
- }
-
- /**
- * Gets all firewall rules in the specified redis cache.
- *
- * @param resourceGroupName The name of the resource group.
- * @param cacheName The name of the Redis cache.
- * @throws IllegalArgumentException thrown if parameters fail the validation
- * @return the observable to the PagedList<RedisFirewallRuleInner> object
- */
- public Observable>> listByRedisResourceWithServiceResponseAsync(final String resourceGroupName, final String cacheName) {
- return listByRedisResourceSinglePageAsync(resourceGroupName, cacheName)
- .concatMap(new Func1>, Observable>>>() {
- @Override
- public Observable>> call(ServiceResponse> page) {
- String nextPageLink = page.body().nextPageLink();
- if (nextPageLink == null) {
- return Observable.just(page);
- }
- return Observable.just(page).concatWith(listByRedisResourceNextWithServiceResponseAsync(nextPageLink));
- }
- });
- }
-
- /**
- * Gets all firewall rules in the specified redis cache.
- *
- ServiceResponse> * @param resourceGroupName The name of the resource group.
- ServiceResponse> * @param cacheName The name of the Redis cache.
- * @throws IllegalArgumentException thrown if parameters fail the validation
- * @return the PagedList<RedisFirewallRuleInner> object wrapped in {@link ServiceResponse} if successful.
- */
- public Observable>> listByRedisResourceSinglePageAsync(final String resourceGroupName, final String cacheName) {
- if (this.client.subscriptionId() == null) {
- throw new IllegalArgumentException("Parameter this.client.subscriptionId() is required and cannot be null.");
- }
- if (resourceGroupName == null) {
- throw new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.");
- }
- if (cacheName == null) {
- throw new IllegalArgumentException("Parameter cacheName is required and cannot be null.");
- }
- if (this.client.apiVersion() == null) {
- throw new IllegalArgumentException("Parameter this.client.apiVersion() is required and cannot be null.");
- }
- return service.listByRedisResource(this.client.subscriptionId(), resourceGroupName, cacheName, this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent())
- .flatMap(new Func1, Observable>>>() {
- @Override
- public Observable>> call(Response response) {
- try {
- ServiceResponse> result = listByRedisResourceDelegate(response);
- return Observable.just(new ServiceResponse>(result.body(), result.response()));
- } catch (Throwable t) {
- return Observable.error(t);
- }
- }
- });
- }
-
- private ServiceResponse> listByRedisResourceDelegate(Response response) throws CloudException, IOException, IllegalArgumentException {
- return this.client.restClient().responseBuilderFactory()., CloudException>newInstance(this.client.serializerAdapter())
- .register(200, new TypeToken>() { }.getType())
- .registerError(CloudException.class)
- .build(response);
- }
-
- /**
- * Create or update a redis cache firewall rule.
- *
- * @param resourceGroupName The name of the resource group.
- * @param cacheName The name of the Redis cache.
- * @param ruleName The name of the firewall rule.
- * @param parameters Parameters supplied to the create or update redis firewall rule operation.
- * @throws IllegalArgumentException thrown if parameters fail the validation
- * @throws CloudException thrown if the request is rejected by server
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent
- * @return the RedisFirewallRuleInner object if successful.
- */
- public RedisFirewallRuleInner createOrUpdate(String resourceGroupName, String cacheName, String ruleName, RedisFirewallRuleCreateParameters parameters) {
- return createOrUpdateWithServiceResponseAsync(resourceGroupName, cacheName, ruleName, parameters).toBlocking().single().body();
- }
-
- /**
- * Create or update a redis cache firewall rule.
- *
- * @param resourceGroupName The name of the resource group.
- * @param cacheName The name of the Redis cache.
- * @param ruleName The name of the firewall rule.
- * @param parameters Parameters supplied to the create or update redis firewall rule operation.
- * @param serviceCallback the async ServiceCallback to handle successful and failed responses.
- * @throws IllegalArgumentException thrown if parameters fail the validation
- * @return the {@link ServiceFuture} object
- */
- public ServiceFuture createOrUpdateAsync(String resourceGroupName, String cacheName, String ruleName, RedisFirewallRuleCreateParameters parameters, final ServiceCallback serviceCallback) {
- return ServiceFuture.fromResponse(createOrUpdateWithServiceResponseAsync(resourceGroupName, cacheName, ruleName, parameters), serviceCallback);
- }
-
- /**
- * Create or update a redis cache firewall rule.
- *
- * @param resourceGroupName The name of the resource group.
- * @param cacheName The name of the Redis cache.
- * @param ruleName The name of the firewall rule.
- * @param parameters Parameters supplied to the create or update redis firewall rule operation.
- * @throws IllegalArgumentException thrown if parameters fail the validation
- * @return the observable to the RedisFirewallRuleInner object
- */
- public Observable createOrUpdateAsync(String resourceGroupName, String cacheName, String ruleName, RedisFirewallRuleCreateParameters parameters) {
- return createOrUpdateWithServiceResponseAsync(resourceGroupName, cacheName, ruleName, parameters).map(new Func1, RedisFirewallRuleInner>() {
- @Override
- public RedisFirewallRuleInner call(ServiceResponse response) {
- return response.body();
- }
- });
- }
-
- /**
- * Create or update a redis cache firewall rule.
- *
- * @param resourceGroupName The name of the resource group.
- * @param cacheName The name of the Redis cache.
- * @param ruleName The name of the firewall rule.
- * @param parameters Parameters supplied to the create or update redis firewall rule operation.
- * @throws IllegalArgumentException thrown if parameters fail the validation
- * @return the observable to the RedisFirewallRuleInner object
- */
- public Observable> createOrUpdateWithServiceResponseAsync(String resourceGroupName, String cacheName, String ruleName, RedisFirewallRuleCreateParameters parameters) {
- if (resourceGroupName == null) {
- throw new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.");
- }
- if (cacheName == null) {
- throw new IllegalArgumentException("Parameter cacheName is required and cannot be null.");
- }
- if (ruleName == null) {
- throw new IllegalArgumentException("Parameter ruleName is required and cannot be null.");
- }
- if (this.client.subscriptionId() == null) {
- throw new IllegalArgumentException("Parameter this.client.subscriptionId() is required and cannot be null.");
- }
- if (parameters == null) {
- throw new IllegalArgumentException("Parameter parameters is required and cannot be null.");
- }
- if (this.client.apiVersion() == null) {
- throw new IllegalArgumentException("Parameter this.client.apiVersion() is required and cannot be null.");
- }
- Validator.validate(parameters);
- return service.createOrUpdate(resourceGroupName, cacheName, ruleName, this.client.subscriptionId(), parameters, this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent())
- .flatMap(new Func1, Observable>>() {
- @Override
- public Observable> call(Response response) {
- try {
- ServiceResponse clientResponse = createOrUpdateDelegate(response);
- return Observable.just(clientResponse);
- } catch (Throwable t) {
- return Observable.error(t);
- }
- }
- });
- }
-
- private ServiceResponse createOrUpdateDelegate(Response response) throws CloudException, IOException, IllegalArgumentException {
- return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter())
- .register(200, new TypeToken() { }.getType())
- .register(201, new TypeToken() { }.getType())
- .registerError(CloudException.class)
- .build(response);
- }
-
- /**
- * Gets a single firewall rule in a specified redis cache.
- *
- * @param resourceGroupName The name of the resource group.
- * @param cacheName The name of the Redis cache.
- * @param ruleName The name of the firewall rule.
- * @throws IllegalArgumentException thrown if parameters fail the validation
- * @throws CloudException thrown if the request is rejected by server
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent
- * @return the RedisFirewallRuleInner object if successful.
- */
- public RedisFirewallRuleInner get(String resourceGroupName, String cacheName, String ruleName) {
- return getWithServiceResponseAsync(resourceGroupName, cacheName, ruleName).toBlocking().single().body();
- }
-
- /**
- * Gets a single firewall rule in a specified redis cache.
- *
- * @param resourceGroupName The name of the resource group.
- * @param cacheName The name of the Redis cache.
- * @param ruleName The name of the firewall rule.
- * @param serviceCallback the async ServiceCallback to handle successful and failed responses.
- * @throws IllegalArgumentException thrown if parameters fail the validation
- * @return the {@link ServiceFuture} object
- */
- public ServiceFuture getAsync(String resourceGroupName, String cacheName, String ruleName, final ServiceCallback serviceCallback) {
- return ServiceFuture.fromResponse(getWithServiceResponseAsync(resourceGroupName, cacheName, ruleName), serviceCallback);
- }
-
- /**
- * Gets a single firewall rule in a specified redis cache.
- *
- * @param resourceGroupName The name of the resource group.
- * @param cacheName The name of the Redis cache.
- * @param ruleName The name of the firewall rule.
- * @throws IllegalArgumentException thrown if parameters fail the validation
- * @return the observable to the RedisFirewallRuleInner object
- */
- public Observable getAsync(String resourceGroupName, String cacheName, String ruleName) {
- return getWithServiceResponseAsync(resourceGroupName, cacheName, ruleName).map(new Func1, RedisFirewallRuleInner>() {
- @Override
- public RedisFirewallRuleInner call(ServiceResponse response) {
- return response.body();
- }
- });
- }
-
- /**
- * Gets a single firewall rule in a specified redis cache.
- *
- * @param resourceGroupName The name of the resource group.
- * @param cacheName The name of the Redis cache.
- * @param ruleName The name of the firewall rule.
- * @throws IllegalArgumentException thrown if parameters fail the validation
- * @return the observable to the RedisFirewallRuleInner object
- */
- public Observable> getWithServiceResponseAsync(String resourceGroupName, String cacheName, String ruleName) {
- if (resourceGroupName == null) {
- throw new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.");
- }
- if (cacheName == null) {
- throw new IllegalArgumentException("Parameter cacheName is required and cannot be null.");
- }
- if (ruleName == null) {
- throw new IllegalArgumentException("Parameter ruleName is required and cannot be null.");
- }
- if (this.client.subscriptionId() == null) {
- throw new IllegalArgumentException("Parameter this.client.subscriptionId() is required and cannot be null.");
- }
- if (this.client.apiVersion() == null) {
- throw new IllegalArgumentException("Parameter this.client.apiVersion() is required and cannot be null.");
- }
- return service.get(resourceGroupName, cacheName, ruleName, this.client.subscriptionId(), this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent())
- .flatMap(new Func1, Observable>>() {
- @Override
- public Observable> call(Response response) {
- try {
- ServiceResponse clientResponse = getDelegate(response);
- return Observable.just(clientResponse);
- } catch (Throwable t) {
- return Observable.error(t);
- }
- }
- });
- }
-
- private ServiceResponse getDelegate(Response response) throws CloudException, IOException, IllegalArgumentException {
- return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter())
- .register(200, new TypeToken() { }.getType())
- .registerError(CloudException.class)
- .build(response);
- }
-
- /**
- * Deletes a single firewall rule in a specified redis cache.
- *
- * @param resourceGroupName The name of the resource group.
- * @param cacheName The name of the Redis cache.
- * @param ruleName The name of the firewall rule.
- * @throws IllegalArgumentException thrown if parameters fail the validation
- * @throws CloudException thrown if the request is rejected by server
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent
- */
- public void delete(String resourceGroupName, String cacheName, String ruleName) {
- deleteWithServiceResponseAsync(resourceGroupName, cacheName, ruleName).toBlocking().single().body();
- }
-
- /**
- * Deletes a single firewall rule in a specified redis cache.
- *
- * @param resourceGroupName The name of the resource group.
- * @param cacheName The name of the Redis cache.
- * @param ruleName The name of the firewall rule.
- * @param serviceCallback the async ServiceCallback to handle successful and failed responses.
- * @throws IllegalArgumentException thrown if parameters fail the validation
- * @return the {@link ServiceFuture} object
- */
- public ServiceFuture deleteAsync(String resourceGroupName, String cacheName, String ruleName, final ServiceCallback serviceCallback) {
- return ServiceFuture.fromResponse(deleteWithServiceResponseAsync(resourceGroupName, cacheName, ruleName), serviceCallback);
- }
-
- /**
- * Deletes a single firewall rule in a specified redis cache.
- *
- * @param resourceGroupName The name of the resource group.
- * @param cacheName The name of the Redis cache.
- * @param ruleName The name of the firewall rule.
- * @throws IllegalArgumentException thrown if parameters fail the validation
- * @return the {@link ServiceResponse} object if successful.
- */
- public Observable deleteAsync(String resourceGroupName, String cacheName, String ruleName) {
- return deleteWithServiceResponseAsync(resourceGroupName, cacheName, ruleName).map(new Func1, Void>() {
- @Override
- public Void call(ServiceResponse response) {
- return response.body();
- }
- });
- }
-
- /**
- * Deletes a single firewall rule in a specified redis cache.
- *
- * @param resourceGroupName The name of the resource group.
- * @param cacheName The name of the Redis cache.
- * @param ruleName The name of the firewall rule.
- * @throws IllegalArgumentException thrown if parameters fail the validation
- * @return the {@link ServiceResponse} object if successful.
- */
- public Observable> deleteWithServiceResponseAsync(String resourceGroupName, String cacheName, String ruleName) {
- if (resourceGroupName == null) {
- throw new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.");
- }
- if (cacheName == null) {
- throw new IllegalArgumentException("Parameter cacheName is required and cannot be null.");
- }
- if (ruleName == null) {
- throw new IllegalArgumentException("Parameter ruleName is required and cannot be null.");
- }
- if (this.client.subscriptionId() == null) {
- throw new IllegalArgumentException("Parameter this.client.subscriptionId() is required and cannot be null.");
- }
- if (this.client.apiVersion() == null) {
- throw new IllegalArgumentException("Parameter this.client.apiVersion() is required and cannot be null.");
- }
- return service.delete(resourceGroupName, cacheName, ruleName, this.client.subscriptionId(), this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent())
- .flatMap(new Func1, Observable>>() {
- @Override
- public Observable> call(Response response) {
- try {
- ServiceResponse clientResponse = deleteDelegate(response);
- return Observable.just(clientResponse);
- } catch (Throwable t) {
- return Observable.error(t);
- }
- }
- });
- }
-
- private ServiceResponse deleteDelegate(Response response) throws CloudException, IOException, IllegalArgumentException {
- return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter())
- .register(200, new TypeToken() { }.getType())
- .register(204, new TypeToken() { }.getType())
- .registerError(CloudException.class)
- .build(response);
- }
-
- /**
- * Gets all firewall rules in the specified redis cache.
- *
- * @param nextPageLink The NextLink from the previous successful call to List operation.
- * @throws IllegalArgumentException thrown if parameters fail the validation
- * @throws CloudException thrown if the request is rejected by server
- * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent
- * @return the PagedList<RedisFirewallRuleInner> object if successful.
- */
- public PagedList listByRedisResourceNext(final String nextPageLink) {
- ServiceResponse> response = listByRedisResourceNextSinglePageAsync(nextPageLink).toBlocking().single();
- return new PagedList(response.body()) {
- @Override
- public Page nextPage(String nextPageLink) {
- return listByRedisResourceNextSinglePageAsync(nextPageLink).toBlocking().single().body();
- }
- };
- }
-
- /**
- * Gets all firewall rules in the specified redis cache.
- *
- * @param nextPageLink The NextLink from the previous successful call to List operation.
- * @param serviceFuture the ServiceFuture object tracking the Retrofit calls
- * @param serviceCallback the async ServiceCallback to handle successful and failed responses.
- * @throws IllegalArgumentException thrown if parameters fail the validation
- * @return the {@link ServiceFuture} object
- */
- public ServiceFuture> listByRedisResourceNextAsync(final String nextPageLink, final ServiceFuture> serviceFuture, final ListOperationCallback serviceCallback) {
- return AzureServiceFuture.fromPageResponse(
- listByRedisResourceNextSinglePageAsync(nextPageLink),
- new Func1>>>() {
- @Override
- public Observable>> call(String nextPageLink) {
- return listByRedisResourceNextSinglePageAsync(nextPageLink);
- }
- },
- serviceCallback);
- }
-
- /**
- * Gets all firewall rules in the specified redis cache.
- *
- * @param nextPageLink The NextLink from the previous successful call to List operation.
- * @throws IllegalArgumentException thrown if parameters fail the validation
- * @return the observable to the PagedList<RedisFirewallRuleInner> object
- */
- public Observable> listByRedisResourceNextAsync(final String nextPageLink) {
- return listByRedisResourceNextWithServiceResponseAsync(nextPageLink)
- .map(new Func1>, Page>() {
- @Override
- public Page call(ServiceResponse> response) {
- return response.body();
- }
- });
- }
-
- /**
- * Gets all firewall rules in the specified redis cache.
- *
- * @param nextPageLink The NextLink from the previous successful call to List operation.
- * @throws IllegalArgumentException thrown if parameters fail the validation
- * @return the observable to the PagedList<RedisFirewallRuleInner> object
- */
- public Observable>> listByRedisResourceNextWithServiceResponseAsync(final String nextPageLink) {
- return listByRedisResourceNextSinglePageAsync(nextPageLink)
- .concatMap(new Func1>, Observable>>>() {
- @Override
- public Observable>> call(ServiceResponse> page) {
- String nextPageLink = page.body().nextPageLink();
- if (nextPageLink == null) {
- return Observable.just(page);
- }
- return Observable.just(page).concatWith(listByRedisResourceNextWithServiceResponseAsync(nextPageLink));
- }
- });
- }
-
- /**
- * Gets all firewall rules in the specified redis cache.
- *
- ServiceResponse> * @param nextPageLink The NextLink from the previous successful call to List operation.
- * @throws IllegalArgumentException thrown if parameters fail the validation
- * @return the PagedList<RedisFirewallRuleInner> object wrapped in {@link ServiceResponse} if successful.
- */
- public Observable>> listByRedisResourceNextSinglePageAsync(final String nextPageLink) {
- if (nextPageLink == null) {
- throw new IllegalArgumentException("Parameter nextPageLink is required and cannot be null.");
- }
- String nextUrl = String.format("%s", nextPageLink);
- return service.listByRedisResourceNext(nextUrl, this.client.acceptLanguage(), this.client.userAgent())
- .flatMap(new Func1, Observable>>>() {
- @Override
- public Observable>> call(Response response) {
- try {
- ServiceResponse> result = listByRedisResourceNextDelegate(response);
- return Observable.just(new ServiceResponse>(result.body(), result.response()));
- } catch (Throwable t) {
- return Observable.error(t);
- }
- }
- });
- }
-
- private ServiceResponse> listByRedisResourceNextDelegate(Response response) throws CloudException, IOException, IllegalArgumentException {
- return this.client.restClient().responseBuilderFactory()., CloudException>newInstance(this.client.serializerAdapter())
- .register(200, new TypeToken>() { }.getType())
- .registerError(CloudException.class)
- .build(response);
- }
-
-}
diff --git a/redis/resource-manager/v2017_10_01/src/main/java/com/microsoft/azure/management/redis/v2017_10_01/implementation/IdParsingUtils.java b/redis/resource-manager/v2017_10_01/src/main/java/com/microsoft/azure/management/redis/v2017_10_01/implementation/IdParsingUtils.java
deleted file mode 100644
index 1ded2a5d95cc2..0000000000000
--- a/redis/resource-manager/v2017_10_01/src/main/java/com/microsoft/azure/management/redis/v2017_10_01/implementation/IdParsingUtils.java
+++ /dev/null
@@ -1,57 +0,0 @@
-/**
- * Copyright (c) Microsoft Corporation. All rights reserved.
- * Licensed under the MIT License. See License.txt in the project root for
- * license information.
- *
- * Code generated by Microsoft (R) AutoRest Code Generator.
- */
-
-package com.microsoft.azure.management.redis.v2017_10_01.implementation;
-import java.util.Arrays;
-import java.util.Iterator;
-
-class IdParsingUtils {
- public static String getValueFromIdByName(String id, String name) {
- if (id == null) {
- return null;
- }
- Iterable iterable = Arrays.asList(id.split("/"));
- Iterator itr = iterable.iterator();
- while (itr.hasNext()) {
- String part = itr.next();
- if (part != null && part.trim() != "") {
- if (part.equalsIgnoreCase(name)) {
- if (itr.hasNext()) {
- return itr.next();
- } else {
- return null;
- }
- }
- }
- }
- return null;
- }
-
- public static String getValueFromIdByPosition(String id, int pos) {
- if (id == null) {
- return null;
- }
- Iterable iterable = Arrays.asList(id.split("/"));
- Iterator itr = iterable.iterator();
- int index = 0;
- while (itr.hasNext()) {
- String part = itr.next();
- if (part != null && part.trim() != "") {
- if (index == pos) {
- if (itr.hasNext()) {
- return itr.next();
- } else {
- return null;
- }
- }
- }
- index++;
- }
- return null;
- }
-}
diff --git a/redis/resource-manager/v2017_10_01/src/main/java/com/microsoft/azure/management/redis/v2017_10_01/implementation/LinkedServersImpl.java b/redis/resource-manager/v2017_10_01/src/main/java/com/microsoft/azure/management/redis/v2017_10_01/implementation/LinkedServersImpl.java
deleted file mode 100644
index 1ae434e2519ed..0000000000000
--- a/redis/resource-manager/v2017_10_01/src/main/java/com/microsoft/azure/management/redis/v2017_10_01/implementation/LinkedServersImpl.java
+++ /dev/null
@@ -1,100 +0,0 @@
-/**
- * Copyright (c) Microsoft Corporation. All rights reserved.
- * Licensed under the MIT License. See License.txt in the project root for
- * license information.
- *
- * Code generated by Microsoft (R) AutoRest Code Generator.
- *
- */
-
-package com.microsoft.azure.management.redis.v2017_10_01.implementation;
-
-import com.microsoft.azure.arm.model.implementation.WrapperImpl;
-import com.microsoft.azure.management.redis.v2017_10_01.LinkedServers;
-import rx.Completable;
-import rx.Observable;
-import rx.functions.Func1;
-import com.microsoft.azure.Page;
-import com.microsoft.azure.management.redis.v2017_10_01.RedisLinkedServerWithProperties;
-
-class LinkedServersImpl extends WrapperImpl implements LinkedServers {
- private final RedisManager manager;
-
- LinkedServersImpl(RedisManager manager) {
- super(manager.inner().linkedServers());
- this.manager = manager;
- }
-
- public RedisManager manager() {
- return this.manager;
- }
-
- @Override
- public RedisLinkedServerWithPropertiesImpl define(String name) {
- return wrapModel(name);
- }
-
- private RedisLinkedServerWithPropertiesImpl wrapModel(RedisLinkedServerWithPropertiesInner inner) {
- return new RedisLinkedServerWithPropertiesImpl(inner, manager());
- }
-
- private RedisLinkedServerWithPropertiesImpl wrapModel(String name) {
- return new RedisLinkedServerWithPropertiesImpl(name, this.manager());
- }
-
- private Observable> listNextInnerPageAsync(String nextLink) {
- if (nextLink == null) {
- Observable.empty();
- }
- LinkedServersInner client = this.inner();
- return client.listNextAsync(nextLink)
- .flatMap(new Func1, Observable>>() {
- @Override
- public Observable> call(Page page) {
- return Observable.just(page).concatWith(listNextInnerPageAsync(page.nextPageLink()));
- }
- });
- }
- @Override
- public Observable listAsync(final String resourceGroupName, final String name) {
- LinkedServersInner client = this.inner();
- return client.listAsync(resourceGroupName, name)
- .flatMap(new Func1, Observable>>() {
- @Override
- public Observable> call(Page page) {
- return listNextInnerPageAsync(page.nextPageLink());
- }
- })
- .flatMapIterable(new Func1, Iterable>() {
- @Override
- public Iterable