Skip to content

Commit

Permalink
Update from master
Browse files Browse the repository at this point in the history
  • Loading branch information
SDK Automation committed Jul 8, 2020
1 parent dc84cf7 commit c6f0cdd
Show file tree
Hide file tree
Showing 64 changed files with 962 additions and 796 deletions.
4 changes: 2 additions & 2 deletions sdk/cosmos/mgmt-v2020_03_01/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
<parent>
<groupId>com.microsoft.azure</groupId>
<artifactId>azure-arm-parent</artifactId>
<version>1.3.0</version>
<relativePath>../../parents/azure-arm-parent</relativePath>
<version>1.1.0</version>
<relativePath>../../../pom.management.xml</relativePath>
</parent>
<artifactId>azure-mgmt-cosmosdb</artifactId>
<version>1.0.0-beta</version>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ interface Blank extends WithDatabaseAccount {
interface WithDatabaseAccount {
/**
* Specifies resourceGroupName, accountName.
* @param resourceGroupName Name of an Azure resource group
* @param resourceGroupName The name of the resource group. The name is case insensitive
* @param accountName Cosmos DB database account name
* @return the next definition stage
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ public interface CassandraResources {
/**
* Gets the Cassandra keyspaces under an existing Azure Cosmos DB database account with the provided name.
*
* @param resourceGroupName Name of an Azure resource group.
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param accountName Cosmos DB database account name.
* @param keyspaceName Cosmos DB keyspace name.
* @throws IllegalArgumentException thrown if parameters fail the validation
Expand All @@ -45,7 +45,7 @@ public interface CassandraResources {
/**
* Lists the Cassandra keyspaces under an existing Azure Cosmos DB database account.
*
* @param resourceGroupName Name of an Azure resource group.
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param accountName Cosmos DB database account name.
* @throws IllegalArgumentException thrown if parameters fail the validation
* @return the observable for the request
Expand All @@ -55,7 +55,7 @@ public interface CassandraResources {
/**
* Deletes an existing Azure Cosmos DB Cassandra keyspace.
*
* @param resourceGroupName Name of an Azure resource group.
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param accountName Cosmos DB database account name.
* @param keyspaceName Cosmos DB keyspace name.
* @throws IllegalArgumentException thrown if parameters fail the validation
Expand All @@ -66,7 +66,7 @@ public interface CassandraResources {
/**
* Gets the RUs per second of the Cassandra Keyspace under an existing Azure Cosmos DB database account with the provided name.
*
* @param resourceGroupName Name of an Azure resource group.
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param accountName Cosmos DB database account name.
* @param keyspaceName Cosmos DB keyspace name.
* @throws IllegalArgumentException thrown if parameters fail the validation
Expand All @@ -77,7 +77,7 @@ public interface CassandraResources {
/**
* Update RUs per second of an Azure Cosmos DB Cassandra Keyspace.
*
* @param resourceGroupName Name of an Azure resource group.
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param accountName Cosmos DB database account name.
* @param keyspaceName Cosmos DB keyspace name.
* @param updateThroughputParameters The RUs per second of the parameters to provide for the current Cassandra Keyspace.
Expand All @@ -89,7 +89,7 @@ public interface CassandraResources {
/**
* Gets the RUs per second of the Cassandra table under an existing Azure Cosmos DB database account with the provided name.
*
* @param resourceGroupName Name of an Azure resource group.
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param accountName Cosmos DB database account name.
* @param keyspaceName Cosmos DB keyspace name.
* @param tableName Cosmos DB table name.
Expand All @@ -101,7 +101,7 @@ public interface CassandraResources {
/**
* Update RUs per second of an Azure Cosmos DB Cassandra table.
*
* @param resourceGroupName Name of an Azure resource group.
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param accountName Cosmos DB database account name.
* @param keyspaceName Cosmos DB keyspace name.
* @param tableName Cosmos DB table name.
Expand All @@ -114,7 +114,7 @@ public interface CassandraResources {
/**
* Gets the Cassandra table under an existing Azure Cosmos DB database account.
*
* @param resourceGroupName Name of an Azure resource group.
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param accountName Cosmos DB database account name.
* @param keyspaceName Cosmos DB keyspace name.
* @param tableName Cosmos DB table name.
Expand All @@ -126,7 +126,7 @@ public interface CassandraResources {
/**
* Lists the Cassandra table under an existing Azure Cosmos DB database account.
*
* @param resourceGroupName Name of an Azure resource group.
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param accountName Cosmos DB database account name.
* @param keyspaceName Cosmos DB keyspace name.
* @throws IllegalArgumentException thrown if parameters fail the validation
Expand All @@ -137,7 +137,7 @@ public interface CassandraResources {
/**
* Deletes an existing Azure Cosmos DB Cassandra table.
*
* @param resourceGroupName Name of an Azure resource group.
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param accountName Cosmos DB database account name.
* @param keyspaceName Cosmos DB keyspace name.
* @param tableName Cosmos DB table name.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ interface Blank extends WithCassandraKeyspace {
interface WithCassandraKeyspace {
/**
* Specifies resourceGroupName, accountName, keyspaceName.
* @param resourceGroupName Name of an Azure resource group
* @param resourceGroupName The name of the resource group. The name is case insensitive
* @param accountName Cosmos DB database account name
* @param keyspaceName Cosmos DB keyspace name
* @return the next definition stage
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ public interface CollectionPartitionRegions {
/**
* Retrieves the metrics determined by the given filter for the given collection and region, split by partition.
*
* @param resourceGroupName Name of an Azure resource group.
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param accountName Cosmos DB database account name.
* @param region Cosmos DB region, with spaces between words and each word capitalized.
* @param databaseRid Cosmos DB database rid.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ public interface CollectionPartitions {
/**
* Retrieves the metrics determined by the given filter for the given collection, split by partition.
*
* @param resourceGroupName Name of an Azure resource group.
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param accountName Cosmos DB database account name.
* @param databaseRid Cosmos DB database rid.
* @param collectionRid Cosmos DB collection rid.
Expand All @@ -30,7 +30,7 @@ public interface CollectionPartitions {
/**
* Retrieves the usages (most recent storage data) for the given collection, split by partition.
*
* @param resourceGroupName Name of an Azure resource group.
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param accountName Cosmos DB database account name.
* @param databaseRid Cosmos DB database rid.
* @param collectionRid Cosmos DB collection rid.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ public interface CollectionRegions {
/**
* Retrieves the metrics determined by the given filter for the given database account, collection and region.
*
* @param resourceGroupName Name of an Azure resource group.
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param accountName Cosmos DB database account name.
* @param region Cosmos DB region, with spaces between words and each word capitalized.
* @param databaseRid Cosmos DB database rid.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ public interface Collections {
/**
* Retrieves metric definitions for the given collection.
*
* @param resourceGroupName Name of an Azure resource group.
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param accountName Cosmos DB database account name.
* @param databaseRid Cosmos DB database rid.
* @param collectionRid Cosmos DB collection rid.
Expand All @@ -32,7 +32,7 @@ public interface Collections {
/**
* Retrieves the metrics determined by the given filter for the given database account and collection.
*
* @param resourceGroupName Name of an Azure resource group.
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param accountName Cosmos DB database account name.
* @param databaseRid Cosmos DB database rid.
* @param collectionRid Cosmos DB collection rid.
Expand All @@ -45,7 +45,7 @@ public interface Collections {
/**
* Retrieves the usages (most recent storage data) for the given collection.
*
* @param resourceGroupName Name of an Azure resource group.
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param accountName Cosmos DB database account name.
* @param databaseRid Cosmos DB database rid.
* @param collectionRid Cosmos DB collection rid.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,11 @@ public interface DatabaseAccountGetResults extends HasInner<DatabaseAccountGetRe
*/
List<Location> locations();

/**
* @return the privateEndpointConnections value.
*/
List<PrivateEndpointConnection> privateEndpointConnections();

/**
* @return the provisioningState value.
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ public interface DatabaseAccountRegions extends HasInner<DatabaseAccountRegionsI
/**
* Retrieves the metrics determined by the given filter for the given database account and region.
*
* @param resourceGroupName Name of an Azure resource group.
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param accountName Cosmos DB database account name.
* @param region Cosmos DB region, with spaces between words and each word capitalized.
* @param filter An OData filter expression that describes a subset of metrics to return. The parameters that can be filtered are name.value (name of the metric, can have an or of multiple names), startTime, endTime, and timeGrain. The supported operator is eq.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ public interface DatabaseAccounts extends SupportsCreating<DatabaseAccountGetRes
/**
* Changes the failover priority for the Azure Cosmos DB database account. A failover priority of 0 indicates a write region. The maximum value for a failover priority = (total number of regions - 1). Failover priority values must be unique for each of the regions in which the database account exists.
*
* @param resourceGroupName Name of an Azure resource group.
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param accountName Cosmos DB database account name.
* @param failoverPolicies List of failover policies.
* @throws IllegalArgumentException thrown if parameters fail the validation
Expand All @@ -41,7 +41,7 @@ public interface DatabaseAccounts extends SupportsCreating<DatabaseAccountGetRes
/**
* Lists the access keys for the specified Azure Cosmos DB database account.
*
* @param resourceGroupName Name of an Azure resource group.
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param accountName Cosmos DB database account name.
* @throws IllegalArgumentException thrown if parameters fail the validation
* @return the observable for the request
Expand All @@ -51,7 +51,7 @@ public interface DatabaseAccounts extends SupportsCreating<DatabaseAccountGetRes
/**
* Lists the connection strings for the specified Azure Cosmos DB database account.
*
* @param resourceGroupName Name of an Azure resource group.
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param accountName Cosmos DB database account name.
* @throws IllegalArgumentException thrown if parameters fail the validation
* @return the observable for the request
Expand All @@ -61,7 +61,7 @@ public interface DatabaseAccounts extends SupportsCreating<DatabaseAccountGetRes
/**
* Offline the specified region for the specified Azure Cosmos DB database account.
*
* @param resourceGroupName Name of an Azure resource group.
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param accountName Cosmos DB database account name.
* @param region Cosmos DB region, with spaces between words and each word capitalized.
* @throws IllegalArgumentException thrown if parameters fail the validation
Expand All @@ -72,7 +72,7 @@ public interface DatabaseAccounts extends SupportsCreating<DatabaseAccountGetRes
/**
* Online the specified region for the specified Azure Cosmos DB database account.
*
* @param resourceGroupName Name of an Azure resource group.
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param accountName Cosmos DB database account name.
* @param region Cosmos DB region, with spaces between words and each word capitalized.
* @throws IllegalArgumentException thrown if parameters fail the validation
Expand All @@ -83,7 +83,7 @@ public interface DatabaseAccounts extends SupportsCreating<DatabaseAccountGetRes
/**
* Lists the read-only access keys for the specified Azure Cosmos DB database account.
*
* @param resourceGroupName Name of an Azure resource group.
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param accountName Cosmos DB database account name.
* @throws IllegalArgumentException thrown if parameters fail the validation
* @return the observable for the request
Expand All @@ -93,7 +93,7 @@ public interface DatabaseAccounts extends SupportsCreating<DatabaseAccountGetRes
/**
* Regenerates an access key for the specified Azure Cosmos DB database account.
*
* @param resourceGroupName Name of an Azure resource group.
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param accountName Cosmos DB database account name.
* @param keyKind The access key to regenerate. Possible values include: 'primary', 'secondary', 'primaryReadonly', 'secondaryReadonly'
* @throws IllegalArgumentException thrown if parameters fail the validation
Expand All @@ -104,7 +104,7 @@ public interface DatabaseAccounts extends SupportsCreating<DatabaseAccountGetRes
/**
* Lists the read-only access keys for the specified Azure Cosmos DB database account.
*
* @param resourceGroupName Name of an Azure resource group.
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param accountName Cosmos DB database account name.
* @throws IllegalArgumentException thrown if parameters fail the validation
* @return the observable for the request
Expand All @@ -123,7 +123,7 @@ public interface DatabaseAccounts extends SupportsCreating<DatabaseAccountGetRes
/**
* Retrieves the metrics determined by the given filter for the given database account.
*
* @param resourceGroupName Name of an Azure resource group.
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param accountName Cosmos DB database account name.
* @param filter An OData filter expression that describes a subset of metrics to return. The parameters that can be filtered are name.value (name of the metric, can have an or of multiple names), startTime, endTime, and timeGrain. The supported operator is eq.
* @throws IllegalArgumentException thrown if parameters fail the validation
Expand All @@ -134,7 +134,7 @@ public interface DatabaseAccounts extends SupportsCreating<DatabaseAccountGetRes
/**
* Retrieves the usages (most recent data) for the given database account.
*
* @param resourceGroupName Name of an Azure resource group.
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param accountName Cosmos DB database account name.
* @throws IllegalArgumentException thrown if parameters fail the validation
* @return the observable for the request
Expand All @@ -144,7 +144,7 @@ public interface DatabaseAccounts extends SupportsCreating<DatabaseAccountGetRes
/**
* Retrieves metric definitions for the given database account.
*
* @param resourceGroupName Name of an Azure resource group.
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param accountName Cosmos DB database account name.
* @throws IllegalArgumentException thrown if parameters fail the validation
* @return the observable for the request
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ public interface Databases {
/**
* Retrieves metric definitions for the given database.
*
* @param resourceGroupName Name of an Azure resource group.
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param accountName Cosmos DB database account name.
* @param databaseRid Cosmos DB database rid.
* @throws IllegalArgumentException thrown if parameters fail the validation
Expand All @@ -31,7 +31,7 @@ public interface Databases {
/**
* Retrieves the metrics determined by the given filter for the given database account and database.
*
* @param resourceGroupName Name of an Azure resource group.
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param accountName Cosmos DB database account name.
* @param databaseRid Cosmos DB database rid.
* @param filter An OData filter expression that describes a subset of metrics to return. The parameters that can be filtered are name.value (name of the metric, can have an or of multiple names), startTime, endTime, and timeGrain. The supported operator is eq.
Expand All @@ -43,7 +43,7 @@ public interface Databases {
/**
* Retrieves the usages (most recent data) for the given database.
*
* @param resourceGroupName Name of an Azure resource group.
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param accountName Cosmos DB database account name.
* @param databaseRid Cosmos DB database rid.
* @throws IllegalArgumentException thrown if parameters fail the validation
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ interface Blank extends WithDatabaseAccount {
interface WithDatabaseAccount {
/**
* Specifies resourceGroupName, accountName.
* @param resourceGroupName Name of an Azure resource group
* @param resourceGroupName The name of the resource group. The name is case insensitive
* @param accountName Cosmos DB database account name
* @return the next definition stage
*/
Expand Down
Loading

0 comments on commit c6f0cdd

Please sign in to comment.