Class: Azure::ARM::Web::Models::CloningInfo

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/generated/azure_mgmt_web/models/cloning_info.rb

Overview

Represents information needed for cloning operation

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#app_settings_overridesHash{String => String}

cloned web app. If specified these settings will override the settings cloned from source web app. If not specified, application settings from source web app are retained.

Returns:

  • (Hash{String => String})

    Application settings overrides for



45
46
47
# File 'lib/generated/azure_mgmt_web/models/cloning_info.rb', line 45

def app_settings_overrides
  @app_settings_overrides
end

#clone_custom_host_namesBoolean

Returns If true, clone custom hostnames from source web app.

Returns:

  • (Boolean)

    If true, clone custom hostnames from source web app



24
25
26
# File 'lib/generated/azure_mgmt_web/models/cloning_info.rb', line 24

def clone_custom_host_names
  @clone_custom_host_names
end

#clone_source_controlBoolean

Returns Clone source control from source web app.

Returns:

  • (Boolean)

    Clone source control from source web app



27
28
29
# File 'lib/generated/azure_mgmt_web/models/cloning_info.rb', line 27

def clone_source_control
  @clone_source_control
end

#configure_load_balancingBoolean

clone site

Returns:

  • (Boolean)

    If specified configure load balancing for source and



49
50
51
# File 'lib/generated/azure_mgmt_web/models/cloning_info.rb', line 49

def configure_load_balancing
  @configure_load_balancing
end

#correlation_idString

multiple cloning operations together to use the same snapshot

Returns:

  • (String)

    Correlation Id of cloning operation. This id ties



18
19
20
# File 'lib/generated/azure_mgmt_web/models/cloning_info.rb', line 18

def correlation_id
  @correlation_id
end

#hosting_environmentString

Returns Hosting environment.

Returns:

  • (String)

    Hosting environment



38
39
40
# File 'lib/generated/azure_mgmt_web/models/cloning_info.rb', line 38

def hosting_environment
  @hosting_environment
end

#overwriteBoolean

Returns Overwrite destination web app.

Returns:

  • (Boolean)

    Overwrite destination web app



21
22
23
# File 'lib/generated/azure_mgmt_web/models/cloning_info.rb', line 21

def overwrite
  @overwrite
end

#source_web_app_idString

resource id is 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

Returns:

  • (String)

    ARM resource id of the source web app. Web app



35
36
37
# File 'lib/generated/azure_mgmt_web/models/cloning_info.rb', line 35

def source_web_app_id
  @source_web_app_id
end

#traffic_manager_profile_idString

if it exists. Traffic manager resource id is of the form /subscriptions/subId/resourceGroups/resourceGroupName/providers/Microsoft.Network/trafficManagerProfiles/profileName

Returns:

  • (String)

    ARM resource id of the traffic manager profile to use



54
55
56
# File 'lib/generated/azure_mgmt_web/models/cloning_info.rb', line 54

def traffic_manager_profile_id
  @traffic_manager_profile_id
end

#traffic_manager_profile_nameString

only needed if traffic manager profile does not already exist

Returns:

  • (String)

    Name of traffic manager profile to create. This is



58
59
60
# File 'lib/generated/azure_mgmt_web/models/cloning_info.rb', line 58

def traffic_manager_profile_name
  @traffic_manager_profile_name
end

Class Method Details

.mapperObject

Mapper for CloningInfo class as Ruby Hash. This will be used for serialization/deserialization.



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
# File 'lib/generated/azure_mgmt_web/models/cloning_info.rb', line 65

def self.mapper()
  {
    required: false,
    serialized_name: 'CloningInfo',
    type: {
      name: 'Composite',
      class_name: 'CloningInfo',
      model_properties: {
        correlation_id: {
          required: false,
          serialized_name: 'correlationId',
          type: {
            name: 'String'
          }
        },
        overwrite: {
          required: false,
          serialized_name: 'overwrite',
          type: {
            name: 'Boolean'
          }
        },
        clone_custom_host_names: {
          required: false,
          serialized_name: 'cloneCustomHostNames',
          type: {
            name: 'Boolean'
          }
        },
        clone_source_control: {
          required: false,
          serialized_name: 'cloneSourceControl',
          type: {
            name: 'Boolean'
          }
        },
        source_web_app_id: {
          required: false,
          serialized_name: 'sourceWebAppId',
          type: {
            name: 'String'
          }
        },
        hosting_environment: {
          required: false,
          serialized_name: 'hostingEnvironment',
          type: {
            name: 'String'
          }
        },
        app_settings_overrides: {
          required: false,
          serialized_name: 'appSettingsOverrides',
          type: {
            name: 'Dictionary',
            value: {
                required: false,
                serialized_name: 'StringElementType',
                type: {
                  name: 'String'
                }
            }
          }
        },
        configure_load_balancing: {
          required: false,
          serialized_name: 'configureLoadBalancing',
          type: {
            name: 'Boolean'
          }
        },
        traffic_manager_profile_id: {
          required: false,
          serialized_name: 'trafficManagerProfileId',
          type: {
            name: 'String'
          }
        },
        traffic_manager_profile_name: {
          required: false,
          serialized_name: 'trafficManagerProfileName',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end