diff --git a/sdk/cosmos/mgmt-v2015_04_08/pom.xml b/sdk/cosmos/mgmt-v2015_04_08/pom.xml index 22f32741b7be3..64718249a5346 100644 --- a/sdk/cosmos/mgmt-v2015_04_08/pom.xml +++ b/sdk/cosmos/mgmt-v2015_04_08/pom.xml @@ -11,11 +11,11 @@ com.microsoft.azure azure-arm-parent - 1.2.0 - ../../parents/azure-arm-parent + 1.1.0 + ../../../pom.management.xml azure-mgmt-cosmosdb - 1.0.0-beta-3 + 1.0.0-beta jar Microsoft Azure SDK for CosmosDB Management This package contains Microsoft CosmosDB Management SDK. diff --git a/sdk/cosmos/mgmt-v2015_04_08/src/main/java/com/microsoft/azure/management/cosmosdb/v2015_04_08/PrimaryAggregationType.java b/sdk/cosmos/mgmt-v2015_04_08/src/main/java/com/microsoft/azure/management/cosmosdb/v2015_04_08/PrimaryAggregationType.java index aba1691e99d94..86f2e8b13bd26 100644 --- a/sdk/cosmos/mgmt-v2015_04_08/src/main/java/com/microsoft/azure/management/cosmosdb/v2015_04_08/PrimaryAggregationType.java +++ b/sdk/cosmos/mgmt-v2015_04_08/src/main/java/com/microsoft/azure/management/cosmosdb/v2015_04_08/PrimaryAggregationType.java @@ -25,8 +25,8 @@ public final class PrimaryAggregationType extends ExpandableStringEnum { +public final class CosmosDBManager extends ManagerCore { private DatabaseAccounts databaseAccounts; private Operations operations; private Databases databases; @@ -238,6 +238,6 @@ private CosmosDBManager(RestClient restClient, String subscriptionId) { super( restClient, subscriptionId, - new CosmosDBImpl(restClient).withSubscriptionId(subscriptionId)); + new CosmosDBManagementClientImpl(restClient).withSubscriptionId(subscriptionId)); } } diff --git a/sdk/cosmos/mgmt-v2015_04_08/src/main/java/com/microsoft/azure/management/cosmosdb/v2015_04_08/implementation/DatabaseAccountRegionsInner.java b/sdk/cosmos/mgmt-v2015_04_08/src/main/java/com/microsoft/azure/management/cosmosdb/v2015_04_08/implementation/DatabaseAccountRegionsInner.java index ba17a18123cb3..b6093dd5b9f8b 100644 --- a/sdk/cosmos/mgmt-v2015_04_08/src/main/java/com/microsoft/azure/management/cosmosdb/v2015_04_08/implementation/DatabaseAccountRegionsInner.java +++ b/sdk/cosmos/mgmt-v2015_04_08/src/main/java/com/microsoft/azure/management/cosmosdb/v2015_04_08/implementation/DatabaseAccountRegionsInner.java @@ -34,7 +34,7 @@ public class DatabaseAccountRegionsInner { /** The Retrofit service to perform REST calls. */ private DatabaseAccountRegionsService service; /** The service client containing this operation class. */ - private CosmosDBImpl client; + private CosmosDBManagementClientImpl client; /** * Initializes an instance of DatabaseAccountRegionsInner. @@ -42,7 +42,7 @@ public class DatabaseAccountRegionsInner { * @param retrofit the Retrofit instance built from a Retrofit Builder. * @param client the instance of the service client containing this operation class. */ - public DatabaseAccountRegionsInner(Retrofit retrofit, CosmosDBImpl client) { + public DatabaseAccountRegionsInner(Retrofit retrofit, CosmosDBManagementClientImpl client) { this.service = retrofit.create(DatabaseAccountRegionsService.class); this.client = client; } diff --git a/sdk/cosmos/mgmt-v2015_04_08/src/main/java/com/microsoft/azure/management/cosmosdb/v2015_04_08/implementation/DatabaseAccountsInner.java b/sdk/cosmos/mgmt-v2015_04_08/src/main/java/com/microsoft/azure/management/cosmosdb/v2015_04_08/implementation/DatabaseAccountsInner.java index 8cc3413ca963d..0e7475fd2179e 100644 --- a/sdk/cosmos/mgmt-v2015_04_08/src/main/java/com/microsoft/azure/management/cosmosdb/v2015_04_08/implementation/DatabaseAccountsInner.java +++ b/sdk/cosmos/mgmt-v2015_04_08/src/main/java/com/microsoft/azure/management/cosmosdb/v2015_04_08/implementation/DatabaseAccountsInner.java @@ -65,7 +65,7 @@ public class DatabaseAccountsInner implements InnerSupportsGet metricAvailabilities() { } /** - * Get the primary aggregation type of the metric. Possible values include: 'None', 'Average', 'Total', 'Minimimum', 'Maximum', 'Last'. + * Get the primary aggregation type of the metric. Possible values include: 'None', 'Average', 'Total', 'Minimum', 'Maximum', 'Last'. * * @return the primaryAggregationType value */ diff --git a/sdk/cosmos/mgmt-v2015_04_08/src/main/java/com/microsoft/azure/management/cosmosdb/v2015_04_08/implementation/OperationsInner.java b/sdk/cosmos/mgmt-v2015_04_08/src/main/java/com/microsoft/azure/management/cosmosdb/v2015_04_08/implementation/OperationsInner.java index a8c1c32f32e18..ff83fbd5761eb 100644 --- a/sdk/cosmos/mgmt-v2015_04_08/src/main/java/com/microsoft/azure/management/cosmosdb/v2015_04_08/implementation/OperationsInner.java +++ b/sdk/cosmos/mgmt-v2015_04_08/src/main/java/com/microsoft/azure/management/cosmosdb/v2015_04_08/implementation/OperationsInner.java @@ -37,7 +37,7 @@ public class OperationsInner { /** The Retrofit service to perform REST calls. */ private OperationsService service; /** The service client containing this operation class. */ - private CosmosDBImpl client; + private CosmosDBManagementClientImpl client; /** * Initializes an instance of OperationsInner. @@ -45,7 +45,7 @@ public class OperationsInner { * @param retrofit the Retrofit instance built from a Retrofit Builder. * @param client the instance of the service client containing this operation class. */ - public OperationsInner(Retrofit retrofit, CosmosDBImpl client) { + public OperationsInner(Retrofit retrofit, CosmosDBManagementClientImpl client) { this.service = retrofit.create(OperationsService.class); this.client = client; } diff --git a/sdk/cosmos/mgmt-v2015_04_08/src/main/java/com/microsoft/azure/management/cosmosdb/v2015_04_08/implementation/PartitionKeyRangeIdRegionsInner.java b/sdk/cosmos/mgmt-v2015_04_08/src/main/java/com/microsoft/azure/management/cosmosdb/v2015_04_08/implementation/PartitionKeyRangeIdRegionsInner.java index bf16342dc947d..558556f7f6f19 100644 --- a/sdk/cosmos/mgmt-v2015_04_08/src/main/java/com/microsoft/azure/management/cosmosdb/v2015_04_08/implementation/PartitionKeyRangeIdRegionsInner.java +++ b/sdk/cosmos/mgmt-v2015_04_08/src/main/java/com/microsoft/azure/management/cosmosdb/v2015_04_08/implementation/PartitionKeyRangeIdRegionsInner.java @@ -34,7 +34,7 @@ public class PartitionKeyRangeIdRegionsInner { /** The Retrofit service to perform REST calls. */ private PartitionKeyRangeIdRegionsService service; /** The service client containing this operation class. */ - private CosmosDBImpl client; + private CosmosDBManagementClientImpl client; /** * Initializes an instance of PartitionKeyRangeIdRegionsInner. @@ -42,7 +42,7 @@ public class PartitionKeyRangeIdRegionsInner { * @param retrofit the Retrofit instance built from a Retrofit Builder. * @param client the instance of the service client containing this operation class. */ - public PartitionKeyRangeIdRegionsInner(Retrofit retrofit, CosmosDBImpl client) { + public PartitionKeyRangeIdRegionsInner(Retrofit retrofit, CosmosDBManagementClientImpl client) { this.service = retrofit.create(PartitionKeyRangeIdRegionsService.class); this.client = client; } diff --git a/sdk/cosmos/mgmt-v2015_04_08/src/main/java/com/microsoft/azure/management/cosmosdb/v2015_04_08/implementation/PartitionKeyRangeIdsInner.java b/sdk/cosmos/mgmt-v2015_04_08/src/main/java/com/microsoft/azure/management/cosmosdb/v2015_04_08/implementation/PartitionKeyRangeIdsInner.java index 4d1283dbf94d4..f1778387c96e1 100644 --- a/sdk/cosmos/mgmt-v2015_04_08/src/main/java/com/microsoft/azure/management/cosmosdb/v2015_04_08/implementation/PartitionKeyRangeIdsInner.java +++ b/sdk/cosmos/mgmt-v2015_04_08/src/main/java/com/microsoft/azure/management/cosmosdb/v2015_04_08/implementation/PartitionKeyRangeIdsInner.java @@ -34,7 +34,7 @@ public class PartitionKeyRangeIdsInner { /** The Retrofit service to perform REST calls. */ private PartitionKeyRangeIdsService service; /** The service client containing this operation class. */ - private CosmosDBImpl client; + private CosmosDBManagementClientImpl client; /** * Initializes an instance of PartitionKeyRangeIdsInner. @@ -42,7 +42,7 @@ public class PartitionKeyRangeIdsInner { * @param retrofit the Retrofit instance built from a Retrofit Builder. * @param client the instance of the service client containing this operation class. */ - public PartitionKeyRangeIdsInner(Retrofit retrofit, CosmosDBImpl client) { + public PartitionKeyRangeIdsInner(Retrofit retrofit, CosmosDBManagementClientImpl client) { this.service = retrofit.create(PartitionKeyRangeIdsService.class); this.client = client; } diff --git a/sdk/cosmos/mgmt-v2015_04_08/src/main/java/com/microsoft/azure/management/cosmosdb/v2015_04_08/implementation/PercentileSourceTargetsInner.java b/sdk/cosmos/mgmt-v2015_04_08/src/main/java/com/microsoft/azure/management/cosmosdb/v2015_04_08/implementation/PercentileSourceTargetsInner.java index 1a8b0e0539247..67f71344a222c 100644 --- a/sdk/cosmos/mgmt-v2015_04_08/src/main/java/com/microsoft/azure/management/cosmosdb/v2015_04_08/implementation/PercentileSourceTargetsInner.java +++ b/sdk/cosmos/mgmt-v2015_04_08/src/main/java/com/microsoft/azure/management/cosmosdb/v2015_04_08/implementation/PercentileSourceTargetsInner.java @@ -34,7 +34,7 @@ public class PercentileSourceTargetsInner { /** The Retrofit service to perform REST calls. */ private PercentileSourceTargetsService service; /** The service client containing this operation class. */ - private CosmosDBImpl client; + private CosmosDBManagementClientImpl client; /** * Initializes an instance of PercentileSourceTargetsInner. @@ -42,7 +42,7 @@ public class PercentileSourceTargetsInner { * @param retrofit the Retrofit instance built from a Retrofit Builder. * @param client the instance of the service client containing this operation class. */ - public PercentileSourceTargetsInner(Retrofit retrofit, CosmosDBImpl client) { + public PercentileSourceTargetsInner(Retrofit retrofit, CosmosDBManagementClientImpl client) { this.service = retrofit.create(PercentileSourceTargetsService.class); this.client = client; } diff --git a/sdk/cosmos/mgmt-v2015_04_08/src/main/java/com/microsoft/azure/management/cosmosdb/v2015_04_08/implementation/PercentileTargetsInner.java b/sdk/cosmos/mgmt-v2015_04_08/src/main/java/com/microsoft/azure/management/cosmosdb/v2015_04_08/implementation/PercentileTargetsInner.java index da29ac207b0d3..8ef7c42c04c4f 100644 --- a/sdk/cosmos/mgmt-v2015_04_08/src/main/java/com/microsoft/azure/management/cosmosdb/v2015_04_08/implementation/PercentileTargetsInner.java +++ b/sdk/cosmos/mgmt-v2015_04_08/src/main/java/com/microsoft/azure/management/cosmosdb/v2015_04_08/implementation/PercentileTargetsInner.java @@ -34,7 +34,7 @@ public class PercentileTargetsInner { /** The Retrofit service to perform REST calls. */ private PercentileTargetsService service; /** The service client containing this operation class. */ - private CosmosDBImpl client; + private CosmosDBManagementClientImpl client; /** * Initializes an instance of PercentileTargetsInner. @@ -42,7 +42,7 @@ public class PercentileTargetsInner { * @param retrofit the Retrofit instance built from a Retrofit Builder. * @param client the instance of the service client containing this operation class. */ - public PercentileTargetsInner(Retrofit retrofit, CosmosDBImpl client) { + public PercentileTargetsInner(Retrofit retrofit, CosmosDBManagementClientImpl client) { this.service = retrofit.create(PercentileTargetsService.class); this.client = client; } diff --git a/sdk/cosmos/mgmt-v2015_04_08/src/main/java/com/microsoft/azure/management/cosmosdb/v2015_04_08/implementation/PercentilesInner.java b/sdk/cosmos/mgmt-v2015_04_08/src/main/java/com/microsoft/azure/management/cosmosdb/v2015_04_08/implementation/PercentilesInner.java index a20483800e8ad..fc9d65cc1e7a3 100644 --- a/sdk/cosmos/mgmt-v2015_04_08/src/main/java/com/microsoft/azure/management/cosmosdb/v2015_04_08/implementation/PercentilesInner.java +++ b/sdk/cosmos/mgmt-v2015_04_08/src/main/java/com/microsoft/azure/management/cosmosdb/v2015_04_08/implementation/PercentilesInner.java @@ -34,7 +34,7 @@ public class PercentilesInner { /** The Retrofit service to perform REST calls. */ private PercentilesService service; /** The service client containing this operation class. */ - private CosmosDBImpl client; + private CosmosDBManagementClientImpl client; /** * Initializes an instance of PercentilesInner. @@ -42,7 +42,7 @@ public class PercentilesInner { * @param retrofit the Retrofit instance built from a Retrofit Builder. * @param client the instance of the service client containing this operation class. */ - public PercentilesInner(Retrofit retrofit, CosmosDBImpl client) { + public PercentilesInner(Retrofit retrofit, CosmosDBManagementClientImpl client) { this.service = retrofit.create(PercentilesService.class); this.client = client; } diff --git a/sdk/cosmos/mgmt-v2015_04_08/src/main/java/com/microsoft/azure/management/cosmosdb/v2015_04_08/implementation/package-info.java b/sdk/cosmos/mgmt-v2015_04_08/src/main/java/com/microsoft/azure/management/cosmosdb/v2015_04_08/implementation/package-info.java index 9c76d08e321c3..0ea175666c9c7 100644 --- a/sdk/cosmos/mgmt-v2015_04_08/src/main/java/com/microsoft/azure/management/cosmosdb/v2015_04_08/implementation/package-info.java +++ b/sdk/cosmos/mgmt-v2015_04_08/src/main/java/com/microsoft/azure/management/cosmosdb/v2015_04_08/implementation/package-info.java @@ -5,7 +5,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. /** - * This package contains the implementation classes for CosmosDB. + * This package contains the implementation classes for CosmosDBManagementClient. * Azure Cosmos DB Database Service Resource Provider REST API. */ package com.microsoft.azure.management.cosmosdb.v2015_04_08.implementation; diff --git a/sdk/cosmos/mgmt-v2015_04_08/src/main/java/com/microsoft/azure/management/cosmosdb/v2015_04_08/package-info.java b/sdk/cosmos/mgmt-v2015_04_08/src/main/java/com/microsoft/azure/management/cosmosdb/v2015_04_08/package-info.java index 046adf5ad5b45..1a3068f98e34d 100644 --- a/sdk/cosmos/mgmt-v2015_04_08/src/main/java/com/microsoft/azure/management/cosmosdb/v2015_04_08/package-info.java +++ b/sdk/cosmos/mgmt-v2015_04_08/src/main/java/com/microsoft/azure/management/cosmosdb/v2015_04_08/package-info.java @@ -5,7 +5,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. /** - * This package contains the classes for CosmosDB. + * This package contains the classes for CosmosDBManagementClient. * Azure Cosmos DB Database Service Resource Provider REST API. */ package com.microsoft.azure.management.cosmosdb.v2015_04_08;