azure_mgmt_web 0.2.1 → 0.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +13 -5
- data/azure_mgmt_web.gemspec +2 -2
- data/lib/azure_mgmt_web.rb +27 -4
- data/lib/azure_mgmt_web/certificate_orders.rb +1596 -0
- data/lib/azure_mgmt_web/certificates.rb +383 -55
- data/lib/azure_mgmt_web/classic_mobile_services.rb +107 -16
- data/lib/azure_mgmt_web/domains.rb +227 -33
- data/lib/azure_mgmt_web/global.rb +446 -78
- data/lib/azure_mgmt_web/global_certificate_order.rb +206 -0
- data/lib/azure_mgmt_web/global_domain_registration.rb +174 -29
- data/lib/azure_mgmt_web/global_resource_groups.rb +33 -7
- data/lib/azure_mgmt_web/hosting_environments.rb +1500 -213
- data/lib/azure_mgmt_web/managed_hosting_environments.rb +346 -55
- data/lib/azure_mgmt_web/models/access_control_entry_action.rb +1 -1
- data/lib/azure_mgmt_web/models/address.rb +1 -1
- data/lib/azure_mgmt_web/models/address_response.rb +1 -1
- data/lib/azure_mgmt_web/models/api_definition_info.rb +1 -1
- data/lib/azure_mgmt_web/models/application_logs_config.rb +1 -1
- data/lib/azure_mgmt_web/models/arm_plan.rb +1 -1
- data/lib/azure_mgmt_web/models/auto_heal_action_type.rb +1 -1
- data/lib/azure_mgmt_web/models/auto_heal_actions.rb +1 -1
- data/lib/azure_mgmt_web/models/auto_heal_custom_action.rb +1 -1
- data/lib/azure_mgmt_web/models/auto_heal_rules.rb +1 -1
- data/lib/azure_mgmt_web/models/auto_heal_triggers.rb +1 -1
- data/lib/azure_mgmt_web/models/azure_blob_storage_application_logs_config.rb +1 -1
- data/lib/azure_mgmt_web/models/azure_blob_storage_http_logs_config.rb +1 -1
- data/lib/azure_mgmt_web/models/azure_resource_type.rb +1 -1
- data/lib/azure_mgmt_web/models/azure_table_storage_application_logs_config.rb +1 -1
- data/lib/azure_mgmt_web/models/backup_item.rb +7 -1
- data/lib/azure_mgmt_web/models/backup_item_collection.rb +1 -1
- data/lib/azure_mgmt_web/models/backup_item_properties.rb +1 -1
- data/lib/azure_mgmt_web/models/backup_item_status.rb +1 -1
- data/lib/azure_mgmt_web/models/backup_request.rb +7 -1
- data/lib/azure_mgmt_web/models/backup_request_properties.rb +1 -1
- data/lib/azure_mgmt_web/models/backup_restore_operation_type.rb +1 -1
- data/lib/azure_mgmt_web/models/backup_schedule.rb +1 -1
- data/lib/azure_mgmt_web/models/built_in_authentication_provider.rb +1 -1
- data/lib/azure_mgmt_web/models/certificate.rb +7 -1
- data/lib/azure_mgmt_web/models/certificate_collection.rb +1 -1
- data/lib/azure_mgmt_web/models/certificate_details.rb +98 -0
- data/lib/azure_mgmt_web/models/certificate_details_properties.rb +133 -0
- data/lib/azure_mgmt_web/models/certificate_email.rb +98 -0
- data/lib/azure_mgmt_web/models/certificate_email_properties.rb +67 -0
- data/lib/azure_mgmt_web/models/certificate_order.rb +98 -0
- data/lib/azure_mgmt_web/models/certificate_order_action.rb +98 -0
- data/lib/azure_mgmt_web/models/certificate_order_action_properties.rb +74 -0
- data/lib/azure_mgmt_web/models/certificate_order_action_type.rb +23 -0
- data/lib/azure_mgmt_web/models/certificate_order_certificate.rb +99 -0
- data/lib/azure_mgmt_web/models/certificate_order_certificate_collection.rb +85 -0
- data/lib/azure_mgmt_web/models/certificate_order_certificate_properties.rb +82 -0
- data/lib/azure_mgmt_web/models/certificate_order_collection.rb +85 -0
- data/lib/azure_mgmt_web/models/certificate_order_properties.rb +254 -0
- data/lib/azure_mgmt_web/models/certificate_order_status.rb +24 -0
- data/lib/azure_mgmt_web/models/certificate_product_type.rb +16 -0
- data/lib/azure_mgmt_web/models/certificate_properties.rb +1 -1
- data/lib/azure_mgmt_web/models/channels.rb +1 -1
- data/lib/azure_mgmt_web/models/classic_mobile_service.rb +7 -1
- data/lib/azure_mgmt_web/models/classic_mobile_service_collection.rb +1 -1
- data/lib/azure_mgmt_web/models/classic_mobile_service_properties.rb +1 -1
- data/lib/azure_mgmt_web/models/clone_ability_result.rb +1 -1
- data/lib/azure_mgmt_web/models/cloning_info.rb +1 -1
- data/lib/azure_mgmt_web/models/compute_mode_options.rb +2 -1
- data/lib/azure_mgmt_web/models/conn_string_info.rb +1 -1
- data/lib/azure_mgmt_web/models/conn_string_value_type_pair.rb +1 -1
- data/lib/azure_mgmt_web/models/connection_string_dictionary.rb +7 -1
- data/lib/azure_mgmt_web/models/contact.rb +1 -1
- data/lib/azure_mgmt_web/models/cors_settings.rb +1 -1
- data/lib/azure_mgmt_web/models/csm_move_resource_envelope.rb +1 -1
- data/lib/azure_mgmt_web/models/csm_publishing_profile_options.rb +1 -1
- data/lib/azure_mgmt_web/models/csm_site_recovery_entity.rb +11 -1
- data/lib/azure_mgmt_web/models/csm_slot_entity.rb +1 -1
- data/lib/azure_mgmt_web/models/csm_usage_quota.rb +1 -1
- data/lib/azure_mgmt_web/models/csm_usage_quota_collection.rb +1 -1
- data/lib/azure_mgmt_web/models/csr.rb +7 -1
- data/lib/azure_mgmt_web/models/csr_properties.rb +1 -1
- data/lib/azure_mgmt_web/models/custom_host_name_dns_record_type.rb +1 -1
- data/lib/azure_mgmt_web/models/database_backup_setting.rb +1 -1
- data/lib/azure_mgmt_web/models/database_server_type.rb +1 -1
- data/lib/azure_mgmt_web/models/deleted_site.rb +7 -1
- data/lib/azure_mgmt_web/models/deleted_site_collection.rb +1 -1
- data/lib/azure_mgmt_web/models/deleted_site_properties.rb +40 -1
- data/lib/azure_mgmt_web/models/deployment.rb +7 -1
- data/lib/azure_mgmt_web/models/deployment_collection.rb +1 -1
- data/lib/azure_mgmt_web/models/deployment_properties.rb +1 -1
- data/lib/azure_mgmt_web/models/domain.rb +7 -1
- data/lib/azure_mgmt_web/models/domain_availablility_check_result.rb +1 -1
- data/lib/azure_mgmt_web/models/domain_collection.rb +1 -1
- data/lib/azure_mgmt_web/models/domain_control_center_sso_request.rb +1 -1
- data/lib/azure_mgmt_web/models/domain_properties.rb +15 -5
- data/lib/azure_mgmt_web/models/domain_purchase_consent.rb +1 -1
- data/lib/azure_mgmt_web/models/domain_recommendation_search_parameters.rb +1 -1
- data/lib/azure_mgmt_web/models/domain_registration_input.rb +7 -1
- data/lib/azure_mgmt_web/models/domain_registration_input_properties.rb +15 -5
- data/lib/azure_mgmt_web/models/domain_status.rb +1 -1
- data/lib/azure_mgmt_web/models/domain_type.rb +1 -1
- data/lib/azure_mgmt_web/models/enabled_config.rb +1 -1
- data/lib/azure_mgmt_web/models/experiments.rb +1 -1
- data/lib/azure_mgmt_web/models/file_system_application_logs_config.rb +1 -1
- data/lib/azure_mgmt_web/models/file_system_http_logs_config.rb +1 -1
- data/lib/azure_mgmt_web/models/frequency_unit.rb +1 -1
- data/lib/azure_mgmt_web/models/geo_region.rb +7 -1
- data/lib/azure_mgmt_web/models/geo_region_collection.rb +1 -1
- data/lib/azure_mgmt_web/models/geo_region_properties.rb +1 -1
- data/lib/azure_mgmt_web/models/handler_mapping.rb +1 -1
- data/lib/azure_mgmt_web/models/host_name.rb +1 -1
- data/lib/azure_mgmt_web/models/host_name_binding.rb +7 -1
- data/lib/azure_mgmt_web/models/host_name_binding_collection.rb +1 -1
- data/lib/azure_mgmt_web/models/host_name_binding_properties.rb +1 -1
- data/lib/azure_mgmt_web/models/host_name_ssl_state.rb +1 -1
- data/lib/azure_mgmt_web/models/host_name_type.rb +1 -1
- data/lib/azure_mgmt_web/models/hosting_environment.rb +7 -1
- data/lib/azure_mgmt_web/models/hosting_environment_collection.rb +1 -1
- data/lib/azure_mgmt_web/models/hosting_environment_diagnostics.rb +1 -1
- data/lib/azure_mgmt_web/models/hosting_environment_profile.rb +1 -1
- data/lib/azure_mgmt_web/models/hosting_environment_properties.rb +63 -17
- data/lib/azure_mgmt_web/models/hosting_environment_status.rb +1 -1
- data/lib/azure_mgmt_web/models/http_logs_config.rb +1 -1
- data/lib/azure_mgmt_web/models/internal_load_balancing_mode.rb +1 -1
- data/lib/azure_mgmt_web/models/ip_security_restriction.rb +66 -0
- data/lib/azure_mgmt_web/models/key_value_pair_string_string.rb +1 -1
- data/lib/azure_mgmt_web/models/key_vault_secret_status.rb +24 -0
- data/lib/azure_mgmt_web/models/localizable_string.rb +1 -1
- data/lib/azure_mgmt_web/models/log_level.rb +1 -1
- data/lib/azure_mgmt_web/models/managed_hosting_environment.rb +7 -1
- data/lib/azure_mgmt_web/models/managed_hosting_environment_collection.rb +1 -1
- data/lib/azure_mgmt_web/models/managed_hosting_environment_properties.rb +1 -1
- data/lib/azure_mgmt_web/models/managed_hosting_environment_status.rb +1 -1
- data/lib/azure_mgmt_web/models/managed_pipeline_mode.rb +1 -1
- data/lib/azure_mgmt_web/models/metric_availabilily.rb +1 -1
- data/lib/azure_mgmt_web/models/metric_definition.rb +7 -1
- data/lib/azure_mgmt_web/models/metric_definition_collection.rb +1 -1
- data/lib/azure_mgmt_web/models/metric_definition_properties.rb +1 -1
- data/lib/azure_mgmt_web/models/name_identifier.rb +1 -1
- data/lib/azure_mgmt_web/models/name_identifier_collection.rb +1 -1
- data/lib/azure_mgmt_web/models/name_value_pair.rb +1 -1
- data/lib/azure_mgmt_web/models/network_access_control_entry.rb +1 -1
- data/lib/azure_mgmt_web/models/network_features.rb +7 -1
- data/lib/azure_mgmt_web/models/network_features_properties.rb +1 -1
- data/lib/azure_mgmt_web/models/notification_level.rb +1 -1
- data/lib/azure_mgmt_web/models/premier_add_on_request.rb +1 -1
- data/lib/azure_mgmt_web/models/provisioning_state.rb +1 -1
- data/lib/azure_mgmt_web/models/ramp_up_rule.rb +1 -1
- data/lib/azure_mgmt_web/models/recommendation.rb +36 -1
- data/lib/azure_mgmt_web/models/recommendation_rule.rb +12 -1
- data/lib/azure_mgmt_web/models/reissue_certificate_order_request.rb +98 -0
- data/lib/azure_mgmt_web/models/reissue_certificate_order_request_properties.rb +68 -0
- data/lib/azure_mgmt_web/models/relay_service_connection_entity.rb +7 -1
- data/lib/azure_mgmt_web/models/relay_service_connection_entity_properties.rb +1 -1
- data/lib/azure_mgmt_web/models/renew_certificate_order_request.rb +98 -0
- data/lib/azure_mgmt_web/models/renew_certificate_order_request_properties.rb +57 -0
- data/lib/azure_mgmt_web/models/requests_based_trigger.rb +1 -1
- data/lib/azure_mgmt_web/models/resource_metric.rb +1 -1
- data/lib/azure_mgmt_web/models/resource_metric_collection.rb +1 -1
- data/lib/azure_mgmt_web/models/resource_metric_name.rb +1 -1
- data/lib/azure_mgmt_web/models/resource_metric_value.rb +1 -1
- data/lib/azure_mgmt_web/models/resource_name_availability.rb +1 -1
- data/lib/azure_mgmt_web/models/resource_name_availability_request.rb +1 -1
- data/lib/azure_mgmt_web/models/restore_request.rb +7 -1
- data/lib/azure_mgmt_web/models/restore_request_properties.rb +1 -1
- data/lib/azure_mgmt_web/models/restore_response.rb +7 -1
- data/lib/azure_mgmt_web/models/restore_response_properties.rb +1 -1
- data/lib/azure_mgmt_web/models/routing_rule.rb +1 -1
- data/lib/azure_mgmt_web/models/server_farm_collection.rb +1 -1
- data/lib/azure_mgmt_web/models/server_farm_with_rich_sku.rb +7 -1
- data/lib/azure_mgmt_web/models/server_farm_with_rich_sku_properties.rb +1 -1
- data/lib/azure_mgmt_web/models/site.rb +7 -1
- data/lib/azure_mgmt_web/models/site_auth_settings.rb +13 -1
- data/lib/azure_mgmt_web/models/site_availability_state.rb +1 -1
- data/lib/azure_mgmt_web/models/site_cloneability.rb +1 -1
- data/lib/azure_mgmt_web/models/site_cloneability_criterion.rb +1 -1
- data/lib/azure_mgmt_web/models/site_collection.rb +1 -1
- data/lib/azure_mgmt_web/models/site_config.rb +7 -1
- data/lib/azure_mgmt_web/models/site_config_properties.rb +51 -21
- data/lib/azure_mgmt_web/models/site_instance.rb +7 -1
- data/lib/azure_mgmt_web/models/site_instance_collection.rb +1 -1
- data/lib/azure_mgmt_web/models/site_instance_properties.rb +1 -1
- data/lib/azure_mgmt_web/models/site_limits.rb +1 -1
- data/lib/azure_mgmt_web/models/site_load_balancing.rb +1 -1
- data/lib/azure_mgmt_web/models/site_logs_config.rb +7 -1
- data/lib/azure_mgmt_web/models/site_logs_config_properties.rb +1 -1
- data/lib/azure_mgmt_web/models/site_properties.rb +40 -1
- data/lib/azure_mgmt_web/models/site_source_control.rb +7 -1
- data/lib/azure_mgmt_web/models/site_source_control_properties.rb +1 -1
- data/lib/azure_mgmt_web/models/sku_capacity.rb +1 -1
- data/lib/azure_mgmt_web/models/sku_description.rb +1 -1
- data/lib/azure_mgmt_web/models/sku_info.rb +1 -1
- data/lib/azure_mgmt_web/models/sku_info_collection.rb +1 -1
- data/lib/azure_mgmt_web/models/slot_config_names.rb +1 -1
- data/lib/azure_mgmt_web/models/slot_config_names_resource.rb +7 -1
- data/lib/azure_mgmt_web/models/slot_config_names_resource_properties.rb +1 -1
- data/lib/azure_mgmt_web/models/slot_difference.rb +7 -1
- data/lib/azure_mgmt_web/models/slot_difference_collection.rb +1 -1
- data/lib/azure_mgmt_web/models/slot_difference_properties.rb +1 -1
- data/lib/azure_mgmt_web/models/slow_requests_based_trigger.rb +1 -1
- data/lib/azure_mgmt_web/models/source_control.rb +7 -1
- data/lib/azure_mgmt_web/models/source_control_collection.rb +1 -1
- data/lib/azure_mgmt_web/models/source_control_properties.rb +1 -1
- data/lib/azure_mgmt_web/models/ssl_state.rb +1 -1
- data/lib/azure_mgmt_web/models/stamp_capacity.rb +2 -2
- data/lib/azure_mgmt_web/models/stamp_capacity_collection.rb +1 -1
- data/lib/azure_mgmt_web/models/status_codes_based_trigger.rb +1 -1
- data/lib/azure_mgmt_web/models/status_options.rb +1 -1
- data/lib/azure_mgmt_web/models/string_dictionary.rb +7 -1
- data/lib/azure_mgmt_web/models/tld_legal_agreement.rb +1 -1
- data/lib/azure_mgmt_web/models/tld_legal_agreement_collection.rb +1 -1
- data/lib/azure_mgmt_web/models/top_level_domain.rb +7 -1
- data/lib/azure_mgmt_web/models/top_level_domain_agreement_option.rb +1 -1
- data/lib/azure_mgmt_web/models/top_level_domain_collection.rb +1 -1
- data/lib/azure_mgmt_web/models/top_level_domain_properties.rb +1 -1
- data/lib/azure_mgmt_web/models/unauthenticated_client_action.rb +1 -1
- data/lib/azure_mgmt_web/models/usage.rb +7 -1
- data/lib/azure_mgmt_web/models/usage_collection.rb +1 -1
- data/lib/azure_mgmt_web/models/usage_properties.rb +2 -2
- data/lib/azure_mgmt_web/models/usage_state.rb +1 -1
- data/lib/azure_mgmt_web/models/user.rb +7 -1
- data/lib/azure_mgmt_web/models/user_properties.rb +11 -1
- data/lib/azure_mgmt_web/models/virtual_application.rb +1 -1
- data/lib/azure_mgmt_web/models/virtual_directory.rb +1 -1
- data/lib/azure_mgmt_web/models/virtual_ipmapping.rb +1 -1
- data/lib/azure_mgmt_web/models/virtual_network_profile.rb +1 -1
- data/lib/azure_mgmt_web/models/vnet_gateway.rb +7 -1
- data/lib/azure_mgmt_web/models/vnet_gateway_properties.rb +1 -1
- data/lib/azure_mgmt_web/models/vnet_info.rb +7 -1
- data/lib/azure_mgmt_web/models/vnet_info_properties.rb +20 -1
- data/lib/azure_mgmt_web/models/vnet_route.rb +7 -1
- data/lib/azure_mgmt_web/models/vnet_route_properties.rb +1 -1
- data/lib/azure_mgmt_web/models/worker_pool.rb +7 -1
- data/lib/azure_mgmt_web/models/worker_pool_collection.rb +1 -1
- data/lib/azure_mgmt_web/models/worker_pool_properties.rb +2 -2
- data/lib/azure_mgmt_web/models/worker_size_options.rb +1 -1
- data/lib/azure_mgmt_web/module_definition.rb +1 -1
- data/lib/azure_mgmt_web/provider.rb +171 -28
- data/lib/azure_mgmt_web/recommendations.rb +183 -23
- data/lib/azure_mgmt_web/server_farms.rb +817 -109
- data/lib/azure_mgmt_web/sites.rb +7132 -1264
- data/lib/azure_mgmt_web/top_level_domains.rb +106 -17
- data/lib/azure_mgmt_web/usage_operations.rb +41 -6
- data/lib/azure_mgmt_web/version.rb +2 -2
- data/lib/azure_mgmt_web/web_site_management_client.rb +9 -1
- metadata +54 -24
@@ -1,5 +1,5 @@
|
|
1
1
|
# encoding: utf-8
|
2
|
-
# Code generated by Microsoft (R) AutoRest Code Generator 0.
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator 0.17.0.0
|
3
3
|
# Changes may cause incorrect behavior and will be lost if the code is
|
4
4
|
# regenerated.
|
5
5
|
|
@@ -45,6 +45,10 @@ module Azure::ARM::Web
|
|
45
45
|
# apply. Possible values include: 'Notification', 'Api', 'Email', 'All'
|
46
46
|
attr_accessor :channels
|
47
47
|
|
48
|
+
# @return [Array<String>] The list of category tags that this
|
49
|
+
# recommendation belongs to.
|
50
|
+
attr_accessor :tags
|
51
|
+
|
48
52
|
# @return [String] Name of action recommended by this object.
|
49
53
|
attr_accessor :action_name
|
50
54
|
|
@@ -52,6 +56,14 @@ module Azure::ARM::Web
|
|
52
56
|
# or disabled.
|
53
57
|
attr_accessor :enabled
|
54
58
|
|
59
|
+
# @return [DateTime] The beginning time of a range that the
|
60
|
+
# recommendation refers to.
|
61
|
+
attr_accessor :start_time
|
62
|
+
|
63
|
+
# @return [DateTime] The end time of a range that the recommendation
|
64
|
+
# refers to.
|
65
|
+
attr_accessor :end_time
|
66
|
+
|
55
67
|
# @return [DateTime] When to notify this recommendation next. Null means
|
56
68
|
# that this will never be notified anymore.
|
57
69
|
attr_accessor :next_notification_time
|
@@ -72,6 +84,7 @@ module Azure::ARM::Web
|
|
72
84
|
def validate
|
73
85
|
fail MsRest::ValidationError, 'property level is nil' if @level.nil?
|
74
86
|
fail MsRest::ValidationError, 'property channels is nil' if @channels.nil?
|
87
|
+
@tags.each{ |e| e.validate if e.respond_to?(:validate) } unless @tags.nil?
|
75
88
|
end
|
76
89
|
|
77
90
|
#
|
@@ -111,12 +124,23 @@ module Azure::ARM::Web
|
|
111
124
|
serialized_property = object.message
|
112
125
|
output_object['message'] = serialized_property unless serialized_property.nil?
|
113
126
|
|
127
|
+
serialized_property = object.tags
|
128
|
+
output_object['tags'] = serialized_property unless serialized_property.nil?
|
129
|
+
|
114
130
|
serialized_property = object.action_name
|
115
131
|
output_object['actionName'] = serialized_property unless serialized_property.nil?
|
116
132
|
|
117
133
|
serialized_property = object.enabled
|
118
134
|
output_object['enabled'] = serialized_property unless serialized_property.nil?
|
119
135
|
|
136
|
+
serialized_property = object.start_time
|
137
|
+
serialized_property = serialized_property.new_offset(0).strftime('%FT%TZ')
|
138
|
+
output_object['startTime'] = serialized_property unless serialized_property.nil?
|
139
|
+
|
140
|
+
serialized_property = object.end_time
|
141
|
+
serialized_property = serialized_property.new_offset(0).strftime('%FT%TZ')
|
142
|
+
output_object['endTime'] = serialized_property unless serialized_property.nil?
|
143
|
+
|
120
144
|
serialized_property = object.next_notification_time
|
121
145
|
serialized_property = serialized_property.new_offset(0).strftime('%FT%TZ')
|
122
146
|
output_object['nextNotificationTime'] = serialized_property unless serialized_property.nil?
|
@@ -180,6 +204,9 @@ module Azure::ARM::Web
|
|
180
204
|
deserialized_property = object['message']
|
181
205
|
output_object.message = deserialized_property
|
182
206
|
|
207
|
+
deserialized_property = object['tags']
|
208
|
+
output_object.tags = deserialized_property
|
209
|
+
|
183
210
|
deserialized_property = object['actionName']
|
184
211
|
output_object.action_name = deserialized_property
|
185
212
|
|
@@ -187,6 +214,14 @@ module Azure::ARM::Web
|
|
187
214
|
deserialized_property = Integer(deserialized_property) unless deserialized_property.to_s.empty?
|
188
215
|
output_object.enabled = deserialized_property
|
189
216
|
|
217
|
+
deserialized_property = object['startTime']
|
218
|
+
deserialized_property = DateTime.parse(deserialized_property) unless deserialized_property.to_s.empty?
|
219
|
+
output_object.start_time = deserialized_property
|
220
|
+
|
221
|
+
deserialized_property = object['endTime']
|
222
|
+
deserialized_property = DateTime.parse(deserialized_property) unless deserialized_property.to_s.empty?
|
223
|
+
output_object.end_time = deserialized_property
|
224
|
+
|
190
225
|
deserialized_property = object['nextNotificationTime']
|
191
226
|
deserialized_property = DateTime.parse(deserialized_property) unless deserialized_property.to_s.empty?
|
192
227
|
output_object.next_notification_time = deserialized_property
|
@@ -1,5 +1,5 @@
|
|
1
1
|
# encoding: utf-8
|
2
|
-
# Code generated by Microsoft (R) AutoRest Code Generator 0.
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator 0.17.0.0
|
3
3
|
# Changes may cause incorrect behavior and will be lost if the code is
|
4
4
|
# regenerated.
|
5
5
|
|
@@ -47,12 +47,17 @@ module Azure::ARM::Web
|
|
47
47
|
# Possible values include: 'Notification', 'Api', 'Email', 'All'
|
48
48
|
attr_accessor :channels
|
49
49
|
|
50
|
+
# @return [Array<String>] An array of category tags that the rule
|
51
|
+
# contains.
|
52
|
+
attr_accessor :tags
|
53
|
+
|
50
54
|
#
|
51
55
|
# Validate the object. Throws ValidationError if validation fails.
|
52
56
|
#
|
53
57
|
def validate
|
54
58
|
fail MsRest::ValidationError, 'property level is nil' if @level.nil?
|
55
59
|
fail MsRest::ValidationError, 'property channels is nil' if @channels.nil?
|
60
|
+
@tags.each{ |e| e.validate if e.respond_to?(:validate) } unless @tags.nil?
|
56
61
|
end
|
57
62
|
|
58
63
|
#
|
@@ -91,6 +96,9 @@ module Azure::ARM::Web
|
|
91
96
|
serialized_property = object.enabled
|
92
97
|
output_object['enabled'] = serialized_property unless serialized_property.nil?
|
93
98
|
|
99
|
+
serialized_property = object.tags
|
100
|
+
output_object['tags'] = serialized_property unless serialized_property.nil?
|
101
|
+
|
94
102
|
output_object
|
95
103
|
end
|
96
104
|
|
@@ -139,6 +147,9 @@ module Azure::ARM::Web
|
|
139
147
|
deserialized_property = Integer(deserialized_property) unless deserialized_property.to_s.empty?
|
140
148
|
output_object.enabled = deserialized_property
|
141
149
|
|
150
|
+
deserialized_property = object['tags']
|
151
|
+
output_object.tags = deserialized_property
|
152
|
+
|
142
153
|
output_object
|
143
154
|
end
|
144
155
|
end
|
@@ -0,0 +1,98 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator 0.17.0.0
|
3
|
+
# Changes may cause incorrect behavior and will be lost if the code is
|
4
|
+
# regenerated.
|
5
|
+
|
6
|
+
module Azure::ARM::Web
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Class representing certificate reissue request
|
10
|
+
#
|
11
|
+
class ReissueCertificateOrderRequest < MsRestAzure::Resource
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [ReissueCertificateOrderRequestProperties]
|
16
|
+
attr_accessor :properties
|
17
|
+
|
18
|
+
#
|
19
|
+
# Validate the object. Throws ValidationError if validation fails.
|
20
|
+
#
|
21
|
+
def validate
|
22
|
+
@properties.validate unless @properties.nil?
|
23
|
+
end
|
24
|
+
|
25
|
+
#
|
26
|
+
# Serializes given Model object into Ruby Hash.
|
27
|
+
# @param object Model object to serialize.
|
28
|
+
# @return [Hash] Serialized object in form of Ruby Hash.
|
29
|
+
#
|
30
|
+
def self.serialize_object(object)
|
31
|
+
object.validate
|
32
|
+
output_object = {}
|
33
|
+
|
34
|
+
serialized_property = object.location
|
35
|
+
output_object['location'] = serialized_property unless serialized_property.nil?
|
36
|
+
|
37
|
+
serialized_property = object.id
|
38
|
+
output_object['id'] = serialized_property unless serialized_property.nil?
|
39
|
+
|
40
|
+
serialized_property = object.name
|
41
|
+
output_object['name'] = serialized_property unless serialized_property.nil?
|
42
|
+
|
43
|
+
serialized_property = object.kind
|
44
|
+
output_object['kind'] = serialized_property unless serialized_property.nil?
|
45
|
+
|
46
|
+
serialized_property = object.type
|
47
|
+
output_object['type'] = serialized_property unless serialized_property.nil?
|
48
|
+
|
49
|
+
serialized_property = object.tags
|
50
|
+
output_object['tags'] = serialized_property unless serialized_property.nil?
|
51
|
+
|
52
|
+
serialized_property = object.properties
|
53
|
+
unless serialized_property.nil?
|
54
|
+
serialized_property = ReissueCertificateOrderRequestProperties.serialize_object(serialized_property)
|
55
|
+
end
|
56
|
+
output_object['properties'] = serialized_property unless serialized_property.nil?
|
57
|
+
|
58
|
+
output_object
|
59
|
+
end
|
60
|
+
|
61
|
+
#
|
62
|
+
# Deserializes given Ruby Hash into Model object.
|
63
|
+
# @param object [Hash] Ruby Hash object to deserialize.
|
64
|
+
# @return [ReissueCertificateOrderRequest] Deserialized object.
|
65
|
+
#
|
66
|
+
def self.deserialize_object(object)
|
67
|
+
return if object.nil?
|
68
|
+
output_object = ReissueCertificateOrderRequest.new
|
69
|
+
|
70
|
+
deserialized_property = object['location']
|
71
|
+
output_object.location = deserialized_property
|
72
|
+
|
73
|
+
deserialized_property = object['id']
|
74
|
+
output_object.id = deserialized_property
|
75
|
+
|
76
|
+
deserialized_property = object['name']
|
77
|
+
output_object.name = deserialized_property
|
78
|
+
|
79
|
+
deserialized_property = object['kind']
|
80
|
+
output_object.kind = deserialized_property
|
81
|
+
|
82
|
+
deserialized_property = object['type']
|
83
|
+
output_object.type = deserialized_property
|
84
|
+
|
85
|
+
deserialized_property = object['tags']
|
86
|
+
output_object.tags = deserialized_property
|
87
|
+
|
88
|
+
deserialized_property = object['properties']
|
89
|
+
unless deserialized_property.nil?
|
90
|
+
deserialized_property = ReissueCertificateOrderRequestProperties.deserialize_object(deserialized_property)
|
91
|
+
end
|
92
|
+
output_object.properties = deserialized_property
|
93
|
+
|
94
|
+
output_object
|
95
|
+
end
|
96
|
+
end
|
97
|
+
end
|
98
|
+
end
|
@@ -0,0 +1,68 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator 0.17.0.0
|
3
|
+
# Changes may cause incorrect behavior and will be lost if the code is
|
4
|
+
# regenerated.
|
5
|
+
|
6
|
+
module Azure::ARM::Web
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Model object.
|
10
|
+
#
|
11
|
+
class ReissueCertificateOrderRequestProperties
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [Integer] Certificate Key Size
|
16
|
+
attr_accessor :key_size
|
17
|
+
|
18
|
+
# @return [Integer] Delay in hours to revoke existing certificate after
|
19
|
+
# the new certificate is issued
|
20
|
+
attr_accessor :delay_existing_revoke_in_hours
|
21
|
+
|
22
|
+
#
|
23
|
+
# Validate the object. Throws ValidationError if validation fails.
|
24
|
+
#
|
25
|
+
def validate
|
26
|
+
# Nothing to validate
|
27
|
+
end
|
28
|
+
|
29
|
+
#
|
30
|
+
# Serializes given Model object into Ruby Hash.
|
31
|
+
# @param object Model object to serialize.
|
32
|
+
# @return [Hash] Serialized object in form of Ruby Hash.
|
33
|
+
#
|
34
|
+
def self.serialize_object(object)
|
35
|
+
object.validate
|
36
|
+
output_object = {}
|
37
|
+
|
38
|
+
serialized_property = object.key_size
|
39
|
+
output_object['keySize'] = serialized_property unless serialized_property.nil?
|
40
|
+
|
41
|
+
serialized_property = object.delay_existing_revoke_in_hours
|
42
|
+
output_object['delayExistingRevokeInHours'] = serialized_property unless serialized_property.nil?
|
43
|
+
|
44
|
+
output_object
|
45
|
+
end
|
46
|
+
|
47
|
+
#
|
48
|
+
# Deserializes given Ruby Hash into Model object.
|
49
|
+
# @param object [Hash] Ruby Hash object to deserialize.
|
50
|
+
# @return [ReissueCertificateOrderRequestProperties] Deserialized object.
|
51
|
+
#
|
52
|
+
def self.deserialize_object(object)
|
53
|
+
return if object.nil?
|
54
|
+
output_object = ReissueCertificateOrderRequestProperties.new
|
55
|
+
|
56
|
+
deserialized_property = object['keySize']
|
57
|
+
deserialized_property = Integer(deserialized_property) unless deserialized_property.to_s.empty?
|
58
|
+
output_object.key_size = deserialized_property
|
59
|
+
|
60
|
+
deserialized_property = object['delayExistingRevokeInHours']
|
61
|
+
deserialized_property = Integer(deserialized_property) unless deserialized_property.to_s.empty?
|
62
|
+
output_object.delay_existing_revoke_in_hours = deserialized_property
|
63
|
+
|
64
|
+
output_object
|
65
|
+
end
|
66
|
+
end
|
67
|
+
end
|
68
|
+
end
|
@@ -1,5 +1,5 @@
|
|
1
1
|
# encoding: utf-8
|
2
|
-
# Code generated by Microsoft (R) AutoRest Code Generator 0.
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator 0.17.0.0
|
3
3
|
# Changes may cause incorrect behavior and will be lost if the code is
|
4
4
|
# regenerated.
|
5
5
|
|
@@ -40,6 +40,9 @@ module Azure::ARM::Web
|
|
40
40
|
serialized_property = object.name
|
41
41
|
output_object['name'] = serialized_property unless serialized_property.nil?
|
42
42
|
|
43
|
+
serialized_property = object.kind
|
44
|
+
output_object['kind'] = serialized_property unless serialized_property.nil?
|
45
|
+
|
43
46
|
serialized_property = object.type
|
44
47
|
output_object['type'] = serialized_property unless serialized_property.nil?
|
45
48
|
|
@@ -73,6 +76,9 @@ module Azure::ARM::Web
|
|
73
76
|
deserialized_property = object['name']
|
74
77
|
output_object.name = deserialized_property
|
75
78
|
|
79
|
+
deserialized_property = object['kind']
|
80
|
+
output_object.kind = deserialized_property
|
81
|
+
|
76
82
|
deserialized_property = object['type']
|
77
83
|
output_object.type = deserialized_property
|
78
84
|
|
@@ -0,0 +1,98 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator 0.17.0.0
|
3
|
+
# Changes may cause incorrect behavior and will be lost if the code is
|
4
|
+
# regenerated.
|
5
|
+
|
6
|
+
module Azure::ARM::Web
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Class representing certificate renew request
|
10
|
+
#
|
11
|
+
class RenewCertificateOrderRequest < MsRestAzure::Resource
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [RenewCertificateOrderRequestProperties]
|
16
|
+
attr_accessor :properties
|
17
|
+
|
18
|
+
#
|
19
|
+
# Validate the object. Throws ValidationError if validation fails.
|
20
|
+
#
|
21
|
+
def validate
|
22
|
+
@properties.validate unless @properties.nil?
|
23
|
+
end
|
24
|
+
|
25
|
+
#
|
26
|
+
# Serializes given Model object into Ruby Hash.
|
27
|
+
# @param object Model object to serialize.
|
28
|
+
# @return [Hash] Serialized object in form of Ruby Hash.
|
29
|
+
#
|
30
|
+
def self.serialize_object(object)
|
31
|
+
object.validate
|
32
|
+
output_object = {}
|
33
|
+
|
34
|
+
serialized_property = object.location
|
35
|
+
output_object['location'] = serialized_property unless serialized_property.nil?
|
36
|
+
|
37
|
+
serialized_property = object.id
|
38
|
+
output_object['id'] = serialized_property unless serialized_property.nil?
|
39
|
+
|
40
|
+
serialized_property = object.name
|
41
|
+
output_object['name'] = serialized_property unless serialized_property.nil?
|
42
|
+
|
43
|
+
serialized_property = object.kind
|
44
|
+
output_object['kind'] = serialized_property unless serialized_property.nil?
|
45
|
+
|
46
|
+
serialized_property = object.type
|
47
|
+
output_object['type'] = serialized_property unless serialized_property.nil?
|
48
|
+
|
49
|
+
serialized_property = object.tags
|
50
|
+
output_object['tags'] = serialized_property unless serialized_property.nil?
|
51
|
+
|
52
|
+
serialized_property = object.properties
|
53
|
+
unless serialized_property.nil?
|
54
|
+
serialized_property = RenewCertificateOrderRequestProperties.serialize_object(serialized_property)
|
55
|
+
end
|
56
|
+
output_object['properties'] = serialized_property unless serialized_property.nil?
|
57
|
+
|
58
|
+
output_object
|
59
|
+
end
|
60
|
+
|
61
|
+
#
|
62
|
+
# Deserializes given Ruby Hash into Model object.
|
63
|
+
# @param object [Hash] Ruby Hash object to deserialize.
|
64
|
+
# @return [RenewCertificateOrderRequest] Deserialized object.
|
65
|
+
#
|
66
|
+
def self.deserialize_object(object)
|
67
|
+
return if object.nil?
|
68
|
+
output_object = RenewCertificateOrderRequest.new
|
69
|
+
|
70
|
+
deserialized_property = object['location']
|
71
|
+
output_object.location = deserialized_property
|
72
|
+
|
73
|
+
deserialized_property = object['id']
|
74
|
+
output_object.id = deserialized_property
|
75
|
+
|
76
|
+
deserialized_property = object['name']
|
77
|
+
output_object.name = deserialized_property
|
78
|
+
|
79
|
+
deserialized_property = object['kind']
|
80
|
+
output_object.kind = deserialized_property
|
81
|
+
|
82
|
+
deserialized_property = object['type']
|
83
|
+
output_object.type = deserialized_property
|
84
|
+
|
85
|
+
deserialized_property = object['tags']
|
86
|
+
output_object.tags = deserialized_property
|
87
|
+
|
88
|
+
deserialized_property = object['properties']
|
89
|
+
unless deserialized_property.nil?
|
90
|
+
deserialized_property = RenewCertificateOrderRequestProperties.deserialize_object(deserialized_property)
|
91
|
+
end
|
92
|
+
output_object.properties = deserialized_property
|
93
|
+
|
94
|
+
output_object
|
95
|
+
end
|
96
|
+
end
|
97
|
+
end
|
98
|
+
end
|