Class: Azure::Web::Mgmt::V2018_02_01::Models::CloningInfo
- Inherits:
-
Object
- Object
- Azure::Web::Mgmt::V2018_02_01::Models::CloningInfo
- Includes:
- MsRestAzure
- Defined in:
- lib/2018-02-01/generated/azure_mgmt_web/models/cloning_info.rb
Overview
Information needed for cloning operation.
Instance Attribute Summary collapse
-
#app_settings_overrides ⇒ Hash{String => String}
cloned app.
-
#clone_custom_host_names ⇒ Boolean
source app; otherwise,
false. -
#clone_source_control ⇒ Boolean
app; otherwise,
false. -
#configure_load_balancing ⇒ Boolean
source and destination app.
-
#correlation_id ⇒ Object
cloning operations together to use the same snapshot.
-
#hosting_environment ⇒ String
App Service Environment.
-
#overwrite ⇒ Boolean
otherwise,
false. -
#source_web_app_id ⇒ String
of the form /subscriptions/subId/resourceGroups/resourceGroupName/providers/Microsoft.Web/sites/siteName for production slots and /subscriptions/subId/resourceGroups/resourceGroupName/providers/Microsoft.Web/sites/siteName/slots/slotName for other slots.
-
#traffic_manager_profile_id ⇒ String
if it exists.
-
#traffic_manager_profile_name ⇒ String
only needed if Traffic Manager profile does not already exist.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for CloningInfo class as Ruby Hash.
Instance Attribute Details
#app_settings_overrides ⇒ Hash{String => String}
cloned app. If specified, these settings override the settings cloned from source app. Otherwise, application settings from source app are retained.
47 48 49 |
# File 'lib/2018-02-01/generated/azure_mgmt_web/models/cloning_info.rb', line 47 def app_settings_overrides @app_settings_overrides end |
#clone_custom_host_names ⇒ Boolean
source app; otherwise, false.
26 27 28 |
# File 'lib/2018-02-01/generated/azure_mgmt_web/models/cloning_info.rb', line 26 def clone_custom_host_names @clone_custom_host_names end |
#clone_source_control ⇒ Boolean
app; otherwise, false.
30 31 32 |
# File 'lib/2018-02-01/generated/azure_mgmt_web/models/cloning_info.rb', line 30 def clone_source_control @clone_source_control end |
#configure_load_balancing ⇒ Boolean
source and destination app.
51 52 53 |
# File 'lib/2018-02-01/generated/azure_mgmt_web/models/cloning_info.rb', line 51 def configure_load_balancing @configure_load_balancing end |
#correlation_id ⇒ Object
cloning operations together to use the same snapshot.
18 19 20 |
# File 'lib/2018-02-01/generated/azure_mgmt_web/models/cloning_info.rb', line 18 def correlation_id @correlation_id end |
#hosting_environment ⇒ String
Returns App Service Environment.
41 42 43 |
# File 'lib/2018-02-01/generated/azure_mgmt_web/models/cloning_info.rb', line 41 def hosting_environment @hosting_environment end |
#overwrite ⇒ Boolean
otherwise, false.
22 23 24 |
# File 'lib/2018-02-01/generated/azure_mgmt_web/models/cloning_info.rb', line 22 def overwrite @overwrite end |
#source_web_app_id ⇒ String
of the form /subscriptions/subId/resourceGroups/resourceGroupName/providers/Microsoft.Web/sites/siteName for production slots and /subscriptions/subId/resourceGroups/resourceGroupName/providers/Microsoft.Web/sites/siteName/slots/slotName for other slots.
38 39 40 |
# File 'lib/2018-02-01/generated/azure_mgmt_web/models/cloning_info.rb', line 38 def source_web_app_id @source_web_app_id end |
#traffic_manager_profile_id ⇒ String
if it exists. Traffic Manager resource ID is of the form /subscriptions/subId/resourceGroups/resourceGroupName/providers/Microsoft.Network/trafficManagerProfiles/profileName.
56 57 58 |
# File 'lib/2018-02-01/generated/azure_mgmt_web/models/cloning_info.rb', line 56 def traffic_manager_profile_id @traffic_manager_profile_id end |
#traffic_manager_profile_name ⇒ String
only needed if Traffic Manager profile does not already exist.
60 61 62 |
# File 'lib/2018-02-01/generated/azure_mgmt_web/models/cloning_info.rb', line 60 def traffic_manager_profile_name @traffic_manager_profile_name end |
Class Method Details
.mapper ⇒ Object
Mapper for CloningInfo class as Ruby Hash. This will be used for serialization/deserialization.
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 |
# File 'lib/2018-02-01/generated/azure_mgmt_web/models/cloning_info.rb', line 67 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'CloningInfo', type: { name: 'Composite', class_name: 'CloningInfo', model_properties: { correlation_id: { client_side_validation: true, required: false, serialized_name: 'correlationId', type: { name: 'String' } }, overwrite: { client_side_validation: true, required: false, serialized_name: 'overwrite', type: { name: 'Boolean' } }, clone_custom_host_names: { client_side_validation: true, required: false, serialized_name: 'cloneCustomHostNames', type: { name: 'Boolean' } }, clone_source_control: { client_side_validation: true, required: false, serialized_name: 'cloneSourceControl', type: { name: 'Boolean' } }, source_web_app_id: { client_side_validation: true, required: true, serialized_name: 'sourceWebAppId', type: { name: 'String' } }, hosting_environment: { client_side_validation: true, required: false, serialized_name: 'hostingEnvironment', type: { name: 'String' } }, app_settings_overrides: { client_side_validation: true, required: false, serialized_name: 'appSettingsOverrides', type: { name: 'Dictionary', value: { client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { name: 'String' } } } }, configure_load_balancing: { client_side_validation: true, required: false, serialized_name: 'configureLoadBalancing', type: { name: 'Boolean' } }, traffic_manager_profile_id: { client_side_validation: true, required: false, serialized_name: 'trafficManagerProfileId', type: { name: 'String' } }, traffic_manager_profile_name: { client_side_validation: true, required: false, serialized_name: 'trafficManagerProfileName', type: { name: 'String' } } } } } end |