Skip to content

Commit

Permalink
[AutoPR sql/resource-manager] Instance pool usages (#3592)
Browse files Browse the repository at this point in the history
* Generated from 1ffaa53aad043987534e6335260d13bd4d65d4e0

Add instance pool usages, use common resources, and instance pool usages examples

* Generated from 6c0ff538cef93b45db448e269d3f3e3e7fc29341

update to usages.json since we're using new operation group

* Generated from 73f5d68aa5576e313d6e750d745343e531e097fd

fix extra line
  • Loading branch information
AutorestCI authored Jun 17, 2019
1 parent 028cd39 commit e739ba7
Show file tree
Hide file tree
Showing 30 changed files with 3,215 additions and 91 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,15 @@ public final class DatabaseEdition extends ExpandableStringEnum<DatabaseEdition>
/** Static value System2 for DatabaseEdition. */
public static final DatabaseEdition SYSTEM2 = fromString("System2");

/** Static value GeneralPurpose for DatabaseEdition. */
public static final DatabaseEdition GENERAL_PURPOSE = fromString("GeneralPurpose");

/** Static value BusinessCritical for DatabaseEdition. */
public static final DatabaseEdition BUSINESS_CRITICAL = fromString("BusinessCritical");

/** Static value Hyperscale for DatabaseEdition. */
public static final DatabaseEdition HYPERSCALE = fromString("Hyperscale");

/**
* Creates or finds a DatabaseEdition from its string representation.
* @param name a name to look for
Expand Down

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,12 @@ public final class ElasticPoolEdition extends ExpandableStringEnum<ElasticPoolEd
/** Static value Premium for ElasticPoolEdition. */
public static final ElasticPoolEdition PREMIUM = fromString("Premium");

/** Static value GeneralPurpose for ElasticPoolEdition. */
public static final ElasticPoolEdition GENERAL_PURPOSE = fromString("GeneralPurpose");

/** Static value BusinessCritical for ElasticPoolEdition. */
public static final ElasticPoolEdition BUSINESS_CRITICAL = fromString("BusinessCritical");

/**
* Creates or finds a ElasticPoolEdition from its string representation.
* @param name a name to look for
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ public class ElasticPoolUpdate extends ProxyResource {

/**
* The edition of the elastic pool. Possible values include: 'Basic',
* 'Standard', 'Premium'.
* 'Standard', 'Premium', 'GeneralPurpose', 'BusinessCritical'.
*/
@JsonProperty(value = "properties.edition")
private ElasticPoolEdition edition;
Expand Down Expand Up @@ -116,7 +116,7 @@ public ElasticPoolState state() {
}

/**
* Get the edition of the elastic pool. Possible values include: 'Basic', 'Standard', 'Premium'.
* Get the edition of the elastic pool. Possible values include: 'Basic', 'Standard', 'Premium', 'GeneralPurpose', 'BusinessCritical'.
*
* @return the edition value
*/
Expand All @@ -125,7 +125,7 @@ public ElasticPoolEdition edition() {
}

/**
* Set the edition of the elastic pool. Possible values include: 'Basic', 'Standard', 'Premium'.
* Set the edition of the elastic pool. Possible values include: 'Basic', 'Standard', 'Premium', 'GeneralPurpose', 'BusinessCritical'.
*
* @param edition the edition value to set
* @return the ElasticPoolUpdate object itself.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,23 @@ public class ImportRequest extends ExportRequest {
private String databaseName;

/**
* The edition for the database being created. Possible values include:
* 'Web', 'Business', 'Basic', 'Standard', 'Premium', 'PremiumRS', 'Free',
* 'Stretch', 'DataWarehouse', 'System', 'System2'.
* The edition for the database being created.
*
* The list of SKUs may vary by region and support offer. To determine the
* SKUs (including the SKU name, tier/edition, family, and capacity) that
* are available to your subscription in an Azure region, use the
* `Capabilities_ListByLocation` REST API or one of the following commands:
*
* ```azurecli
* az sql db list-editions -l &lt;location&gt; -o table
* ````
*
* ```powershell
* Get-AzSqlServerServiceObjective -Location &lt;location&gt;
* ````
* . Possible values include: 'Web', 'Business', 'Basic', 'Standard',
* 'Premium', 'PremiumRS', 'Free', 'Stretch', 'DataWarehouse', 'System',
* 'System2', 'GeneralPurpose', 'BusinessCritical', 'Hyperscale'.
*/
@JsonProperty(value = "edition", required = true)
private DatabaseEdition edition;
Expand Down Expand Up @@ -70,7 +84,15 @@ public ImportRequest withDatabaseName(String databaseName) {
}

/**
* Get the edition for the database being created. Possible values include: 'Web', 'Business', 'Basic', 'Standard', 'Premium', 'PremiumRS', 'Free', 'Stretch', 'DataWarehouse', 'System', 'System2'.
* Get the edition for the database being created.
The list of SKUs may vary by region and support offer. To determine the SKUs (including the SKU name, tier/edition, family, and capacity) that are available to your subscription in an Azure region, use the `Capabilities_ListByLocation` REST API or one of the following commands:
```azurecli
az sql db list-editions -l &lt;location&gt; -o table
````
```powershell
Get-AzSqlServerServiceObjective -Location &lt;location&gt;
````
. Possible values include: 'Web', 'Business', 'Basic', 'Standard', 'Premium', 'PremiumRS', 'Free', 'Stretch', 'DataWarehouse', 'System', 'System2', 'GeneralPurpose', 'BusinessCritical', 'Hyperscale'.
*
* @return the edition value
*/
Expand All @@ -79,7 +101,15 @@ public DatabaseEdition edition() {
}

/**
* Set the edition for the database being created. Possible values include: 'Web', 'Business', 'Basic', 'Standard', 'Premium', 'PremiumRS', 'Free', 'Stretch', 'DataWarehouse', 'System', 'System2'.
* Set the edition for the database being created.
The list of SKUs may vary by region and support offer. To determine the SKUs (including the SKU name, tier/edition, family, and capacity) that are available to your subscription in an Azure region, use the `Capabilities_ListByLocation` REST API or one of the following commands:
```azurecli
az sql db list-editions -l &lt;location&gt; -o table
````
```powershell
Get-AzSqlServerServiceObjective -Location &lt;location&gt;
````
. Possible values include: 'Web', 'Business', 'Basic', 'Standard', 'Premium', 'PremiumRS', 'Free', 'Stretch', 'DataWarehouse', 'System', 'System2', 'GeneralPurpose', 'BusinessCritical', 'Hyperscale'.
*
* @param edition the edition value to set
* @return the ImportRequest object itself.
Expand Down
Loading

0 comments on commit e739ba7

Please sign in to comment.