Class: Ansible::Ruby::Modules::Azure_rm_sqldatabase
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Azure_rm_sqldatabase
- Defined in:
- lib/ansible/ruby/modules/generated/cloud/azure/azure_rm_sqldatabase.rb
Overview
Create, update and delete instance of SQL Database.
Instance Method Summary collapse
-
#collation ⇒ Object?
The collation of the database.
-
#create_mode ⇒ :copy, ...
Specifies the mode of database creation.,C(default): regular database creation.,C(copy): creates a database as a copy of an existing database.,C(online_secondary)/C(non_readable_secondary): creates a database as a (readable or nonreadable) secondary replica of an existing database.,C(point_in_time_restore): Creates a database by restoring a point in time backup of an existing database.,C(recovery): Creates a database by restoring a geo-replicated backup.,C(restore): Creates a database by restoring a backup of a deleted database.,C(restore_long_term_retention_backup): Creates a database by restoring from a long term retention vault.,C(copy), C(non_readable_secondary), C(online_secondary) and C(restore_long_term_retention_backup) are not supported for C(data_warehouse) edition.
-
#edition ⇒ :web, ...
The edition of the database.
-
#elastic_pool_name ⇒ Object?
The name of the elastic pool the database is in.
-
#force_update ⇒ Symbol?
SQL Database will be updated if given parameters differ from existing resource state.,To force SQL Database update in any circumstances set this parameter to True.
-
#location ⇒ String?
Resource location.
-
#max_size_bytes ⇒ Object?
The max size of the database expressed in bytes.
-
#name ⇒ String
The name of the database to be operated on (updated or created).
-
#read_scale ⇒ Symbol?
If the database is a geo-secondary, indicates whether read-only connections are allowed to this database or not.
-
#recovery_services_recovery_point_resource_id ⇒ Object?
Required if I(create_mode) is C(restore_long_term_retention_backup), then this value is required.
-
#resource_group ⇒ String
The name of the resource group that contains the resource.
-
#restore_point_in_time ⇒ Object?
Required if I(create_mode) is C(point_in_time_restore), this value is required.
-
#sample_name ⇒ :adventure_works_lt?
Indicates the name of the sample schema to apply when creating this database.
-
#server_name ⇒ String
The name of the server.
-
#source_database_deletion_date ⇒ Object?
Required if I(create_mode) is C(restore) and I(source_database_id) is the deleted database’s original resource id when it existed (as opposed to its current restorable dropped database id), then this value is required.
-
#source_database_id ⇒ String?
Required unless I(create_mode) is C(default) or C(restore_long_term_retention_backup).,Specifies the resource ID of the source database.
-
#state ⇒ :absent, ...
Assert the state of the SQL Database.
-
#zone_redundant ⇒ Symbol?
Is this database is zone redundant? It means the replicas of this database will be spread across multiple availability zones.
Methods inherited from Base
Methods inherited from Ansible::Ruby::Models::Base
attr_option, attr_options, attribute, #initialize, remove_existing_validations, #to_h, validates
Constructor Details
This class inherits a constructor from Ansible::Ruby::Models::Base
Instance Method Details
#collation ⇒ Object?
28 |
# File 'lib/ansible/ruby/modules/generated/cloud/azure/azure_rm_sqldatabase.rb', line 28 attribute :collation |
#create_mode ⇒ :copy, ...
31 |
# File 'lib/ansible/ruby/modules/generated/cloud/azure/azure_rm_sqldatabase.rb', line 31 attribute :create_mode |
#edition ⇒ :web, ...
48 |
# File 'lib/ansible/ruby/modules/generated/cloud/azure/azure_rm_sqldatabase.rb', line 48 attribute :edition |
#elastic_pool_name ⇒ Object?
55 |
# File 'lib/ansible/ruby/modules/generated/cloud/azure/azure_rm_sqldatabase.rb', line 55 attribute :elastic_pool_name |
#force_update ⇒ Symbol?
70 |
# File 'lib/ansible/ruby/modules/generated/cloud/azure/azure_rm_sqldatabase.rb', line 70 attribute :force_update |
#location ⇒ String?
24 |
# File 'lib/ansible/ruby/modules/generated/cloud/azure/azure_rm_sqldatabase.rb', line 24 attribute :location |
#max_size_bytes ⇒ Object?
52 |
# File 'lib/ansible/ruby/modules/generated/cloud/azure/azure_rm_sqldatabase.rb', line 52 attribute :max_size_bytes |
#name ⇒ String
20 |
# File 'lib/ansible/ruby/modules/generated/cloud/azure/azure_rm_sqldatabase.rb', line 20 attribute :name |
#read_scale ⇒ Symbol?
58 |
# File 'lib/ansible/ruby/modules/generated/cloud/azure/azure_rm_sqldatabase.rb', line 58 attribute :read_scale |
#recovery_services_recovery_point_resource_id ⇒ Object?
45 |
# File 'lib/ansible/ruby/modules/generated/cloud/azure/azure_rm_sqldatabase.rb', line 45 attribute :recovery_services_recovery_point_resource_id |
#resource_group ⇒ String
12 |
# File 'lib/ansible/ruby/modules/generated/cloud/azure/azure_rm_sqldatabase.rb', line 12 attribute :resource_group |
#restore_point_in_time ⇒ Object?
42 |
# File 'lib/ansible/ruby/modules/generated/cloud/azure/azure_rm_sqldatabase.rb', line 42 attribute :restore_point_in_time |
#sample_name ⇒ :adventure_works_lt?
62 |
# File 'lib/ansible/ruby/modules/generated/cloud/azure/azure_rm_sqldatabase.rb', line 62 attribute :sample_name |
#server_name ⇒ String
16 |
# File 'lib/ansible/ruby/modules/generated/cloud/azure/azure_rm_sqldatabase.rb', line 16 attribute :server_name |
#source_database_deletion_date ⇒ Object?
39 |
# File 'lib/ansible/ruby/modules/generated/cloud/azure/azure_rm_sqldatabase.rb', line 39 attribute :source_database_deletion_date |
#source_database_id ⇒ String?
35 |
# File 'lib/ansible/ruby/modules/generated/cloud/azure/azure_rm_sqldatabase.rb', line 35 attribute :source_database_id |
#state ⇒ :absent, ...
74 |
# File 'lib/ansible/ruby/modules/generated/cloud/azure/azure_rm_sqldatabase.rb', line 74 attribute :state |
#zone_redundant ⇒ Symbol?
66 |
# File 'lib/ansible/ruby/modules/generated/cloud/azure/azure_rm_sqldatabase.rb', line 66 attribute :zone_redundant |