Class: Azure::SQL::Mgmt::V2014_04_01::Models::ImportExtensionRequest
- Inherits:
-
Object
- Object
- Azure::SQL::Mgmt::V2014_04_01::Models::ImportExtensionRequest
- Includes:
- MsRestAzure
- Defined in:
- lib/2014-04-01/generated/azure_mgmt_sql/models/import_extension_request.rb
Overview
Import database parameters.
Instance Attribute Summary collapse
-
#administrator_login ⇒ String
The name of the SQL administrator.
-
#administrator_login_password ⇒ String
The password of the SQL administrator.
-
#authentication_type ⇒ AuthenticationType
include: ‘SQL’, ‘ADPassword’.
-
#name ⇒ String
The name of the extension.
-
#operation_mode ⇒ String
always Import.
-
#storage_key ⇒ String
SharedAccessKey, it must be preceded with a “?.”.
-
#storage_key_type ⇒ StorageKeyType
values include: ‘StorageAccessKey’, ‘SharedAccessKey’.
-
#storage_uri ⇒ String
The storage uri to use.
-
#type ⇒ String
The type of the extension.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for ImportExtensionRequest class as Ruby Hash.
Instance Attribute Details
#administrator_login ⇒ String
Returns The name of the SQL administrator.
33 34 35 |
# File 'lib/2014-04-01/generated/azure_mgmt_sql/models/import_extension_request.rb', line 33 def administrator_login @administrator_login end |
#administrator_login_password ⇒ String
Returns The password of the SQL administrator.
36 37 38 |
# File 'lib/2014-04-01/generated/azure_mgmt_sql/models/import_extension_request.rb', line 36 def administrator_login_password @administrator_login_password end |
#authentication_type ⇒ AuthenticationType
include: ‘SQL’, ‘ADPassword’. Default value: ‘SQL’ .
40 41 42 |
# File 'lib/2014-04-01/generated/azure_mgmt_sql/models/import_extension_request.rb', line 40 def authentication_type @authentication_type end |
#name ⇒ String
Returns The name of the extension.
16 17 18 |
# File 'lib/2014-04-01/generated/azure_mgmt_sql/models/import_extension_request.rb', line 16 def name @name end |
#operation_mode ⇒ String
always Import. Default value: ‘Import’ .
44 45 46 |
# File 'lib/2014-04-01/generated/azure_mgmt_sql/models/import_extension_request.rb', line 44 def operation_mode @operation_mode end |
#storage_key ⇒ String
SharedAccessKey, it must be preceded with a “?.”
27 28 29 |
# File 'lib/2014-04-01/generated/azure_mgmt_sql/models/import_extension_request.rb', line 27 def storage_key @storage_key end |
#storage_key_type ⇒ StorageKeyType
values include: ‘StorageAccessKey’, ‘SharedAccessKey’
23 24 25 |
# File 'lib/2014-04-01/generated/azure_mgmt_sql/models/import_extension_request.rb', line 23 def storage_key_type @storage_key_type end |
#storage_uri ⇒ String
Returns The storage uri to use.
30 31 32 |
# File 'lib/2014-04-01/generated/azure_mgmt_sql/models/import_extension_request.rb', line 30 def storage_uri @storage_uri end |
#type ⇒ String
Returns The type of the extension.
19 20 21 |
# File 'lib/2014-04-01/generated/azure_mgmt_sql/models/import_extension_request.rb', line 19 def type @type end |
Class Method Details
.mapper ⇒ Object
Mapper for ImportExtensionRequest class as Ruby Hash. This will be used for serialization/deserialization.
51 52 53 54 55 56 57 58 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 |
# File 'lib/2014-04-01/generated/azure_mgmt_sql/models/import_extension_request.rb', line 51 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'ImportExtensionRequest', type: { name: 'Composite', class_name: 'ImportExtensionRequest', model_properties: { name: { client_side_validation: true, required: false, serialized_name: 'name', type: { name: 'String' } }, type: { client_side_validation: true, required: false, serialized_name: 'type', type: { name: 'String' } }, storage_key_type: { client_side_validation: true, required: true, serialized_name: 'properties.storageKeyType', type: { name: 'Enum', module: 'StorageKeyType' } }, storage_key: { client_side_validation: true, required: true, serialized_name: 'properties.storageKey', type: { name: 'String' } }, storage_uri: { client_side_validation: true, required: true, serialized_name: 'properties.storageUri', type: { name: 'String' } }, administrator_login: { client_side_validation: true, required: true, serialized_name: 'properties.administratorLogin', type: { name: 'String' } }, administrator_login_password: { client_side_validation: true, required: true, serialized_name: 'properties.administratorLoginPassword', type: { name: 'String' } }, authentication_type: { client_side_validation: true, required: false, serialized_name: 'properties.authenticationType', default_value: 'SQL', type: { name: 'Enum', module: 'AuthenticationType' } }, operation_mode: { client_side_validation: true, required: true, is_constant: true, serialized_name: 'properties.operationMode', default_value: 'Import', type: { name: 'String' } } } } } end |