Class: Azure::SQL::Mgmt::V2014_04_01::Models::ImportRequest
- Inherits:
-
ExportRequest
- Object
- ExportRequest
- Azure::SQL::Mgmt::V2014_04_01::Models::ImportRequest
- Includes:
- MsRestAzure
- Defined in:
- lib/2014-04-01/generated/azure_mgmt_sql/models/import_request.rb
Overview
Import database parameters.
Instance Attribute Summary collapse
-
#database_name ⇒ String
The name of the database to import.
-
#edition ⇒ DatabaseEdition
The list of SKUs may vary by region and support offer.
-
#max_size_bytes ⇒ String
The maximum size for the newly imported database.
-
#service_objective_name ⇒ ServiceObjectiveName
assign to the database.
Attributes inherited from ExportRequest
#administrator_login, #administrator_login_password, #authentication_type, #storage_key, #storage_key_type, #storage_uri
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for ImportRequest class as Ruby Hash.
Instance Attribute Details
#database_name ⇒ String
Returns The name of the database to import.
16 17 18 |
# File 'lib/2014-04-01/generated/azure_mgmt_sql/models/import_request.rb', line 16 def database_name @database_name end |
#edition ⇒ DatabaseEdition
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 <location> -o table ““
“‘powershell Get-AzSqlServerServiceObjective -Location <location> ““ . Possible values include: ’Web’, ‘Business’, ‘Basic’, ‘Standard’, ‘Premium’, ‘PremiumRS’, ‘Free’, ‘Stretch’, ‘DataWarehouse’, ‘System’, ‘System2’, ‘GeneralPurpose’, ‘BusinessCritical’, ‘Hyperscale’
36 37 38 |
# File 'lib/2014-04-01/generated/azure_mgmt_sql/models/import_request.rb', line 36 def edition @edition end |
#max_size_bytes ⇒ String
Returns The maximum size for the newly imported database.
52 53 54 |
# File 'lib/2014-04-01/generated/azure_mgmt_sql/models/import_request.rb', line 52 def max_size_bytes @max_size_bytes end |
#service_objective_name ⇒ ServiceObjectiveName
assign to the database. Possible values include: ‘System’, ‘System0’, ‘System1’, ‘System2’, ‘System3’, ‘System4’, ‘System2L’, ‘System3L’, ‘System4L’, ‘Free’, ‘Basic’, ‘S0’, ‘S1’, ‘S2’, ‘S3’, ‘S4’, ‘S6’, ‘S7’, ‘S9’, ‘S12’, ‘P1’, ‘P2’, ‘P3’, ‘P4’, ‘P6’, ‘P11’, ‘P15’, ‘PRS1’, ‘PRS2’, ‘PRS4’, ‘PRS6’, ‘DW100’, ‘DW200’, ‘DW300’, ‘DW400’, ‘DW500’, ‘DW600’, ‘DW1000’, ‘DW1200’, ‘DW1000c’, ‘DW1500’, ‘DW1500c’, ‘DW2000’, ‘DW2000c’, ‘DW3000’, ‘DW2500c’, ‘DW3000c’, ‘DW6000’, ‘DW5000c’, ‘DW6000c’, ‘DW7500c’, ‘DW10000c’, ‘DW15000c’, ‘DW30000c’, ‘DS100’, ‘DS200’, ‘DS300’, ‘DS400’, ‘DS500’, ‘DS600’, ‘DS1000’, ‘DS1200’, ‘DS1500’, ‘DS2000’, ‘ElasticPool’
49 50 51 |
# File 'lib/2014-04-01/generated/azure_mgmt_sql/models/import_request.rb', line 49 def service_objective_name @service_objective_name end |
Class Method Details
.mapper ⇒ Object
Mapper for ImportRequest class as Ruby Hash. This will be used for serialization/deserialization.
59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 |
# File 'lib/2014-04-01/generated/azure_mgmt_sql/models/import_request.rb', line 59 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'ImportRequest', type: { name: 'Composite', class_name: 'ImportRequest', model_properties: { storage_key_type: { client_side_validation: true, required: true, serialized_name: 'storageKeyType', type: { name: 'Enum', module: 'StorageKeyType' } }, storage_key: { client_side_validation: true, required: true, serialized_name: 'storageKey', type: { name: 'String' } }, storage_uri: { client_side_validation: true, required: true, serialized_name: 'storageUri', type: { name: 'String' } }, administrator_login: { client_side_validation: true, required: true, serialized_name: 'administratorLogin', type: { name: 'String' } }, administrator_login_password: { client_side_validation: true, required: true, serialized_name: 'administratorLoginPassword', type: { name: 'String' } }, authentication_type: { client_side_validation: true, required: false, serialized_name: 'authenticationType', default_value: 'SQL', type: { name: 'Enum', module: 'AuthenticationType' } }, database_name: { client_side_validation: true, required: true, serialized_name: 'databaseName', type: { name: 'String' } }, edition: { client_side_validation: true, required: true, serialized_name: 'edition', type: { name: 'String' } }, service_objective_name: { client_side_validation: true, required: true, serialized_name: 'serviceObjectiveName', type: { name: 'String' } }, max_size_bytes: { client_side_validation: true, required: true, serialized_name: 'maxSizeBytes', type: { name: 'String' } } } } } end |