azure_mgmt_cdn 0.15.2 → 0.16.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (154) hide show
  1. checksums.yaml +4 -4
  2. data/lib/2015-06-01/generated/azure_mgmt_cdn/cdn_management_client.rb +4 -1
  3. data/lib/2015-06-01/generated/azure_mgmt_cdn/custom_domains.rb +38 -37
  4. data/lib/2015-06-01/generated/azure_mgmt_cdn/endpoints.rb +88 -88
  5. data/lib/2015-06-01/generated/azure_mgmt_cdn/name_availability.rb +6 -7
  6. data/lib/2015-06-01/generated/azure_mgmt_cdn/operations.rb +6 -5
  7. data/lib/2015-06-01/generated/azure_mgmt_cdn/origins.rb +42 -41
  8. data/lib/2015-06-01/generated/azure_mgmt_cdn/profiles.rb +54 -51
  9. data/lib/2016-04-02/generated/azure_mgmt_cdn.rb +70 -0
  10. data/lib/2016-04-02/generated/azure_mgmt_cdn/cdn_management_client.rb +151 -0
  11. data/lib/2016-04-02/generated/azure_mgmt_cdn/custom_domains.rb +719 -0
  12. data/lib/2016-04-02/generated/azure_mgmt_cdn/endpoints.rb +1456 -0
  13. data/lib/2016-04-02/generated/azure_mgmt_cdn/models/check_name_availability_input.rb +60 -0
  14. data/lib/2016-04-02/generated/azure_mgmt_cdn/models/check_name_availability_output.rb +69 -0
  15. data/lib/2016-04-02/generated/azure_mgmt_cdn/models/custom_domain.rb +103 -0
  16. data/lib/2016-04-02/generated/azure_mgmt_cdn/models/custom_domain_list_result.rb +57 -0
  17. data/lib/2016-04-02/generated/azure_mgmt_cdn/models/custom_domain_parameters.rb +47 -0
  18. data/lib/2016-04-02/generated/azure_mgmt_cdn/models/custom_domain_resource_state.rb +17 -0
  19. data/lib/2016-04-02/generated/azure_mgmt_cdn/models/deep_created_origin.rb +82 -0
  20. data/lib/2016-04-02/generated/azure_mgmt_cdn/models/endpoint.rb +249 -0
  21. data/lib/2016-04-02/generated/azure_mgmt_cdn/models/endpoint_create_parameters.rb +185 -0
  22. data/lib/2016-04-02/generated/azure_mgmt_cdn/models/endpoint_list_result.rb +56 -0
  23. data/lib/2016-04-02/generated/azure_mgmt_cdn/models/endpoint_resource_state.rb +20 -0
  24. data/lib/2016-04-02/generated/azure_mgmt_cdn/models/endpoint_update_parameters.rb +152 -0
  25. data/lib/2016-04-02/generated/azure_mgmt_cdn/models/error_response.rb +58 -0
  26. data/lib/2016-04-02/generated/azure_mgmt_cdn/models/load_parameters.rb +55 -0
  27. data/lib/2016-04-02/generated/azure_mgmt_cdn/models/operation.rb +58 -0
  28. data/lib/2016-04-02/generated/azure_mgmt_cdn/models/operation_display.rb +70 -0
  29. data/lib/2016-04-02/generated/azure_mgmt_cdn/models/operation_list_result.rb +57 -0
  30. data/lib/2016-04-02/generated/azure_mgmt_cdn/models/origin.rb +128 -0
  31. data/lib/2016-04-02/generated/azure_mgmt_cdn/models/origin_list_result.rb +56 -0
  32. data/lib/2016-04-02/generated/azure_mgmt_cdn/models/origin_parameters.rb +71 -0
  33. data/lib/2016-04-02/generated/azure_mgmt_cdn/models/origin_resource_state.rb +17 -0
  34. data/lib/2016-04-02/generated/azure_mgmt_cdn/models/profile.rb +128 -0
  35. data/lib/2016-04-02/generated/azure_mgmt_cdn/models/profile_create_parameters.rb +77 -0
  36. data/lib/2016-04-02/generated/azure_mgmt_cdn/models/profile_list_result.rb +56 -0
  37. data/lib/2016-04-02/generated/azure_mgmt_cdn/models/profile_resource_state.rb +18 -0
  38. data/lib/2016-04-02/generated/azure_mgmt_cdn/models/profile_update_parameters.rb +54 -0
  39. data/lib/2016-04-02/generated/azure_mgmt_cdn/models/provisioning_state.rb +17 -0
  40. data/lib/2016-04-02/generated/azure_mgmt_cdn/models/purge_parameters.rb +55 -0
  41. data/lib/2016-04-02/generated/azure_mgmt_cdn/models/query_string_caching_behavior.rb +18 -0
  42. data/lib/2016-04-02/generated/azure_mgmt_cdn/models/resource.rb +72 -0
  43. data/lib/2016-04-02/generated/azure_mgmt_cdn/models/resource_type.rb +15 -0
  44. data/lib/2016-04-02/generated/azure_mgmt_cdn/models/sku.rb +49 -0
  45. data/lib/2016-04-02/generated/azure_mgmt_cdn/models/sku_name.rb +18 -0
  46. data/lib/2016-04-02/generated/azure_mgmt_cdn/models/sso_uri.rb +46 -0
  47. data/lib/2016-04-02/generated/azure_mgmt_cdn/models/tracked_resource.rb +92 -0
  48. data/lib/2016-04-02/generated/azure_mgmt_cdn/models/validate_custom_domain_input.rb +47 -0
  49. data/lib/2016-04-02/generated/azure_mgmt_cdn/models/validate_custom_domain_output.rb +70 -0
  50. data/lib/2016-04-02/generated/azure_mgmt_cdn/module_definition.rb +9 -0
  51. data/lib/2016-04-02/generated/azure_mgmt_cdn/name_availability.rb +130 -0
  52. data/lib/2016-04-02/generated/azure_mgmt_cdn/operations.rb +110 -0
  53. data/lib/2016-04-02/generated/azure_mgmt_cdn/origins.rb +778 -0
  54. data/lib/2016-04-02/generated/azure_mgmt_cdn/profiles.rb +899 -0
  55. data/lib/2016-10-02/generated/azure_mgmt_cdn/cdn_management_client.rb +46 -38
  56. data/lib/2016-10-02/generated/azure_mgmt_cdn/custom_domains.rb +53 -48
  57. data/lib/2016-10-02/generated/azure_mgmt_cdn/edge_nodes.rb +15 -13
  58. data/lib/2016-10-02/generated/azure_mgmt_cdn/endpoints.rb +112 -109
  59. data/lib/2016-10-02/generated/azure_mgmt_cdn/origins.rb +31 -29
  60. data/lib/2016-10-02/generated/azure_mgmt_cdn/profiles.rb +93 -85
  61. data/lib/2017-04-02/generated/azure_mgmt_cdn.rb +18 -16
  62. data/lib/2017-04-02/generated/azure_mgmt_cdn/cdn_management_client.rb +16 -15
  63. data/lib/2017-04-02/generated/azure_mgmt_cdn/custom_domains.rb +53 -48
  64. data/lib/2017-04-02/generated/azure_mgmt_cdn/edge_nodes.rb +15 -13
  65. data/lib/2017-04-02/generated/azure_mgmt_cdn/endpoints.rb +136 -113
  66. data/lib/2017-04-02/generated/azure_mgmt_cdn/models/custom_domain.rb +1 -25
  67. data/lib/2017-04-02/generated/azure_mgmt_cdn/models/edge_node.rb +1 -25
  68. data/lib/2017-04-02/generated/azure_mgmt_cdn/models/endpoint.rb +6 -3
  69. data/lib/2017-04-02/generated/azure_mgmt_cdn/models/endpoint_update_parameters.rb +5 -2
  70. data/lib/2017-04-02/generated/azure_mgmt_cdn/models/origin.rb +1 -1
  71. data/lib/2017-04-02/generated/azure_mgmt_cdn/models/profile.rb +1 -1
  72. data/lib/2017-04-02/generated/azure_mgmt_cdn/models/profile_update_parameters.rb +1 -1
  73. data/lib/2017-04-02/generated/azure_mgmt_cdn/models/proxy_resource.rb +63 -0
  74. data/lib/2017-04-02/generated/azure_mgmt_cdn/models/resource.rb +1 -31
  75. data/lib/2017-04-02/generated/azure_mgmt_cdn/models/tracked_resource.rb +92 -0
  76. data/lib/2017-04-02/generated/azure_mgmt_cdn/operations.rb +15 -13
  77. data/lib/2017-04-02/generated/azure_mgmt_cdn/origins.rb +31 -29
  78. data/lib/2017-04-02/generated/azure_mgmt_cdn/profiles.rb +93 -85
  79. data/lib/2017-04-02/generated/azure_mgmt_cdn/resource_usage_operations.rb +15 -13
  80. data/lib/2017-10-12/generated/azure_mgmt_cdn.rb +93 -0
  81. data/lib/2017-10-12/generated/azure_mgmt_cdn/cdn_management_client.rb +358 -0
  82. data/lib/2017-10-12/generated/azure_mgmt_cdn/custom_domains.rb +970 -0
  83. data/lib/2017-10-12/generated/azure_mgmt_cdn/edge_nodes.rb +223 -0
  84. data/lib/2017-10-12/generated/azure_mgmt_cdn/endpoints.rb +1922 -0
  85. data/lib/2017-10-12/generated/azure_mgmt_cdn/models/cache_expiration_action_parameters.rb +89 -0
  86. data/lib/2017-10-12/generated/azure_mgmt_cdn/models/check_name_availability_input.rb +60 -0
  87. data/lib/2017-10-12/generated/azure_mgmt_cdn/models/check_name_availability_output.rb +72 -0
  88. data/lib/2017-10-12/generated/azure_mgmt_cdn/models/cidr_ip_address.rb +57 -0
  89. data/lib/2017-10-12/generated/azure_mgmt_cdn/models/custom_domain.rb +148 -0
  90. data/lib/2017-10-12/generated/azure_mgmt_cdn/models/custom_domain_list_result.rb +102 -0
  91. data/lib/2017-10-12/generated/azure_mgmt_cdn/models/custom_domain_parameters.rb +48 -0
  92. data/lib/2017-10-12/generated/azure_mgmt_cdn/models/custom_domain_resource_state.rb +17 -0
  93. data/lib/2017-10-12/generated/azure_mgmt_cdn/models/custom_https_provisioning_state.rb +19 -0
  94. data/lib/2017-10-12/generated/azure_mgmt_cdn/models/custom_https_provisioning_substate.rb +24 -0
  95. data/lib/2017-10-12/generated/azure_mgmt_cdn/models/deep_created_origin.rb +91 -0
  96. data/lib/2017-10-12/generated/azure_mgmt_cdn/models/delivery_rule.rb +96 -0
  97. data/lib/2017-10-12/generated/azure_mgmt_cdn/models/delivery_rule_action.rb +46 -0
  98. data/lib/2017-10-12/generated/azure_mgmt_cdn/models/delivery_rule_cache_expiration_action.rb +64 -0
  99. data/lib/2017-10-12/generated/azure_mgmt_cdn/models/delivery_rule_condition.rb +47 -0
  100. data/lib/2017-10-12/generated/azure_mgmt_cdn/models/delivery_rule_url_file_extension_condition.rb +64 -0
  101. data/lib/2017-10-12/generated/azure_mgmt_cdn/models/delivery_rule_url_path_condition.rb +64 -0
  102. data/lib/2017-10-12/generated/azure_mgmt_cdn/models/edge_node.rb +83 -0
  103. data/lib/2017-10-12/generated/azure_mgmt_cdn/models/edgenode_result.rb +101 -0
  104. data/lib/2017-10-12/generated/azure_mgmt_cdn/models/endpoint.rb +318 -0
  105. data/lib/2017-10-12/generated/azure_mgmt_cdn/models/endpoint_list_result.rb +101 -0
  106. data/lib/2017-10-12/generated/azure_mgmt_cdn/models/endpoint_properties_update_parameters_delivery_policy.rb +67 -0
  107. data/lib/2017-10-12/generated/azure_mgmt_cdn/models/endpoint_resource_state.rb +20 -0
  108. data/lib/2017-10-12/generated/azure_mgmt_cdn/models/endpoint_update_parameters.rb +223 -0
  109. data/lib/2017-10-12/generated/azure_mgmt_cdn/models/error_response.rb +60 -0
  110. data/lib/2017-10-12/generated/azure_mgmt_cdn/models/geo_filter.rb +80 -0
  111. data/lib/2017-10-12/generated/azure_mgmt_cdn/models/geo_filter_actions.rb +16 -0
  112. data/lib/2017-10-12/generated/azure_mgmt_cdn/models/ip_address_group.rb +86 -0
  113. data/lib/2017-10-12/generated/azure_mgmt_cdn/models/load_parameters.rb +55 -0
  114. data/lib/2017-10-12/generated/azure_mgmt_cdn/models/operation.rb +59 -0
  115. data/lib/2017-10-12/generated/azure_mgmt_cdn/models/operation_display.rb +72 -0
  116. data/lib/2017-10-12/generated/azure_mgmt_cdn/models/operations_list_result.rb +102 -0
  117. data/lib/2017-10-12/generated/azure_mgmt_cdn/models/optimization_type.rb +19 -0
  118. data/lib/2017-10-12/generated/azure_mgmt_cdn/models/origin.rb +158 -0
  119. data/lib/2017-10-12/generated/azure_mgmt_cdn/models/origin_list_result.rb +101 -0
  120. data/lib/2017-10-12/generated/azure_mgmt_cdn/models/origin_resource_state.rb +17 -0
  121. data/lib/2017-10-12/generated/azure_mgmt_cdn/models/origin_update_parameters.rb +79 -0
  122. data/lib/2017-10-12/generated/azure_mgmt_cdn/models/profile.rb +125 -0
  123. data/lib/2017-10-12/generated/azure_mgmt_cdn/models/profile_list_result.rb +101 -0
  124. data/lib/2017-10-12/generated/azure_mgmt_cdn/models/profile_resource_state.rb +18 -0
  125. data/lib/2017-10-12/generated/azure_mgmt_cdn/models/profile_update_parameters.rb +54 -0
  126. data/lib/2017-10-12/generated/azure_mgmt_cdn/models/proxy_resource.rb +63 -0
  127. data/lib/2017-10-12/generated/azure_mgmt_cdn/models/purge_parameters.rb +55 -0
  128. data/lib/2017-10-12/generated/azure_mgmt_cdn/models/query_string_caching_behavior.rb +18 -0
  129. data/lib/2017-10-12/generated/azure_mgmt_cdn/models/resource.rb +71 -0
  130. data/lib/2017-10-12/generated/azure_mgmt_cdn/models/resource_type.rb +15 -0
  131. data/lib/2017-10-12/generated/azure_mgmt_cdn/models/resource_usage.rb +83 -0
  132. data/lib/2017-10-12/generated/azure_mgmt_cdn/models/resource_usage_list_result.rb +100 -0
  133. data/lib/2017-10-12/generated/azure_mgmt_cdn/models/sku.rb +49 -0
  134. data/lib/2017-10-12/generated/azure_mgmt_cdn/models/sku_name.rb +19 -0
  135. data/lib/2017-10-12/generated/azure_mgmt_cdn/models/sso_uri.rb +48 -0
  136. data/lib/2017-10-12/generated/azure_mgmt_cdn/models/supported_optimization_types_list_result.rb +56 -0
  137. data/lib/2017-10-12/generated/azure_mgmt_cdn/models/tracked_resource.rb +92 -0
  138. data/lib/2017-10-12/generated/azure_mgmt_cdn/models/url_file_extension_condition_parameters.rb +70 -0
  139. data/lib/2017-10-12/generated/azure_mgmt_cdn/models/url_path_condition_parameters.rb +72 -0
  140. data/lib/2017-10-12/generated/azure_mgmt_cdn/models/validate_custom_domain_input.rb +47 -0
  141. data/lib/2017-10-12/generated/azure_mgmt_cdn/models/validate_custom_domain_output.rb +72 -0
  142. data/lib/2017-10-12/generated/azure_mgmt_cdn/models/validate_probe_input.rb +46 -0
  143. data/lib/2017-10-12/generated/azure_mgmt_cdn/models/validate_probe_output.rb +73 -0
  144. data/lib/2017-10-12/generated/azure_mgmt_cdn/module_definition.rb +9 -0
  145. data/lib/2017-10-12/generated/azure_mgmt_cdn/operations.rb +217 -0
  146. data/lib/2017-10-12/generated/azure_mgmt_cdn/origins.rb +556 -0
  147. data/lib/2017-10-12/generated/azure_mgmt_cdn/profiles.rb +1460 -0
  148. data/lib/2017-10-12/generated/azure_mgmt_cdn/resource_usage_operations.rb +226 -0
  149. data/lib/azure_mgmt_cdn.rb +2 -0
  150. data/lib/profiles/latest/cdn_latest_profile_client.rb +28 -9
  151. data/lib/profiles/latest/cdn_module_definition.rb +0 -1
  152. data/lib/profiles/latest/modules/cdn_profile_module.rb +277 -210
  153. data/lib/version.rb +1 -1
  154. metadata +119 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 7252f198d0d6764c1f5d117faf35613725d6d181
4
- data.tar.gz: ddf657856bbb4d9ed76667d9f0d955eb91d48cef
3
+ metadata.gz: f7b8635e25b95c9efdfff7191fc3cd54d8e3a4a4
4
+ data.tar.gz: 42b3d1b49d0b30759ce1fd6a6779a5cfa49bfabf
5
5
  SHA512:
6
- metadata.gz: f954e599e118bb60cfc4352686584e58dddf2ea3822b6a142b590341cb1adbe04a3d0bd0c41bffaf08234762f826b0d1b99e7fe929cb8e700c52c2cf10f6b334
7
- data.tar.gz: 9a26787b4753a3dcf54961404de8b4721f98e9765c849cb04ef65beefbb531f2063c2eec945815298038f924631e23fef98f7d61250d8672d9add0910b64f5bf
6
+ metadata.gz: af92f8218e2cb27be949c6a6958851fc6ee43dfb07ed78eec8184cb0e8299304230016bcbb5a07c05dba4709fcb678c6a5255e120c18f38ab9b946d8fd07fa32
7
+ data.tar.gz: 6e77c3b89e2b7bce3557761433f5c286f49a0713a378e3b69c0199738235b9e641751151522f9984aa38a21b3f08aa355394dc097586eb27a311826ef4887d72
@@ -125,6 +125,9 @@ module Azure::CDN::Mgmt::V2015_06_01
125
125
  fail ArgumentError, 'path is nil' if path.nil?
126
126
 
127
127
  request_url = options[:base_url] || @base_url
128
+ if(!options[:headers].nil? && !options[:headers]['Content-Type'].nil?)
129
+ @request_headers['Content-Type'] = options[:headers]['Content-Type']
130
+ end
128
131
 
129
132
  request_headers = @request_headers
130
133
  request_headers.merge!({'accept-language' => @accept_language}) unless @accept_language.nil?
@@ -141,7 +144,7 @@ module Azure::CDN::Mgmt::V2015_06_01
141
144
  #
142
145
  def add_telemetry
143
146
  sdk_information = 'azure_mgmt_cdn'
144
- sdk_information = "#{sdk_information}/0.15.2"
147
+ sdk_information = "#{sdk_information}/0.16.0"
145
148
  add_user_agent_information(sdk_information)
146
149
  end
147
150
  end
@@ -37,8 +37,8 @@ module Azure::CDN::Mgmt::V2015_06_01
37
37
  #
38
38
  # @return [CustomDomainListResult] operation results.
39
39
  #
40
- def list_by_endpoint(endpoint_name, profile_name, resource_group_name, custom_headers = nil)
41
- response = list_by_endpoint_async(endpoint_name, profile_name, resource_group_name, custom_headers).value!
40
+ def list_by_endpoint(endpoint_name, profile_name, resource_group_name, custom_headers:nil)
41
+ response = list_by_endpoint_async(endpoint_name, profile_name, resource_group_name, custom_headers:custom_headers).value!
42
42
  response.body unless response.nil?
43
43
  end
44
44
 
@@ -55,8 +55,8 @@ module Azure::CDN::Mgmt::V2015_06_01
55
55
  #
56
56
  # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
57
57
  #
58
- def list_by_endpoint_with_http_info(endpoint_name, profile_name, resource_group_name, custom_headers = nil)
59
- list_by_endpoint_async(endpoint_name, profile_name, resource_group_name, custom_headers).value!
58
+ def list_by_endpoint_with_http_info(endpoint_name, profile_name, resource_group_name, custom_headers:nil)
59
+ list_by_endpoint_async(endpoint_name, profile_name, resource_group_name, custom_headers:custom_headers).value!
60
60
  end
61
61
 
62
62
  #
@@ -72,7 +72,7 @@ module Azure::CDN::Mgmt::V2015_06_01
72
72
  #
73
73
  # @return [Concurrent::Promise] Promise object which holds the HTTP response.
74
74
  #
75
- def list_by_endpoint_async(endpoint_name, profile_name, resource_group_name, custom_headers = nil)
75
+ def list_by_endpoint_async(endpoint_name, profile_name, resource_group_name, custom_headers:nil)
76
76
  fail ArgumentError, 'endpoint_name is nil' if endpoint_name.nil?
77
77
  fail ArgumentError, 'profile_name is nil' if profile_name.nil?
78
78
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
@@ -81,6 +81,7 @@ module Azure::CDN::Mgmt::V2015_06_01
81
81
 
82
82
 
83
83
  request_headers = {}
84
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
84
85
 
85
86
  # Set Headers
86
87
  request_headers['x-ms-client-request-id'] = SecureRandom.uuid
@@ -140,8 +141,8 @@ module Azure::CDN::Mgmt::V2015_06_01
140
141
  #
141
142
  # @return [CustomDomain] operation results.
142
143
  #
143
- def get(custom_domain_name, endpoint_name, profile_name, resource_group_name, custom_headers = nil)
144
- response = get_async(custom_domain_name, endpoint_name, profile_name, resource_group_name, custom_headers).value!
144
+ def get(custom_domain_name, endpoint_name, profile_name, resource_group_name, custom_headers:nil)
145
+ response = get_async(custom_domain_name, endpoint_name, profile_name, resource_group_name, custom_headers:custom_headers).value!
145
146
  response.body unless response.nil?
146
147
  end
147
148
 
@@ -160,8 +161,8 @@ module Azure::CDN::Mgmt::V2015_06_01
160
161
  #
161
162
  # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
162
163
  #
163
- def get_with_http_info(custom_domain_name, endpoint_name, profile_name, resource_group_name, custom_headers = nil)
164
- get_async(custom_domain_name, endpoint_name, profile_name, resource_group_name, custom_headers).value!
164
+ def get_with_http_info(custom_domain_name, endpoint_name, profile_name, resource_group_name, custom_headers:nil)
165
+ get_async(custom_domain_name, endpoint_name, profile_name, resource_group_name, custom_headers:custom_headers).value!
165
166
  end
166
167
 
167
168
  #
@@ -179,7 +180,7 @@ module Azure::CDN::Mgmt::V2015_06_01
179
180
  #
180
181
  # @return [Concurrent::Promise] Promise object which holds the HTTP response.
181
182
  #
182
- def get_async(custom_domain_name, endpoint_name, profile_name, resource_group_name, custom_headers = nil)
183
+ def get_async(custom_domain_name, endpoint_name, profile_name, resource_group_name, custom_headers:nil)
183
184
  fail ArgumentError, 'custom_domain_name is nil' if custom_domain_name.nil?
184
185
  fail ArgumentError, 'endpoint_name is nil' if endpoint_name.nil?
185
186
  fail ArgumentError, 'profile_name is nil' if profile_name.nil?
@@ -189,6 +190,7 @@ module Azure::CDN::Mgmt::V2015_06_01
189
190
 
190
191
 
191
192
  request_headers = {}
193
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
192
194
 
193
195
  # Set Headers
194
196
  request_headers['x-ms-client-request-id'] = SecureRandom.uuid
@@ -250,8 +252,8 @@ module Azure::CDN::Mgmt::V2015_06_01
250
252
  #
251
253
  # @return [CustomDomain] operation results.
252
254
  #
253
- def create(custom_domain_name, custom_domain_properties, endpoint_name, profile_name, resource_group_name, custom_headers = nil)
254
- response = create_async(custom_domain_name, custom_domain_properties, endpoint_name, profile_name, resource_group_name, custom_headers).value!
255
+ def create(custom_domain_name, custom_domain_properties, endpoint_name, profile_name, resource_group_name, custom_headers:nil)
256
+ response = create_async(custom_domain_name, custom_domain_properties, endpoint_name, profile_name, resource_group_name, custom_headers:custom_headers).value!
255
257
  response.body unless response.nil?
256
258
  end
257
259
 
@@ -271,9 +273,9 @@ module Azure::CDN::Mgmt::V2015_06_01
271
273
  # @return [Concurrent::Promise] promise which provides async access to http
272
274
  # response.
273
275
  #
274
- def create_async(custom_domain_name, custom_domain_properties, endpoint_name, profile_name, resource_group_name, custom_headers = nil)
276
+ def create_async(custom_domain_name, custom_domain_properties, endpoint_name, profile_name, resource_group_name, custom_headers:nil)
275
277
  # Send request
276
- promise = begin_create_async(custom_domain_name, custom_domain_properties, endpoint_name, profile_name, resource_group_name, custom_headers)
278
+ promise = begin_create_async(custom_domain_name, custom_domain_properties, endpoint_name, profile_name, resource_group_name, custom_headers:custom_headers)
277
279
 
278
280
  promise = promise.then do |response|
279
281
  # Defining deserialization method.
@@ -306,8 +308,8 @@ module Azure::CDN::Mgmt::V2015_06_01
306
308
  #
307
309
  # @return [ErrorResponse] operation results.
308
310
  #
309
- def update(custom_domain_name, custom_domain_properties, endpoint_name, profile_name, resource_group_name, custom_headers = nil)
310
- response = update_async(custom_domain_name, custom_domain_properties, endpoint_name, profile_name, resource_group_name, custom_headers).value!
311
+ def update(custom_domain_name, custom_domain_properties, endpoint_name, profile_name, resource_group_name, custom_headers:nil)
312
+ response = update_async(custom_domain_name, custom_domain_properties, endpoint_name, profile_name, resource_group_name, custom_headers:custom_headers).value!
311
313
  response.body unless response.nil?
312
314
  end
313
315
 
@@ -328,8 +330,8 @@ module Azure::CDN::Mgmt::V2015_06_01
328
330
  #
329
331
  # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
330
332
  #
331
- def update_with_http_info(custom_domain_name, custom_domain_properties, endpoint_name, profile_name, resource_group_name, custom_headers = nil)
332
- update_async(custom_domain_name, custom_domain_properties, endpoint_name, profile_name, resource_group_name, custom_headers).value!
333
+ def update_with_http_info(custom_domain_name, custom_domain_properties, endpoint_name, profile_name, resource_group_name, custom_headers:nil)
334
+ update_async(custom_domain_name, custom_domain_properties, endpoint_name, profile_name, resource_group_name, custom_headers:custom_headers).value!
333
335
  end
334
336
 
335
337
  #
@@ -349,7 +351,7 @@ module Azure::CDN::Mgmt::V2015_06_01
349
351
  #
350
352
  # @return [Concurrent::Promise] Promise object which holds the HTTP response.
351
353
  #
352
- def update_async(custom_domain_name, custom_domain_properties, endpoint_name, profile_name, resource_group_name, custom_headers = nil)
354
+ def update_async(custom_domain_name, custom_domain_properties, endpoint_name, profile_name, resource_group_name, custom_headers:nil)
353
355
  fail ArgumentError, 'custom_domain_name is nil' if custom_domain_name.nil?
354
356
  fail ArgumentError, 'custom_domain_properties is nil' if custom_domain_properties.nil?
355
357
  fail ArgumentError, 'endpoint_name is nil' if endpoint_name.nil?
@@ -360,13 +362,12 @@ module Azure::CDN::Mgmt::V2015_06_01
360
362
 
361
363
 
362
364
  request_headers = {}
365
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
363
366
 
364
367
  # Set Headers
365
368
  request_headers['x-ms-client-request-id'] = SecureRandom.uuid
366
369
  request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
367
370
 
368
- request_headers['Content-Type'] = 'application/json; charset=utf-8'
369
-
370
371
  # Serialize Request
371
372
  request_mapper = Azure::CDN::Mgmt::V2015_06_01::Models::CustomDomainParameters.mapper()
372
373
  request_content = @client.serialize(request_mapper, custom_domain_properties)
@@ -425,8 +426,8 @@ module Azure::CDN::Mgmt::V2015_06_01
425
426
  #
426
427
  # @return [CustomDomain] operation results.
427
428
  #
428
- def delete_if_exists(custom_domain_name, endpoint_name, profile_name, resource_group_name, custom_headers = nil)
429
- response = delete_if_exists_async(custom_domain_name, endpoint_name, profile_name, resource_group_name, custom_headers).value!
429
+ def delete_if_exists(custom_domain_name, endpoint_name, profile_name, resource_group_name, custom_headers:nil)
430
+ response = delete_if_exists_async(custom_domain_name, endpoint_name, profile_name, resource_group_name, custom_headers:custom_headers).value!
430
431
  response.body unless response.nil?
431
432
  end
432
433
 
@@ -444,9 +445,9 @@ module Azure::CDN::Mgmt::V2015_06_01
444
445
  # @return [Concurrent::Promise] promise which provides async access to http
445
446
  # response.
446
447
  #
447
- def delete_if_exists_async(custom_domain_name, endpoint_name, profile_name, resource_group_name, custom_headers = nil)
448
+ def delete_if_exists_async(custom_domain_name, endpoint_name, profile_name, resource_group_name, custom_headers:nil)
448
449
  # Send request
449
- promise = begin_delete_if_exists_async(custom_domain_name, endpoint_name, profile_name, resource_group_name, custom_headers)
450
+ promise = begin_delete_if_exists_async(custom_domain_name, endpoint_name, profile_name, resource_group_name, custom_headers:custom_headers)
450
451
 
451
452
  promise = promise.then do |response|
452
453
  # Defining deserialization method.
@@ -479,8 +480,8 @@ module Azure::CDN::Mgmt::V2015_06_01
479
480
  #
480
481
  # @return [CustomDomain] operation results.
481
482
  #
482
- def begin_create(custom_domain_name, custom_domain_properties, endpoint_name, profile_name, resource_group_name, custom_headers = nil)
483
- response = begin_create_async(custom_domain_name, custom_domain_properties, endpoint_name, profile_name, resource_group_name, custom_headers).value!
483
+ def begin_create(custom_domain_name, custom_domain_properties, endpoint_name, profile_name, resource_group_name, custom_headers:nil)
484
+ response = begin_create_async(custom_domain_name, custom_domain_properties, endpoint_name, profile_name, resource_group_name, custom_headers:custom_headers).value!
484
485
  response.body unless response.nil?
485
486
  end
486
487
 
@@ -501,8 +502,8 @@ module Azure::CDN::Mgmt::V2015_06_01
501
502
  #
502
503
  # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
503
504
  #
504
- def begin_create_with_http_info(custom_domain_name, custom_domain_properties, endpoint_name, profile_name, resource_group_name, custom_headers = nil)
505
- begin_create_async(custom_domain_name, custom_domain_properties, endpoint_name, profile_name, resource_group_name, custom_headers).value!
505
+ def begin_create_with_http_info(custom_domain_name, custom_domain_properties, endpoint_name, profile_name, resource_group_name, custom_headers:nil)
506
+ begin_create_async(custom_domain_name, custom_domain_properties, endpoint_name, profile_name, resource_group_name, custom_headers:custom_headers).value!
506
507
  end
507
508
 
508
509
  #
@@ -522,7 +523,7 @@ module Azure::CDN::Mgmt::V2015_06_01
522
523
  #
523
524
  # @return [Concurrent::Promise] Promise object which holds the HTTP response.
524
525
  #
525
- def begin_create_async(custom_domain_name, custom_domain_properties, endpoint_name, profile_name, resource_group_name, custom_headers = nil)
526
+ def begin_create_async(custom_domain_name, custom_domain_properties, endpoint_name, profile_name, resource_group_name, custom_headers:nil)
526
527
  fail ArgumentError, 'custom_domain_name is nil' if custom_domain_name.nil?
527
528
  fail ArgumentError, 'custom_domain_properties is nil' if custom_domain_properties.nil?
528
529
  fail ArgumentError, 'endpoint_name is nil' if endpoint_name.nil?
@@ -533,13 +534,12 @@ module Azure::CDN::Mgmt::V2015_06_01
533
534
 
534
535
 
535
536
  request_headers = {}
537
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
536
538
 
537
539
  # Set Headers
538
540
  request_headers['x-ms-client-request-id'] = SecureRandom.uuid
539
541
  request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
540
542
 
541
- request_headers['Content-Type'] = 'application/json; charset=utf-8'
542
-
543
543
  # Serialize Request
544
544
  request_mapper = Azure::CDN::Mgmt::V2015_06_01::Models::CustomDomainParameters.mapper()
545
545
  request_content = @client.serialize(request_mapper, custom_domain_properties)
@@ -621,8 +621,8 @@ module Azure::CDN::Mgmt::V2015_06_01
621
621
  #
622
622
  # @return [CustomDomain] operation results.
623
623
  #
624
- def begin_delete_if_exists(custom_domain_name, endpoint_name, profile_name, resource_group_name, custom_headers = nil)
625
- response = begin_delete_if_exists_async(custom_domain_name, endpoint_name, profile_name, resource_group_name, custom_headers).value!
624
+ def begin_delete_if_exists(custom_domain_name, endpoint_name, profile_name, resource_group_name, custom_headers:nil)
625
+ response = begin_delete_if_exists_async(custom_domain_name, endpoint_name, profile_name, resource_group_name, custom_headers:custom_headers).value!
626
626
  response.body unless response.nil?
627
627
  end
628
628
 
@@ -641,8 +641,8 @@ module Azure::CDN::Mgmt::V2015_06_01
641
641
  #
642
642
  # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
643
643
  #
644
- def begin_delete_if_exists_with_http_info(custom_domain_name, endpoint_name, profile_name, resource_group_name, custom_headers = nil)
645
- begin_delete_if_exists_async(custom_domain_name, endpoint_name, profile_name, resource_group_name, custom_headers).value!
644
+ def begin_delete_if_exists_with_http_info(custom_domain_name, endpoint_name, profile_name, resource_group_name, custom_headers:nil)
645
+ begin_delete_if_exists_async(custom_domain_name, endpoint_name, profile_name, resource_group_name, custom_headers:custom_headers).value!
646
646
  end
647
647
 
648
648
  #
@@ -660,7 +660,7 @@ module Azure::CDN::Mgmt::V2015_06_01
660
660
  #
661
661
  # @return [Concurrent::Promise] Promise object which holds the HTTP response.
662
662
  #
663
- def begin_delete_if_exists_async(custom_domain_name, endpoint_name, profile_name, resource_group_name, custom_headers = nil)
663
+ def begin_delete_if_exists_async(custom_domain_name, endpoint_name, profile_name, resource_group_name, custom_headers:nil)
664
664
  fail ArgumentError, 'custom_domain_name is nil' if custom_domain_name.nil?
665
665
  fail ArgumentError, 'endpoint_name is nil' if endpoint_name.nil?
666
666
  fail ArgumentError, 'profile_name is nil' if profile_name.nil?
@@ -670,6 +670,7 @@ module Azure::CDN::Mgmt::V2015_06_01
670
670
 
671
671
 
672
672
  request_headers = {}
673
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
673
674
 
674
675
  # Set Headers
675
676
  request_headers['x-ms-client-request-id'] = SecureRandom.uuid
@@ -36,8 +36,8 @@ module Azure::CDN::Mgmt::V2015_06_01
36
36
  #
37
37
  # @return [EndpointListResult] operation results.
38
38
  #
39
- def list_by_profile(profile_name, resource_group_name, custom_headers = nil)
40
- response = list_by_profile_async(profile_name, resource_group_name, custom_headers).value!
39
+ def list_by_profile(profile_name, resource_group_name, custom_headers:nil)
40
+ response = list_by_profile_async(profile_name, resource_group_name, custom_headers:custom_headers).value!
41
41
  response.body unless response.nil?
42
42
  end
43
43
 
@@ -53,8 +53,8 @@ module Azure::CDN::Mgmt::V2015_06_01
53
53
  #
54
54
  # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
55
55
  #
56
- def list_by_profile_with_http_info(profile_name, resource_group_name, custom_headers = nil)
57
- list_by_profile_async(profile_name, resource_group_name, custom_headers).value!
56
+ def list_by_profile_with_http_info(profile_name, resource_group_name, custom_headers:nil)
57
+ list_by_profile_async(profile_name, resource_group_name, custom_headers:custom_headers).value!
58
58
  end
59
59
 
60
60
  #
@@ -69,7 +69,7 @@ module Azure::CDN::Mgmt::V2015_06_01
69
69
  #
70
70
  # @return [Concurrent::Promise] Promise object which holds the HTTP response.
71
71
  #
72
- def list_by_profile_async(profile_name, resource_group_name, custom_headers = nil)
72
+ def list_by_profile_async(profile_name, resource_group_name, custom_headers:nil)
73
73
  fail ArgumentError, 'profile_name is nil' if profile_name.nil?
74
74
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
75
75
  fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
@@ -77,6 +77,7 @@ module Azure::CDN::Mgmt::V2015_06_01
77
77
 
78
78
 
79
79
  request_headers = {}
80
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
80
81
 
81
82
  # Set Headers
82
83
  request_headers['x-ms-client-request-id'] = SecureRandom.uuid
@@ -134,8 +135,8 @@ module Azure::CDN::Mgmt::V2015_06_01
134
135
  #
135
136
  # @return [Endpoint] operation results.
136
137
  #
137
- def get(endpoint_name, profile_name, resource_group_name, custom_headers = nil)
138
- response = get_async(endpoint_name, profile_name, resource_group_name, custom_headers).value!
138
+ def get(endpoint_name, profile_name, resource_group_name, custom_headers:nil)
139
+ response = get_async(endpoint_name, profile_name, resource_group_name, custom_headers:custom_headers).value!
139
140
  response.body unless response.nil?
140
141
  end
141
142
 
@@ -152,8 +153,8 @@ module Azure::CDN::Mgmt::V2015_06_01
152
153
  #
153
154
  # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
154
155
  #
155
- def get_with_http_info(endpoint_name, profile_name, resource_group_name, custom_headers = nil)
156
- get_async(endpoint_name, profile_name, resource_group_name, custom_headers).value!
156
+ def get_with_http_info(endpoint_name, profile_name, resource_group_name, custom_headers:nil)
157
+ get_async(endpoint_name, profile_name, resource_group_name, custom_headers:custom_headers).value!
157
158
  end
158
159
 
159
160
  #
@@ -169,7 +170,7 @@ module Azure::CDN::Mgmt::V2015_06_01
169
170
  #
170
171
  # @return [Concurrent::Promise] Promise object which holds the HTTP response.
171
172
  #
172
- def get_async(endpoint_name, profile_name, resource_group_name, custom_headers = nil)
173
+ def get_async(endpoint_name, profile_name, resource_group_name, custom_headers:nil)
173
174
  fail ArgumentError, 'endpoint_name is nil' if endpoint_name.nil?
174
175
  fail ArgumentError, 'profile_name is nil' if profile_name.nil?
175
176
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
@@ -178,6 +179,7 @@ module Azure::CDN::Mgmt::V2015_06_01
178
179
 
179
180
 
180
181
  request_headers = {}
182
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
181
183
 
182
184
  # Set Headers
183
185
  request_headers['x-ms-client-request-id'] = SecureRandom.uuid
@@ -236,8 +238,8 @@ module Azure::CDN::Mgmt::V2015_06_01
236
238
  #
237
239
  # @return [Endpoint] operation results.
238
240
  #
239
- def create(endpoint_name, endpoint_properties, profile_name, resource_group_name, custom_headers = nil)
240
- response = create_async(endpoint_name, endpoint_properties, profile_name, resource_group_name, custom_headers).value!
241
+ def create(endpoint_name, endpoint_properties, profile_name, resource_group_name, custom_headers:nil)
242
+ response = create_async(endpoint_name, endpoint_properties, profile_name, resource_group_name, custom_headers:custom_headers).value!
241
243
  response.body unless response.nil?
242
244
  end
243
245
 
@@ -254,9 +256,9 @@ module Azure::CDN::Mgmt::V2015_06_01
254
256
  # @return [Concurrent::Promise] promise which provides async access to http
255
257
  # response.
256
258
  #
257
- def create_async(endpoint_name, endpoint_properties, profile_name, resource_group_name, custom_headers = nil)
259
+ def create_async(endpoint_name, endpoint_properties, profile_name, resource_group_name, custom_headers:nil)
258
260
  # Send request
259
- promise = begin_create_async(endpoint_name, endpoint_properties, profile_name, resource_group_name, custom_headers)
261
+ promise = begin_create_async(endpoint_name, endpoint_properties, profile_name, resource_group_name, custom_headers:custom_headers)
260
262
 
261
263
  promise = promise.then do |response|
262
264
  # Defining deserialization method.
@@ -289,8 +291,8 @@ module Azure::CDN::Mgmt::V2015_06_01
289
291
  #
290
292
  # @return [Endpoint] operation results.
291
293
  #
292
- def update(endpoint_name, endpoint_properties, profile_name, resource_group_name, custom_headers = nil)
293
- response = update_async(endpoint_name, endpoint_properties, profile_name, resource_group_name, custom_headers).value!
294
+ def update(endpoint_name, endpoint_properties, profile_name, resource_group_name, custom_headers:nil)
295
+ response = update_async(endpoint_name, endpoint_properties, profile_name, resource_group_name, custom_headers:custom_headers).value!
294
296
  response.body unless response.nil?
295
297
  end
296
298
 
@@ -307,9 +309,9 @@ module Azure::CDN::Mgmt::V2015_06_01
307
309
  # @return [Concurrent::Promise] promise which provides async access to http
308
310
  # response.
309
311
  #
310
- def update_async(endpoint_name, endpoint_properties, profile_name, resource_group_name, custom_headers = nil)
312
+ def update_async(endpoint_name, endpoint_properties, profile_name, resource_group_name, custom_headers:nil)
311
313
  # Send request
312
- promise = begin_update_async(endpoint_name, endpoint_properties, profile_name, resource_group_name, custom_headers)
314
+ promise = begin_update_async(endpoint_name, endpoint_properties, profile_name, resource_group_name, custom_headers:custom_headers)
313
315
 
314
316
  promise = promise.then do |response|
315
317
  # Defining deserialization method.
@@ -336,8 +338,8 @@ module Azure::CDN::Mgmt::V2015_06_01
336
338
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
337
339
  # will be added to the HTTP request.
338
340
  #
339
- def delete_if_exists(endpoint_name, profile_name, resource_group_name, custom_headers = nil)
340
- response = delete_if_exists_async(endpoint_name, profile_name, resource_group_name, custom_headers).value!
341
+ def delete_if_exists(endpoint_name, profile_name, resource_group_name, custom_headers:nil)
342
+ response = delete_if_exists_async(endpoint_name, profile_name, resource_group_name, custom_headers:custom_headers).value!
341
343
  nil
342
344
  end
343
345
 
@@ -353,9 +355,9 @@ module Azure::CDN::Mgmt::V2015_06_01
353
355
  # @return [Concurrent::Promise] promise which provides async access to http
354
356
  # response.
355
357
  #
356
- def delete_if_exists_async(endpoint_name, profile_name, resource_group_name, custom_headers = nil)
358
+ def delete_if_exists_async(endpoint_name, profile_name, resource_group_name, custom_headers:nil)
357
359
  # Send request
358
- promise = begin_delete_if_exists_async(endpoint_name, profile_name, resource_group_name, custom_headers)
360
+ promise = begin_delete_if_exists_async(endpoint_name, profile_name, resource_group_name, custom_headers:custom_headers)
359
361
 
360
362
  promise = promise.then do |response|
361
363
  # Defining deserialization method.
@@ -382,8 +384,8 @@ module Azure::CDN::Mgmt::V2015_06_01
382
384
  #
383
385
  # @return [Endpoint] operation results.
384
386
  #
385
- def start(endpoint_name, profile_name, resource_group_name, custom_headers = nil)
386
- response = start_async(endpoint_name, profile_name, resource_group_name, custom_headers).value!
387
+ def start(endpoint_name, profile_name, resource_group_name, custom_headers:nil)
388
+ response = start_async(endpoint_name, profile_name, resource_group_name, custom_headers:custom_headers).value!
387
389
  response.body unless response.nil?
388
390
  end
389
391
 
@@ -399,9 +401,9 @@ module Azure::CDN::Mgmt::V2015_06_01
399
401
  # @return [Concurrent::Promise] promise which provides async access to http
400
402
  # response.
401
403
  #
402
- def start_async(endpoint_name, profile_name, resource_group_name, custom_headers = nil)
404
+ def start_async(endpoint_name, profile_name, resource_group_name, custom_headers:nil)
403
405
  # Send request
404
- promise = begin_start_async(endpoint_name, profile_name, resource_group_name, custom_headers)
406
+ promise = begin_start_async(endpoint_name, profile_name, resource_group_name, custom_headers:custom_headers)
405
407
 
406
408
  promise = promise.then do |response|
407
409
  # Defining deserialization method.
@@ -430,8 +432,8 @@ module Azure::CDN::Mgmt::V2015_06_01
430
432
  #
431
433
  # @return [Endpoint] operation results.
432
434
  #
433
- def stop(endpoint_name, profile_name, resource_group_name, custom_headers = nil)
434
- response = stop_async(endpoint_name, profile_name, resource_group_name, custom_headers).value!
435
+ def stop(endpoint_name, profile_name, resource_group_name, custom_headers:nil)
436
+ response = stop_async(endpoint_name, profile_name, resource_group_name, custom_headers:custom_headers).value!
435
437
  response.body unless response.nil?
436
438
  end
437
439
 
@@ -447,9 +449,9 @@ module Azure::CDN::Mgmt::V2015_06_01
447
449
  # @return [Concurrent::Promise] promise which provides async access to http
448
450
  # response.
449
451
  #
450
- def stop_async(endpoint_name, profile_name, resource_group_name, custom_headers = nil)
452
+ def stop_async(endpoint_name, profile_name, resource_group_name, custom_headers:nil)
451
453
  # Send request
452
- promise = begin_stop_async(endpoint_name, profile_name, resource_group_name, custom_headers)
454
+ promise = begin_stop_async(endpoint_name, profile_name, resource_group_name, custom_headers:custom_headers)
453
455
 
454
456
  promise = promise.then do |response|
455
457
  # Defining deserialization method.
@@ -478,8 +480,8 @@ module Azure::CDN::Mgmt::V2015_06_01
478
480
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
479
481
  # will be added to the HTTP request.
480
482
  #
481
- def purge_content(endpoint_name, content_file_paths, profile_name, resource_group_name, custom_headers = nil)
482
- response = purge_content_async(endpoint_name, content_file_paths, profile_name, resource_group_name, custom_headers).value!
483
+ def purge_content(endpoint_name, content_file_paths, profile_name, resource_group_name, custom_headers:nil)
484
+ response = purge_content_async(endpoint_name, content_file_paths, profile_name, resource_group_name, custom_headers:custom_headers).value!
483
485
  nil
484
486
  end
485
487
 
@@ -497,9 +499,9 @@ module Azure::CDN::Mgmt::V2015_06_01
497
499
  # @return [Concurrent::Promise] promise which provides async access to http
498
500
  # response.
499
501
  #
500
- def purge_content_async(endpoint_name, content_file_paths, profile_name, resource_group_name, custom_headers = nil)
502
+ def purge_content_async(endpoint_name, content_file_paths, profile_name, resource_group_name, custom_headers:nil)
501
503
  # Send request
502
- promise = begin_purge_content_async(endpoint_name, content_file_paths, profile_name, resource_group_name, custom_headers)
504
+ promise = begin_purge_content_async(endpoint_name, content_file_paths, profile_name, resource_group_name, custom_headers:custom_headers)
503
505
 
504
506
  promise = promise.then do |response|
505
507
  # Defining deserialization method.
@@ -526,8 +528,8 @@ module Azure::CDN::Mgmt::V2015_06_01
526
528
  # @param custom_headers [Hash{String => String}] A hash of custom headers that
527
529
  # will be added to the HTTP request.
528
530
  #
529
- def load_content(endpoint_name, content_file_paths, profile_name, resource_group_name, custom_headers = nil)
530
- response = load_content_async(endpoint_name, content_file_paths, profile_name, resource_group_name, custom_headers).value!
531
+ def load_content(endpoint_name, content_file_paths, profile_name, resource_group_name, custom_headers:nil)
532
+ response = load_content_async(endpoint_name, content_file_paths, profile_name, resource_group_name, custom_headers:custom_headers).value!
531
533
  nil
532
534
  end
533
535
 
@@ -545,9 +547,9 @@ module Azure::CDN::Mgmt::V2015_06_01
545
547
  # @return [Concurrent::Promise] promise which provides async access to http
546
548
  # response.
547
549
  #
548
- def load_content_async(endpoint_name, content_file_paths, profile_name, resource_group_name, custom_headers = nil)
550
+ def load_content_async(endpoint_name, content_file_paths, profile_name, resource_group_name, custom_headers:nil)
549
551
  # Send request
550
- promise = begin_load_content_async(endpoint_name, content_file_paths, profile_name, resource_group_name, custom_headers)
552
+ promise = begin_load_content_async(endpoint_name, content_file_paths, profile_name, resource_group_name, custom_headers:custom_headers)
551
553
 
552
554
  promise = promise.then do |response|
553
555
  # Defining deserialization method.
@@ -577,8 +579,8 @@ module Azure::CDN::Mgmt::V2015_06_01
577
579
  #
578
580
  # @return [ValidateCustomDomainOutput] operation results.
579
581
  #
580
- def validate_custom_domain(endpoint_name, custom_domain_properties, profile_name, resource_group_name, custom_headers = nil)
581
- response = validate_custom_domain_async(endpoint_name, custom_domain_properties, profile_name, resource_group_name, custom_headers).value!
582
+ def validate_custom_domain(endpoint_name, custom_domain_properties, profile_name, resource_group_name, custom_headers:nil)
583
+ response = validate_custom_domain_async(endpoint_name, custom_domain_properties, profile_name, resource_group_name, custom_headers:custom_headers).value!
582
584
  response.body unless response.nil?
583
585
  end
584
586
 
@@ -598,8 +600,8 @@ module Azure::CDN::Mgmt::V2015_06_01
598
600
  #
599
601
  # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
600
602
  #
601
- def validate_custom_domain_with_http_info(endpoint_name, custom_domain_properties, profile_name, resource_group_name, custom_headers = nil)
602
- validate_custom_domain_async(endpoint_name, custom_domain_properties, profile_name, resource_group_name, custom_headers).value!
603
+ def validate_custom_domain_with_http_info(endpoint_name, custom_domain_properties, profile_name, resource_group_name, custom_headers:nil)
604
+ validate_custom_domain_async(endpoint_name, custom_domain_properties, profile_name, resource_group_name, custom_headers:custom_headers).value!
603
605
  end
604
606
 
605
607
  #
@@ -618,7 +620,7 @@ module Azure::CDN::Mgmt::V2015_06_01
618
620
  #
619
621
  # @return [Concurrent::Promise] Promise object which holds the HTTP response.
620
622
  #
621
- def validate_custom_domain_async(endpoint_name, custom_domain_properties, profile_name, resource_group_name, custom_headers = nil)
623
+ def validate_custom_domain_async(endpoint_name, custom_domain_properties, profile_name, resource_group_name, custom_headers:nil)
622
624
  fail ArgumentError, 'endpoint_name is nil' if endpoint_name.nil?
623
625
  fail ArgumentError, 'custom_domain_properties is nil' if custom_domain_properties.nil?
624
626
  fail ArgumentError, 'profile_name is nil' if profile_name.nil?
@@ -628,13 +630,12 @@ module Azure::CDN::Mgmt::V2015_06_01
628
630
 
629
631
 
630
632
  request_headers = {}
633
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
631
634
 
632
635
  # Set Headers
633
636
  request_headers['x-ms-client-request-id'] = SecureRandom.uuid
634
637
  request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
635
638
 
636
- request_headers['Content-Type'] = 'application/json; charset=utf-8'
637
-
638
639
  # Serialize Request
639
640
  request_mapper = Azure::CDN::Mgmt::V2015_06_01::Models::ValidateCustomDomainInput.mapper()
640
641
  request_content = @client.serialize(request_mapper, custom_domain_properties)
@@ -695,8 +696,8 @@ module Azure::CDN::Mgmt::V2015_06_01
695
696
  #
696
697
  # @return [Endpoint] operation results.
697
698
  #
698
- def begin_create(endpoint_name, endpoint_properties, profile_name, resource_group_name, custom_headers = nil)
699
- response = begin_create_async(endpoint_name, endpoint_properties, profile_name, resource_group_name, custom_headers).value!
699
+ def begin_create(endpoint_name, endpoint_properties, profile_name, resource_group_name, custom_headers:nil)
700
+ response = begin_create_async(endpoint_name, endpoint_properties, profile_name, resource_group_name, custom_headers:custom_headers).value!
700
701
  response.body unless response.nil?
701
702
  end
702
703
 
@@ -714,8 +715,8 @@ module Azure::CDN::Mgmt::V2015_06_01
714
715
  #
715
716
  # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
716
717
  #
717
- def begin_create_with_http_info(endpoint_name, endpoint_properties, profile_name, resource_group_name, custom_headers = nil)
718
- begin_create_async(endpoint_name, endpoint_properties, profile_name, resource_group_name, custom_headers).value!
718
+ def begin_create_with_http_info(endpoint_name, endpoint_properties, profile_name, resource_group_name, custom_headers:nil)
719
+ begin_create_async(endpoint_name, endpoint_properties, profile_name, resource_group_name, custom_headers:custom_headers).value!
719
720
  end
720
721
 
721
722
  #
@@ -732,7 +733,7 @@ module Azure::CDN::Mgmt::V2015_06_01
732
733
  #
733
734
  # @return [Concurrent::Promise] Promise object which holds the HTTP response.
734
735
  #
735
- def begin_create_async(endpoint_name, endpoint_properties, profile_name, resource_group_name, custom_headers = nil)
736
+ def begin_create_async(endpoint_name, endpoint_properties, profile_name, resource_group_name, custom_headers:nil)
736
737
  fail ArgumentError, 'endpoint_name is nil' if endpoint_name.nil?
737
738
  fail ArgumentError, 'endpoint_properties is nil' if endpoint_properties.nil?
738
739
  fail ArgumentError, 'profile_name is nil' if profile_name.nil?
@@ -742,13 +743,12 @@ module Azure::CDN::Mgmt::V2015_06_01
742
743
 
743
744
 
744
745
  request_headers = {}
746
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
745
747
 
746
748
  # Set Headers
747
749
  request_headers['x-ms-client-request-id'] = SecureRandom.uuid
748
750
  request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
749
751
 
750
- request_headers['Content-Type'] = 'application/json; charset=utf-8'
751
-
752
752
  # Serialize Request
753
753
  request_mapper = Azure::CDN::Mgmt::V2015_06_01::Models::EndpointCreateParameters.mapper()
754
754
  request_content = @client.serialize(request_mapper, endpoint_properties)
@@ -832,8 +832,8 @@ module Azure::CDN::Mgmt::V2015_06_01
832
832
  #
833
833
  # @return [Endpoint] operation results.
834
834
  #
835
- def begin_update(endpoint_name, endpoint_properties, profile_name, resource_group_name, custom_headers = nil)
836
- response = begin_update_async(endpoint_name, endpoint_properties, profile_name, resource_group_name, custom_headers).value!
835
+ def begin_update(endpoint_name, endpoint_properties, profile_name, resource_group_name, custom_headers:nil)
836
+ response = begin_update_async(endpoint_name, endpoint_properties, profile_name, resource_group_name, custom_headers:custom_headers).value!
837
837
  response.body unless response.nil?
838
838
  end
839
839
 
@@ -854,8 +854,8 @@ module Azure::CDN::Mgmt::V2015_06_01
854
854
  #
855
855
  # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
856
856
  #
857
- def begin_update_with_http_info(endpoint_name, endpoint_properties, profile_name, resource_group_name, custom_headers = nil)
858
- begin_update_async(endpoint_name, endpoint_properties, profile_name, resource_group_name, custom_headers).value!
857
+ def begin_update_with_http_info(endpoint_name, endpoint_properties, profile_name, resource_group_name, custom_headers:nil)
858
+ begin_update_async(endpoint_name, endpoint_properties, profile_name, resource_group_name, custom_headers:custom_headers).value!
859
859
  end
860
860
 
861
861
  #
@@ -875,7 +875,7 @@ module Azure::CDN::Mgmt::V2015_06_01
875
875
  #
876
876
  # @return [Concurrent::Promise] Promise object which holds the HTTP response.
877
877
  #
878
- def begin_update_async(endpoint_name, endpoint_properties, profile_name, resource_group_name, custom_headers = nil)
878
+ def begin_update_async(endpoint_name, endpoint_properties, profile_name, resource_group_name, custom_headers:nil)
879
879
  fail ArgumentError, 'endpoint_name is nil' if endpoint_name.nil?
880
880
  fail ArgumentError, 'endpoint_properties is nil' if endpoint_properties.nil?
881
881
  fail ArgumentError, 'profile_name is nil' if profile_name.nil?
@@ -885,13 +885,12 @@ module Azure::CDN::Mgmt::V2015_06_01
885
885
 
886
886
 
887
887
  request_headers = {}
888
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
888
889
 
889
890
  # Set Headers
890
891
  request_headers['x-ms-client-request-id'] = SecureRandom.uuid
891
892
  request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
892
893
 
893
- request_headers['Content-Type'] = 'application/json; charset=utf-8'
894
-
895
894
  # Serialize Request
896
895
  request_mapper = Azure::CDN::Mgmt::V2015_06_01::Models::EndpointUpdateParameters.mapper()
897
896
  request_content = @client.serialize(request_mapper, endpoint_properties)
@@ -960,8 +959,8 @@ module Azure::CDN::Mgmt::V2015_06_01
960
959
  # will be added to the HTTP request.
961
960
  #
962
961
  #
963
- def begin_delete_if_exists(endpoint_name, profile_name, resource_group_name, custom_headers = nil)
964
- response = begin_delete_if_exists_async(endpoint_name, profile_name, resource_group_name, custom_headers).value!
962
+ def begin_delete_if_exists(endpoint_name, profile_name, resource_group_name, custom_headers:nil)
963
+ response = begin_delete_if_exists_async(endpoint_name, profile_name, resource_group_name, custom_headers:custom_headers).value!
965
964
  nil
966
965
  end
967
966
 
@@ -978,8 +977,8 @@ module Azure::CDN::Mgmt::V2015_06_01
978
977
  #
979
978
  # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
980
979
  #
981
- def begin_delete_if_exists_with_http_info(endpoint_name, profile_name, resource_group_name, custom_headers = nil)
982
- begin_delete_if_exists_async(endpoint_name, profile_name, resource_group_name, custom_headers).value!
980
+ def begin_delete_if_exists_with_http_info(endpoint_name, profile_name, resource_group_name, custom_headers:nil)
981
+ begin_delete_if_exists_async(endpoint_name, profile_name, resource_group_name, custom_headers:custom_headers).value!
983
982
  end
984
983
 
985
984
  #
@@ -995,7 +994,7 @@ module Azure::CDN::Mgmt::V2015_06_01
995
994
  #
996
995
  # @return [Concurrent::Promise] Promise object which holds the HTTP response.
997
996
  #
998
- def begin_delete_if_exists_async(endpoint_name, profile_name, resource_group_name, custom_headers = nil)
997
+ def begin_delete_if_exists_async(endpoint_name, profile_name, resource_group_name, custom_headers:nil)
999
998
  fail ArgumentError, 'endpoint_name is nil' if endpoint_name.nil?
1000
999
  fail ArgumentError, 'profile_name is nil' if profile_name.nil?
1001
1000
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
@@ -1004,6 +1003,7 @@ module Azure::CDN::Mgmt::V2015_06_01
1004
1003
 
1005
1004
 
1006
1005
  request_headers = {}
1006
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
1007
1007
 
1008
1008
  # Set Headers
1009
1009
  request_headers['x-ms-client-request-id'] = SecureRandom.uuid
@@ -1051,8 +1051,8 @@ module Azure::CDN::Mgmt::V2015_06_01
1051
1051
  #
1052
1052
  # @return [Endpoint] operation results.
1053
1053
  #
1054
- def begin_start(endpoint_name, profile_name, resource_group_name, custom_headers = nil)
1055
- response = begin_start_async(endpoint_name, profile_name, resource_group_name, custom_headers).value!
1054
+ def begin_start(endpoint_name, profile_name, resource_group_name, custom_headers:nil)
1055
+ response = begin_start_async(endpoint_name, profile_name, resource_group_name, custom_headers:custom_headers).value!
1056
1056
  response.body unless response.nil?
1057
1057
  end
1058
1058
 
@@ -1069,8 +1069,8 @@ module Azure::CDN::Mgmt::V2015_06_01
1069
1069
  #
1070
1070
  # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
1071
1071
  #
1072
- def begin_start_with_http_info(endpoint_name, profile_name, resource_group_name, custom_headers = nil)
1073
- begin_start_async(endpoint_name, profile_name, resource_group_name, custom_headers).value!
1072
+ def begin_start_with_http_info(endpoint_name, profile_name, resource_group_name, custom_headers:nil)
1073
+ begin_start_async(endpoint_name, profile_name, resource_group_name, custom_headers:custom_headers).value!
1074
1074
  end
1075
1075
 
1076
1076
  #
@@ -1086,7 +1086,7 @@ module Azure::CDN::Mgmt::V2015_06_01
1086
1086
  #
1087
1087
  # @return [Concurrent::Promise] Promise object which holds the HTTP response.
1088
1088
  #
1089
- def begin_start_async(endpoint_name, profile_name, resource_group_name, custom_headers = nil)
1089
+ def begin_start_async(endpoint_name, profile_name, resource_group_name, custom_headers:nil)
1090
1090
  fail ArgumentError, 'endpoint_name is nil' if endpoint_name.nil?
1091
1091
  fail ArgumentError, 'profile_name is nil' if profile_name.nil?
1092
1092
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
@@ -1095,6 +1095,7 @@ module Azure::CDN::Mgmt::V2015_06_01
1095
1095
 
1096
1096
 
1097
1097
  request_headers = {}
1098
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
1098
1099
 
1099
1100
  # Set Headers
1100
1101
  request_headers['x-ms-client-request-id'] = SecureRandom.uuid
@@ -1152,8 +1153,8 @@ module Azure::CDN::Mgmt::V2015_06_01
1152
1153
  #
1153
1154
  # @return [Endpoint] operation results.
1154
1155
  #
1155
- def begin_stop(endpoint_name, profile_name, resource_group_name, custom_headers = nil)
1156
- response = begin_stop_async(endpoint_name, profile_name, resource_group_name, custom_headers).value!
1156
+ def begin_stop(endpoint_name, profile_name, resource_group_name, custom_headers:nil)
1157
+ response = begin_stop_async(endpoint_name, profile_name, resource_group_name, custom_headers:custom_headers).value!
1157
1158
  response.body unless response.nil?
1158
1159
  end
1159
1160
 
@@ -1170,8 +1171,8 @@ module Azure::CDN::Mgmt::V2015_06_01
1170
1171
  #
1171
1172
  # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
1172
1173
  #
1173
- def begin_stop_with_http_info(endpoint_name, profile_name, resource_group_name, custom_headers = nil)
1174
- begin_stop_async(endpoint_name, profile_name, resource_group_name, custom_headers).value!
1174
+ def begin_stop_with_http_info(endpoint_name, profile_name, resource_group_name, custom_headers:nil)
1175
+ begin_stop_async(endpoint_name, profile_name, resource_group_name, custom_headers:custom_headers).value!
1175
1176
  end
1176
1177
 
1177
1178
  #
@@ -1187,7 +1188,7 @@ module Azure::CDN::Mgmt::V2015_06_01
1187
1188
  #
1188
1189
  # @return [Concurrent::Promise] Promise object which holds the HTTP response.
1189
1190
  #
1190
- def begin_stop_async(endpoint_name, profile_name, resource_group_name, custom_headers = nil)
1191
+ def begin_stop_async(endpoint_name, profile_name, resource_group_name, custom_headers:nil)
1191
1192
  fail ArgumentError, 'endpoint_name is nil' if endpoint_name.nil?
1192
1193
  fail ArgumentError, 'profile_name is nil' if profile_name.nil?
1193
1194
  fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
@@ -1196,6 +1197,7 @@ module Azure::CDN::Mgmt::V2015_06_01
1196
1197
 
1197
1198
 
1198
1199
  request_headers = {}
1200
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
1199
1201
 
1200
1202
  # Set Headers
1201
1203
  request_headers['x-ms-client-request-id'] = SecureRandom.uuid
@@ -1254,8 +1256,8 @@ module Azure::CDN::Mgmt::V2015_06_01
1254
1256
  # will be added to the HTTP request.
1255
1257
  #
1256
1258
  #
1257
- def begin_purge_content(endpoint_name, content_file_paths, profile_name, resource_group_name, custom_headers = nil)
1258
- response = begin_purge_content_async(endpoint_name, content_file_paths, profile_name, resource_group_name, custom_headers).value!
1259
+ def begin_purge_content(endpoint_name, content_file_paths, profile_name, resource_group_name, custom_headers:nil)
1260
+ response = begin_purge_content_async(endpoint_name, content_file_paths, profile_name, resource_group_name, custom_headers:custom_headers).value!
1259
1261
  nil
1260
1262
  end
1261
1263
 
@@ -1274,8 +1276,8 @@ module Azure::CDN::Mgmt::V2015_06_01
1274
1276
  #
1275
1277
  # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
1276
1278
  #
1277
- def begin_purge_content_with_http_info(endpoint_name, content_file_paths, profile_name, resource_group_name, custom_headers = nil)
1278
- begin_purge_content_async(endpoint_name, content_file_paths, profile_name, resource_group_name, custom_headers).value!
1279
+ def begin_purge_content_with_http_info(endpoint_name, content_file_paths, profile_name, resource_group_name, custom_headers:nil)
1280
+ begin_purge_content_async(endpoint_name, content_file_paths, profile_name, resource_group_name, custom_headers:custom_headers).value!
1279
1281
  end
1280
1282
 
1281
1283
  #
@@ -1293,7 +1295,7 @@ module Azure::CDN::Mgmt::V2015_06_01
1293
1295
  #
1294
1296
  # @return [Concurrent::Promise] Promise object which holds the HTTP response.
1295
1297
  #
1296
- def begin_purge_content_async(endpoint_name, content_file_paths, profile_name, resource_group_name, custom_headers = nil)
1298
+ def begin_purge_content_async(endpoint_name, content_file_paths, profile_name, resource_group_name, custom_headers:nil)
1297
1299
  fail ArgumentError, 'endpoint_name is nil' if endpoint_name.nil?
1298
1300
  fail ArgumentError, 'content_file_paths is nil' if content_file_paths.nil?
1299
1301
  fail ArgumentError, 'profile_name is nil' if profile_name.nil?
@@ -1303,13 +1305,12 @@ module Azure::CDN::Mgmt::V2015_06_01
1303
1305
 
1304
1306
 
1305
1307
  request_headers = {}
1308
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
1306
1309
 
1307
1310
  # Set Headers
1308
1311
  request_headers['x-ms-client-request-id'] = SecureRandom.uuid
1309
1312
  request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
1310
1313
 
1311
- request_headers['Content-Type'] = 'application/json; charset=utf-8'
1312
-
1313
1314
  # Serialize Request
1314
1315
  request_mapper = Azure::CDN::Mgmt::V2015_06_01::Models::PurgeParameters.mapper()
1315
1316
  request_content = @client.serialize(request_mapper, content_file_paths)
@@ -1360,8 +1361,8 @@ module Azure::CDN::Mgmt::V2015_06_01
1360
1361
  # will be added to the HTTP request.
1361
1362
  #
1362
1363
  #
1363
- def begin_load_content(endpoint_name, content_file_paths, profile_name, resource_group_name, custom_headers = nil)
1364
- response = begin_load_content_async(endpoint_name, content_file_paths, profile_name, resource_group_name, custom_headers).value!
1364
+ def begin_load_content(endpoint_name, content_file_paths, profile_name, resource_group_name, custom_headers:nil)
1365
+ response = begin_load_content_async(endpoint_name, content_file_paths, profile_name, resource_group_name, custom_headers:custom_headers).value!
1365
1366
  nil
1366
1367
  end
1367
1368
 
@@ -1380,8 +1381,8 @@ module Azure::CDN::Mgmt::V2015_06_01
1380
1381
  #
1381
1382
  # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
1382
1383
  #
1383
- def begin_load_content_with_http_info(endpoint_name, content_file_paths, profile_name, resource_group_name, custom_headers = nil)
1384
- begin_load_content_async(endpoint_name, content_file_paths, profile_name, resource_group_name, custom_headers).value!
1384
+ def begin_load_content_with_http_info(endpoint_name, content_file_paths, profile_name, resource_group_name, custom_headers:nil)
1385
+ begin_load_content_async(endpoint_name, content_file_paths, profile_name, resource_group_name, custom_headers:custom_headers).value!
1385
1386
  end
1386
1387
 
1387
1388
  #
@@ -1399,7 +1400,7 @@ module Azure::CDN::Mgmt::V2015_06_01
1399
1400
  #
1400
1401
  # @return [Concurrent::Promise] Promise object which holds the HTTP response.
1401
1402
  #
1402
- def begin_load_content_async(endpoint_name, content_file_paths, profile_name, resource_group_name, custom_headers = nil)
1403
+ def begin_load_content_async(endpoint_name, content_file_paths, profile_name, resource_group_name, custom_headers:nil)
1403
1404
  fail ArgumentError, 'endpoint_name is nil' if endpoint_name.nil?
1404
1405
  fail ArgumentError, 'content_file_paths is nil' if content_file_paths.nil?
1405
1406
  fail ArgumentError, 'profile_name is nil' if profile_name.nil?
@@ -1409,13 +1410,12 @@ module Azure::CDN::Mgmt::V2015_06_01
1409
1410
 
1410
1411
 
1411
1412
  request_headers = {}
1413
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
1412
1414
 
1413
1415
  # Set Headers
1414
1416
  request_headers['x-ms-client-request-id'] = SecureRandom.uuid
1415
1417
  request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
1416
1418
 
1417
- request_headers['Content-Type'] = 'application/json; charset=utf-8'
1418
-
1419
1419
  # Serialize Request
1420
1420
  request_mapper = Azure::CDN::Mgmt::V2015_06_01::Models::LoadParameters.mapper()
1421
1421
  request_content = @client.serialize(request_mapper, content_file_paths)