Class: Azure::Web::Mgmt::V2018_02_01::Models::RestoreRequest
- Inherits:
-
ProxyOnlyResource
- Object
- ProxyOnlyResource
- Azure::Web::Mgmt::V2018_02_01::Models::RestoreRequest
- Includes:
- MsRestAzure
- Defined in:
- lib/2018-02-01/generated/azure_mgmt_web/models/restore_request.rb
Overview
Description of a restore request.
Instance Attribute Summary collapse
-
#adjust_connection_strings ⇒ Boolean
should be set in new app; otherwise,
false
. -
#app_service_plan ⇒ String
Specify app service plan that will own restored site.
-
#blob_name ⇒ String
Name of a blob which contains the backup.
-
#databases ⇒ Array<DatabaseBackupSetting>
should be restored.
-
#hosting_environment ⇒ String
restoring an app to an App Service Environment).
-
#ignore_conflicting_host_names ⇒ Boolean
domains.
-
#ignore_databases ⇒ Boolean
content.
-
#operation_type ⇒ BackupRestoreOperationType
include: ‘Default’, ‘Clone’, ‘Relocation’, ‘Snapshot’, ‘CloudFS’.
-
#overwrite ⇒ Boolean
overwrite target app; otherwise,
false
. -
#site_name ⇒ String
Name of an app.
-
#storage_account_url ⇒ String
SAS URL to the container.
Attributes inherited from ProxyOnlyResource
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for RestoreRequest class as Ruby Hash.
Instance Attribute Details
#adjust_connection_strings ⇒ Boolean
should be set in new app; otherwise, false
.
55 56 57 |
# File 'lib/2018-02-01/generated/azure_mgmt_web/models/restore_request.rb', line 55 def adjust_connection_strings @adjust_connection_strings end |
#app_service_plan ⇒ String
Returns Specify app service plan that will own restored site.
46 47 48 |
# File 'lib/2018-02-01/generated/azure_mgmt_web/models/restore_request.rb', line 46 def app_service_plan @app_service_plan end |
#blob_name ⇒ String
Returns Name of a blob which contains the backup.
19 20 21 |
# File 'lib/2018-02-01/generated/azure_mgmt_web/models/restore_request.rb', line 19 def blob_name @blob_name end |
#databases ⇒ Array<DatabaseBackupSetting>
should be restored. This list has to match the list of databases included in the backup.
32 33 34 |
# File 'lib/2018-02-01/generated/azure_mgmt_web/models/restore_request.rb', line 32 def databases @databases end |
#hosting_environment ⇒ String
restoring an app to an App Service Environment).
59 60 61 |
# File 'lib/2018-02-01/generated/azure_mgmt_web/models/restore_request.rb', line 59 def hosting_environment @hosting_environment end |
#ignore_conflicting_host_names ⇒ Boolean
domains. true
to remove custom domains automatically. If false
, custom domains are added to the app’s object when it is being restored, but that might fail due to conflicts during the operation. Default value: false .
39 40 41 |
# File 'lib/2018-02-01/generated/azure_mgmt_web/models/restore_request.rb', line 39 def ignore_conflicting_host_names @ignore_conflicting_host_names end |
#ignore_databases ⇒ Boolean
content. Default value: false .
43 44 45 |
# File 'lib/2018-02-01/generated/azure_mgmt_web/models/restore_request.rb', line 43 def ignore_databases @ignore_databases end |
#operation_type ⇒ BackupRestoreOperationType
include: ‘Default’, ‘Clone’, ‘Relocation’, ‘Snapshot’, ‘CloudFS’. Default value: ‘Default’ .
51 52 53 |
# File 'lib/2018-02-01/generated/azure_mgmt_web/models/restore_request.rb', line 51 def operation_type @operation_type end |
#overwrite ⇒ Boolean
overwrite target app; otherwise, false
. true
is needed if trying to restore over an existing app.
24 25 26 |
# File 'lib/2018-02-01/generated/azure_mgmt_web/models/restore_request.rb', line 24 def overwrite @overwrite end |
#site_name ⇒ String
Returns Name of an app.
27 28 29 |
# File 'lib/2018-02-01/generated/azure_mgmt_web/models/restore_request.rb', line 27 def site_name @site_name end |
#storage_account_url ⇒ String
Returns SAS URL to the container.
16 17 18 |
# File 'lib/2018-02-01/generated/azure_mgmt_web/models/restore_request.rb', line 16 def storage_account_url @storage_account_url end |
Class Method Details
.mapper ⇒ Object
Mapper for RestoreRequest class as Ruby Hash. This will be used for serialization/deserialization.
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 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 |
# File 'lib/2018-02-01/generated/azure_mgmt_web/models/restore_request.rb', line 66 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'RestoreRequest', type: { name: 'Composite', class_name: 'RestoreRequest', model_properties: { id: { client_side_validation: true, required: false, read_only: true, serialized_name: 'id', type: { name: 'String' } }, name: { client_side_validation: true, required: false, read_only: true, serialized_name: 'name', type: { name: 'String' } }, kind: { client_side_validation: true, required: false, serialized_name: 'kind', type: { name: 'String' } }, type: { client_side_validation: true, required: false, read_only: true, serialized_name: 'type', type: { name: 'String' } }, storage_account_url: { client_side_validation: true, required: false, serialized_name: 'properties.storageAccountUrl', type: { name: 'String' } }, blob_name: { client_side_validation: true, required: false, serialized_name: 'properties.blobName', type: { name: 'String' } }, overwrite: { client_side_validation: true, required: false, serialized_name: 'properties.overwrite', type: { name: 'Boolean' } }, site_name: { client_side_validation: true, required: false, serialized_name: 'properties.siteName', type: { name: 'String' } }, databases: { client_side_validation: true, required: false, serialized_name: 'properties.databases', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'DatabaseBackupSettingElementType', type: { name: 'Composite', class_name: 'DatabaseBackupSetting' } } } }, ignore_conflicting_host_names: { client_side_validation: true, required: false, serialized_name: 'properties.ignoreConflictingHostNames', default_value: false, type: { name: 'Boolean' } }, ignore_databases: { client_side_validation: true, required: false, serialized_name: 'properties.ignoreDatabases', default_value: false, type: { name: 'Boolean' } }, app_service_plan: { client_side_validation: true, required: false, serialized_name: 'properties.appServicePlan', type: { name: 'String' } }, operation_type: { client_side_validation: true, required: false, serialized_name: 'properties.operationType', default_value: 'Default', type: { name: 'Enum', module: 'BackupRestoreOperationType' } }, adjust_connection_strings: { client_side_validation: true, required: false, serialized_name: 'properties.adjustConnectionStrings', type: { name: 'Boolean' } }, hosting_environment: { client_side_validation: true, required: false, serialized_name: 'properties.hostingEnvironment', type: { name: 'String' } } } } } end |