Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[AutoPR sdk/redis/mgmt-v2018_03_01] Dev redis microsoft.cache 2020 06 01 #4516

Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions sdk/redis/mgmt-v2018_03_01/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@
<parent>
<groupId>com.microsoft.azure</groupId>
<artifactId>azure-arm-parent</artifactId>
<version>1.2.0</version>
<relativePath>../../parents/azure-arm-parent</relativePath>
<version>1.1.0</version>
<relativePath>../../../pom.management.xml</relativePath>
</parent>
<artifactId>azure-mgmt-redis</artifactId>
<artifactId>azure-mgmt-cache</artifactId>
<version>1.0.0-beta</version>
<packaging>jar</packaging>
<name>Microsoft Azure SDK for Cache Management</name>
Expand Down Expand Up @@ -71,6 +71,8 @@
<artifactId>azure-arm-client-runtime</artifactId>
<type>test-jar</type>
<scope>test</scope>
<!--Below version for test jar needs to be removed, this will be done as part of v1-runtime 1.6.7-->
<version>1.6.5</version>
</dependency>
</dependencies>
<build>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,14 @@

import com.microsoft.azure.arm.model.HasInner;
import com.microsoft.azure.arm.resources.models.HasManager;
import com.microsoft.azure.management.redis.v2018_03_01.implementation.RedisManager;
import com.microsoft.azure.management.redis.v2018_03_01.implementation.CacheManager;
import com.microsoft.azure.management.redis.v2018_03_01.implementation.NotificationListResponseInner;
import java.util.List;

/**
* Type representing NotificationListResponse.
*/
public interface NotificationListResponse extends HasInner<NotificationListResponseInner>, HasManager<RedisManager> {
public interface NotificationListResponse extends HasInner<NotificationListResponseInner>, HasManager<CacheManager> {
/**
* @return the nextLink value.
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@

import com.microsoft.azure.arm.model.HasInner;
import com.microsoft.azure.arm.resources.models.HasManager;
import com.microsoft.azure.management.redis.v2018_03_01.implementation.RedisManager;
import com.microsoft.azure.management.redis.v2018_03_01.implementation.CacheManager;
import com.microsoft.azure.management.redis.v2018_03_01.implementation.OperationInner;

/**
* Type representing Operation.
*/
public interface Operation extends HasInner<OperationInner>, HasManager<RedisManager> {
public interface Operation extends HasInner<OperationInner>, HasManager<CacheManager> {
/**
* @return the display value.
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
*/
public interface PatchSchedules extends SupportsCreating<RedisPatchSchedule.DefinitionStages.Blank>, HasInner<PatchSchedulesInner> {
/**
* Gets the patching schedule of a redis cache (requires Premium SKU).
* Gets the patching schedule of a redis cache.
*
* @param resourceGroupName The name of the resource group.
* @param name The name of the redis cache.
Expand All @@ -39,7 +39,7 @@ public interface PatchSchedules extends SupportsCreating<RedisPatchSchedule.Defi
Observable<RedisPatchSchedule> listByRedisResourceAsync(final String resourceGroupName, final String cacheName);

/**
* Deletes the patching schedule of a redis cache (requires Premium SKU).
* Deletes the patching schedule of a redis cache.
*
* @param resourceGroupName The name of the resource group.
* @param name The name of the redis cache.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@

import com.microsoft.azure.arm.model.HasInner;
import com.microsoft.azure.arm.resources.models.HasManager;
import com.microsoft.azure.management.redis.v2018_03_01.implementation.RedisManager;
import com.microsoft.azure.management.redis.v2018_03_01.implementation.CacheManager;
import com.microsoft.azure.management.redis.v2018_03_01.implementation.RedisAccessKeysInner;

/**
* Type representing RedisAccessKeys.
*/
public interface RedisAccessKeys extends HasInner<RedisAccessKeysInner>, HasManager<RedisManager> {
public interface RedisAccessKeys extends HasInner<RedisAccessKeysInner>, HasManager<CacheManager> {
/**
* @return the primaryKey value.
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,12 @@
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.v2018_03_01.implementation.RedisManager;
import com.microsoft.azure.management.redis.v2018_03_01.implementation.CacheManager;

/**
* Type representing RedisFirewallRule.
*/
public interface RedisFirewallRule extends HasInner<RedisFirewallRuleInner>, Indexable, Refreshable<RedisFirewallRule>, Updatable<RedisFirewallRule.Update>, HasManager<RedisManager> {
public interface RedisFirewallRule extends HasInner<RedisFirewallRuleInner>, Indexable, Refreshable<RedisFirewallRule>, Updatable<RedisFirewallRule.Update>, HasManager<CacheManager> {
/**
* @return the endIP value.
*/
Expand Down Expand Up @@ -50,7 +50,7 @@ public interface RedisFirewallRule extends HasInner<RedisFirewallRuleInner>, Ind
/**
* The entirety of the RedisFirewallRule definition.
*/
interface Definition extends DefinitionStages.Blank, DefinitionStages.WithRedis, DefinitionStages.WithEndIP, DefinitionStages.WithStartIP, DefinitionStages.WithCreate {
interface Definition extends DefinitionStages.Blank, DefinitionStages.WithRedi, DefinitionStages.WithEndIP, DefinitionStages.WithStartIP, DefinitionStages.WithCreate {
}

/**
Expand All @@ -60,20 +60,20 @@ interface DefinitionStages {
/**
* The first stage of a RedisFirewallRule definition.
*/
interface Blank extends WithRedis {
interface Blank extends WithRedi {
}

/**
* The stage of the redisfirewallrule definition allowing to specify Redis.
* The stage of the redisfirewallrule definition allowing to specify Redi.
*/
interface WithRedis {
interface WithRedi {
/**
* Specifies resourceGroupName, cacheName.
* @param resourceGroupName The name of the resource group
* @param cacheName The name of the Redis cache
* @return the next definition stage
*/
WithEndIP withExistingRedis(String resourceGroupName, String cacheName);
WithEndIP withExistingRedi(String resourceGroupName, String cacheName);
}

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@

import com.microsoft.azure.arm.model.HasInner;
import com.microsoft.azure.arm.resources.models.HasManager;
import com.microsoft.azure.management.redis.v2018_03_01.implementation.RedisManager;
import com.microsoft.azure.management.redis.v2018_03_01.implementation.CacheManager;
import com.microsoft.azure.management.redis.v2018_03_01.implementation.RedisForceRebootResponseInner;

/**
* Type representing RedisForceRebootResponse.
*/
public interface RedisForceRebootResponse extends HasInner<RedisForceRebootResponseInner>, HasManager<RedisManager> {
public interface RedisForceRebootResponse extends HasInner<RedisForceRebootResponseInner>, HasManager<CacheManager> {
/**
* @return the message value.
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,12 @@
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.v2018_03_01.implementation.RedisManager;
import com.microsoft.azure.management.redis.v2018_03_01.implementation.CacheManager;

/**
* Type representing RedisLinkedServerWithProperties.
*/
public interface RedisLinkedServerWithProperties extends HasInner<RedisLinkedServerWithPropertiesInner>, Indexable, Refreshable<RedisLinkedServerWithProperties>, Updatable<RedisLinkedServerWithProperties.Update>, HasManager<RedisManager> {
public interface RedisLinkedServerWithProperties extends HasInner<RedisLinkedServerWithPropertiesInner>, Indexable, Refreshable<RedisLinkedServerWithProperties>, Updatable<RedisLinkedServerWithProperties.Update>, HasManager<CacheManager> {
/**
* @return the id value.
*/
Expand Down Expand Up @@ -60,7 +60,7 @@ public interface RedisLinkedServerWithProperties extends HasInner<RedisLinkedSer
/**
* The entirety of the RedisLinkedServerWithProperties definition.
*/
interface Definition extends DefinitionStages.Blank, DefinitionStages.WithRedis, DefinitionStages.WithLinkedRedisCacheId, DefinitionStages.WithLinkedRedisCacheLocation, DefinitionStages.WithServerRole, DefinitionStages.WithCreate {
interface Definition extends DefinitionStages.Blank, DefinitionStages.WithRedi, DefinitionStages.WithLinkedRedisCacheId, DefinitionStages.WithLinkedRedisCacheLocation, DefinitionStages.WithServerRole, DefinitionStages.WithCreate {
}

/**
Expand All @@ -70,20 +70,20 @@ interface DefinitionStages {
/**
* The first stage of a RedisLinkedServerWithProperties definition.
*/
interface Blank extends WithRedis {
interface Blank extends WithRedi {
}

/**
* The stage of the redislinkedserverwithproperties definition allowing to specify Redis.
* The stage of the redislinkedserverwithproperties definition allowing to specify Redi.
*/
interface WithRedis {
interface WithRedi {
/**
* Specifies resourceGroupName, name.
* @param resourceGroupName The name of the resource group
* @param name The name of the Redis cache
* @return the next definition stage
*/
WithLinkedRedisCacheId withExistingRedis(String resourceGroupName, String name);
WithLinkedRedisCacheId withExistingRedi(String resourceGroupName, String name);
}

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,13 @@
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.v2018_03_01.implementation.RedisManager;
import com.microsoft.azure.management.redis.v2018_03_01.implementation.CacheManager;
import java.util.List;

/**
* Type representing RedisPatchSchedule.
*/
public interface RedisPatchSchedule extends HasInner<RedisPatchScheduleInner>, Indexable, Refreshable<RedisPatchSchedule>, Updatable<RedisPatchSchedule.Update>, HasManager<RedisManager> {
public interface RedisPatchSchedule extends HasInner<RedisPatchScheduleInner>, Indexable, Refreshable<RedisPatchSchedule>, Updatable<RedisPatchSchedule.Update>, HasManager<CacheManager> {
/**
* @return the id value.
*/
Expand All @@ -46,7 +46,7 @@ public interface RedisPatchSchedule extends HasInner<RedisPatchScheduleInner>, I
/**
* The entirety of the RedisPatchSchedule definition.
*/
interface Definition extends DefinitionStages.Blank, DefinitionStages.WithRedis, DefinitionStages.WithScheduleEntries, DefinitionStages.WithCreate {
interface Definition extends DefinitionStages.Blank, DefinitionStages.WithRedi, DefinitionStages.WithScheduleEntries, DefinitionStages.WithCreate {
}

/**
Expand All @@ -56,20 +56,20 @@ interface DefinitionStages {
/**
* The first stage of a RedisPatchSchedule definition.
*/
interface Blank extends WithRedis {
interface Blank extends WithRedi {
}

/**
* The stage of the redispatchschedule definition allowing to specify Redis.
* The stage of the redispatchschedule definition allowing to specify Redi.
*/
interface WithRedis {
interface WithRedi {
/**
* Specifies resourceGroupName, name.
* @param resourceGroupName The name of the resource group
* @param name The name of the Redis cache
* @return the next definition stage
*/
WithScheduleEntries withExistingRedis(String resourceGroupName, String name);
WithScheduleEntries withExistingRedi(String resourceGroupName, String name);
}

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,15 @@
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.v2018_03_01.implementation.RedisManager;
import com.microsoft.azure.management.redis.v2018_03_01.implementation.CacheManager;
import java.util.Map;
import java.util.List;
import com.microsoft.azure.management.redis.v2018_03_01.implementation.RedisResourceInner;

/**
* Type representing RedisResource.
*/
public interface RedisResource extends HasInner<RedisResourceInner>, Resource, GroupableResourceCore<RedisManager, RedisResourceInner>, HasResourceGroup, Refreshable<RedisResource>, Updatable<RedisResource.Update>, HasManager<RedisManager> {
public interface RedisResource extends HasInner<RedisResourceInner>, Resource, GroupableResourceCore<CacheManager, RedisResourceInner>, HasResourceGroup, Refreshable<RedisResource>, Updatable<RedisResource.Update>, HasManager<CacheManager> {
/**
* @return the accessKeys value.
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
import com.fasterxml.jackson.annotation.JsonProperty;

/**
* Patch schedule entry for a Premium Redis Cache.
* Patch schedule entry for a Redis Cache.
*/
public class ScheduleEntry {
/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ public class Sku {
/**
* 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).
* (1, 2, 3, 4, 5).
*/
@JsonProperty(value = "capacity", required = true)
private int capacity;
Expand Down Expand Up @@ -77,7 +77,7 @@ public Sku withFamily(SkuFamily family) {
}

/**
* Get 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).
* Get 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, 5).
*
* @return the capacity value
*/
Expand All @@ -86,7 +86,7 @@ public int capacity() {
}

/**
* Set 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).
* Set 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, 5).
*
* @param capacity the capacity value to set
* @return the Sku object itself.
Expand Down
Loading