Skip to content
This repository was archived by the owner on Jan 11, 2023. It is now read-only.
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
462 changes: 218 additions & 244 deletions management/azure_mgmt_sql/lib/generated/azure_mgmt_sql/databases.rb

Large diffs are not rendered by default.

211 changes: 96 additions & 115 deletions management/azure_mgmt_sql/lib/generated/azure_mgmt_sql/elastic_pools.rb

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@
module Azure::ARM::SQL
module Models
#
# Represents an Azure SQL Database table column.
# Represents a database table column.
#
class Column < MsRestAzure::Resource

include MsRestAzure

# @return [String] The type of Azure SQL Database table column.
# @return [String] The type of database table column.
attr_accessor :column_type


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
module Azure::ARM::SQL
module Models
#
# Represents an Azure SQL Database.
# Represents a database.
#
class Database < MsRestAzure::Resource

Expand All @@ -16,27 +16,25 @@ class Database < MsRestAzure::Resource
# portal experience.
attr_accessor :kind

# @return [String] The collation of the Azure SQL database. If createMode
# is not Default, this value is ignored.
# @return [String] The collation of the database. If createMode is not
# Default, this value is ignored.
attr_accessor :collation

# @return [DateTime] The creation date of the Azure SQL database (ISO8601
# format).
# @return [DateTime] The creation date of the database (ISO8601 format).
attr_accessor :creation_date

# @return [Integer] The containment state of the Azure SQL database.
# @return [Integer] The containment state of the database.
attr_accessor :containment_state

# @return The current Service Level Objective ID of the Azure SQL
# database. This is the ID of the Service Level Objective that is
# currently active.
# @return The current service level objective ID of the database. This is
# the ID of the service level objective that is currently active.
attr_accessor :current_service_objective_id

# @return [String] The ID of the Azure SQL database.
# @return [String] The ID of the database.
attr_accessor :database_id

# @return [DateTime] This records the earliest start date and time that
# restore is available for this Azure SQL Database (ISO8601 format).
# restore is available for this database (ISO8601 format).
attr_accessor :earliest_restore_date

# @return [CreateMode] Specifies the type of database to create. If
Expand All @@ -61,46 +59,48 @@ class Database < MsRestAzure::Resource
# the source database's earliestRestoreDate value.
attr_accessor :restore_point_in_time

# @return [DatabaseEditions] The edition of the Azure SQL database. The
# @return [DatabaseEditions] The edition of the database. The
# DatabaseEditions enumeration contains all the valid editions. If
# createMode is NonReadableSecondary or OnlineSecondary, this value is
# ignored. Possible values include: 'Web', 'Business', 'Basic',
# 'Standard', 'Premium', 'Free', 'Stretch', 'DataWarehouse', 'System'
attr_accessor :edition

# @return [String] The max size of the Azure SQL database expressed in
# bytes. If createMode is not Default, this value is ignored. Note: Only
# the following sizes are supported (in addition to limitations being
# placed on each edition): { 100 MB | 500 MB |1 GB | 5 GB | 10 GB | 20 GB
# | 30 GB … 150 GB | 200 GB … 500 GB }
# @return [String] The max size of the database expressed in bytes. If
# createMode is not Default, this value is ignored. Note: Only the
# following sizes are supported (in addition to limitations being placed
# on each edition): { 100 MB | 500 MB |1 GB | 5 GB | 10 GB | 20 GB | 30
# GB … 150 GB | 200 GB … 500 GB }
attr_accessor :max_size_bytes

# @return The configured Service Level Objective ID of the Azure SQL
# database. This is the Service Level Objective that is in the process of
# being applied to the Azure SQL database. Once successfully updated, it
# will match the value of currentServiceObjectiveId property.
# @return The configured service level objective ID of the database. This
# is the service level objective that is in the process of being applied
# to the database. Once successfully updated, it will match the value of
# currentServiceObjectiveId property. If requestedServiceObjectiveId and
# requestedServiceObjectiveName are both updated, the value of
# requestedServiceObjectiveId overrides the value of
# requestedServiceObjectiveName.
attr_accessor :requested_service_objective_id

# @return [ServiceObjectiveName] The name of the configured Service Level
# Objective of the Azure SQL database. This is the Service Level
# Objective that is in the process of being applied to the Azure SQL
# database. Once successfully updated, it will match the value of
# serviceLevelObjective property. Possible values include: 'Basic', 'S0',
# 'S1', 'S2', 'S3', 'P1', 'P2', 'P3', 'P4', 'P6', 'P11', 'P15', 'System',
# 'System1', 'System2', 'System3', 'System4'
# @return [ServiceObjectiveName] The name of the configured service level
# objective of the database. This is the service level objective that is
# in the process of being applied to the database. Once successfully
# updated, it will match the value of serviceLevelObjective property.
# Possible values include: 'Basic', 'S0', 'S1', 'S2', 'S3', 'P1', 'P2',
# 'P3', 'P4', 'P6', 'P11', 'P15', 'System', 'ElasticPool'
attr_accessor :requested_service_objective_name

# @return [ServiceObjectiveName] The current Service Level Objective of
# the Azure SQL database. Possible values include: 'Basic', 'S0', 'S1',
# 'S2', 'S3', 'P1', 'P2', 'P3', 'P4', 'P6', 'P11', 'P15', 'System',
# 'System1', 'System2', 'System3', 'System4'
# @return [ServiceObjectiveName] The current service level objective of
# the database. Possible values include: 'Basic', 'S0', 'S1', 'S2', 'S3',
# 'P1', 'P2', 'P3', 'P4', 'P6', 'P11', 'P15', 'System', 'ElasticPool'
attr_accessor :service_level_objective

# @return [String] The status of the Azure SQL database.
# @return [String] The status of the database.
attr_accessor :status

# @return [String] The name of the Azure SQL Elastic Pool the database is
# in.
# @return [String] The name of the elastic pool the database is in. If
# elasticPoolName and requestedServiceObjectiveName are both updated, the
# value of requestedServiceObjectiveName is ignored.
attr_accessor :elastic_pool_name

# @return [String] The default secondary region for this database.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,13 @@
module Azure::ARM::SQL
module Models
#
# Represents the response to a List Azure SQL Database request.
# Represents the response to a list database request.
#
class DatabaseListResult

include MsRestAzure

# @return [Array<Database>] The list of Azure SQL Databases housed in the
# server.
# @return [Array<Database>] The list of databases housed in the server.
attr_accessor :value


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
module Azure::ARM::SQL
module Models
#
# Represents Azure SQL Database metrics.
# Represents database metrics.
#
class DatabaseMetric < SqlSubResource

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,14 @@
module Azure::ARM::SQL
module Models
#
# Represents the response to a List Azure SQL Database metrics request.
# Represents the response to a list database metrics request.
#
class DatabaseMetricListResult

include MsRestAzure

# @return [Array<DatabaseMetric>] The list of Azure SQL Database metrics
# for the database.
# @return [Array<DatabaseMetric>] The list of database metrics for the
# database.
attr_accessor :value


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,38 +6,35 @@
module Azure::ARM::SQL
module Models
#
# Represents an Azure SQL Database elastic pool.
# Represents a database elastic pool.
#
class ElasticPool < MsRestAzure::Resource

include MsRestAzure

# @return [DateTime] The creation date of the Azure SQL Elastic Pool
# (ISO8601 format).
# @return [DateTime] The creation date of the elastic pool (ISO8601
# format).
attr_accessor :creation_date

# @return [ElasticPoolState] The state of the Azure SQL Elastic Pool.
# Possible values include: 'Creating', 'Ready', 'Disabled'
# @return [ElasticPoolState] The state of the elastic pool. Possible
# values include: 'Creating', 'Ready', 'Disabled'
attr_accessor :state

# @return [ElasticPoolEditions] The edition of the Azure SQL Elastic
# Pool. Possible values include: 'Basic', 'Standard', 'Premium'
# @return [ElasticPoolEditions] The edition of the elastic pool. Possible
# values include: 'Basic', 'Standard', 'Premium'
attr_accessor :edition

# @return [Integer] The total shared DTU for the Azure Sql Database
# Elastic Pool.
# @return [Integer] The total shared DTU for the database elastic pool.
attr_accessor :dtu

# @return [Integer] The maximum DTU any one Azure Sql Database can
# consume.
# @return [Integer] The maximum DTU any one database can consume.
attr_accessor :database_dtu_max

# @return [Integer] The minimum DTU all Azure Sql Databases are
# guaranteed.
# @return [Integer] The minimum DTU all databases are guaranteed.
attr_accessor :database_dtu_min

# @return [Integer] Gets storage limit for the Azure Sql Database Elastic
# Pool in MB.
# @return [Integer] Gets storage limit for the database elastic pool in
# MB.
attr_accessor :storage_mb

# @return [String] Kind of elastic pool. This is metadata used for the
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
module Azure::ARM::SQL
module Models
#
# Represents the activity on an Azure SQL Elastic Pool.
# Represents the activity on an elastic pool.
#
class ElasticPoolActivity < MsRestAzure::Resource

Expand Down Expand Up @@ -42,18 +42,17 @@ class ElasticPoolActivity < MsRestAzure::Resource
# @return [Integer] The requested DTU for the pool if available.
attr_accessor :requested_dtu

# @return [String] The requested name for the Elastic Pool if available.
# @return [String] The requested name for the elastic pool if available.
attr_accessor :requested_elastic_pool_name

# @return [Integer] The requested storage limit for the pool in GB if
# available.
attr_accessor :requested_storage_limit_in_gb

# @return [String] The name of the Elastic Pool.
# @return [String] The name of the elastic pool.
attr_accessor :elastic_pool_name

# @return [String] The name of the Azure SQL server the Elastic Pool is
# in.
# @return [String] The name of the server the elastic pool is in.
attr_accessor :server_name

# @return [DateTime] The time the operation started (ISO8601 format).
Expand All @@ -65,10 +64,10 @@ class ElasticPoolActivity < MsRestAzure::Resource
# @return [Integer] The requested storage limit in MB.
attr_accessor :requested_storage_limit_in_mb

# @return [Integer] The requested per Database DTU guarantee.
# @return [Integer] The requested per database DTU guarantee.
attr_accessor :requested_database_dtu_guarantee

# @return [Integer] The requested per Database DTU cap.
# @return [Integer] The requested per database DTU cap.
attr_accessor :requested_database_dtu_cap

# @return [Integer] The requested DTU guarantee.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,14 @@
module Azure::ARM::SQL
module Models
#
# Represents the response to a List Azure SQL Elastic Pool Activity
# request.
# Represents the response to a list elastic pool activity request.
#
class ElasticPoolActivityListResult

include MsRestAzure

# @return [Array<ElasticPoolActivity>] The list of Azure SQL Elastic Pool
# Activities.
# @return [Array<ElasticPoolActivity>] The list of elastic pool
# activities.
attr_accessor :value


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
module Azure::ARM::SQL
module Models
#
# Represents the activity on an Azure SQL Elastic Pool.
# Represents the activity on an elastic pool.
#
class ElasticPoolDatabaseActivity < MsRestAzure::Resource

Expand Down Expand Up @@ -36,11 +36,11 @@ class ElasticPoolDatabaseActivity < MsRestAzure::Resource
# @return [Integer] The percentage complete if available.
attr_accessor :percent_complete

# @return [String] The name for the Elastic Pool the database is moving
# @return [String] The name for the elastic pool the database is moving
# into if available.
attr_accessor :requested_elastic_pool_name

# @return [String] The name of the current Elastic Pool the database is
# @return [String] The name of the current elastic pool the database is
# in if available.
attr_accessor :current_elastic_pool_name

Expand All @@ -52,8 +52,7 @@ class ElasticPoolDatabaseActivity < MsRestAzure::Resource
# available.
attr_accessor :requested_service_objective

# @return [String] The name of the Azure SQL server the Elastic Pool is
# in.
# @return [String] The name of the server the elastic pool is in.
attr_accessor :server_name

# @return [DateTime] The time the operation started (ISO8601 format).
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,14 @@
module Azure::ARM::SQL
module Models
#
# Represents the response to a List Azure SQL Elastic Pool Database
# Activity request.
# Represents the response to a list elastic pool database activity request.
#
class ElasticPoolDatabaseActivityListResult

include MsRestAzure

# @return [Array<ElasticPoolDatabaseActivity>] The list of Azure SQL
# Elastic Pool Database Activities.
# @return [Array<ElasticPoolDatabaseActivity>] The list of elastic pool
# database activities.
attr_accessor :value


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,14 @@
module Azure::ARM::SQL
module Models
#
# Represents the response to a List Azure SQL Elastic Pool request.
# Represents the response to a list elastic pool request.
#
class ElasticPoolListResult

include MsRestAzure

# @return [Array<ElasticPool>] The list of Azure SQL Elastic Pools hosted
# in the server.
# @return [Array<ElasticPool>] The list of elastic pools hosted in the
# server.
attr_accessor :value


Expand Down
Loading