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 sql/resource-manager] Instance pool usages #3592

Merged
merged 3 commits into from
Jun 17, 2019
Merged
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
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