azure_mgmt_web 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.rspec +3 -0
- data/LICENSE.txt +21 -0
- data/Rakefile +5 -0
- data/azure_mgmt_web.gemspec +35 -0
- data/lib/azure_mgmt_web.rb +236 -0
- data/lib/azure_mgmt_web/certificates.rb +693 -0
- data/lib/azure_mgmt_web/classic_mobile_services.rb +208 -0
- data/lib/azure_mgmt_web/domains.rb +459 -0
- data/lib/azure_mgmt_web/global.rb +793 -0
- data/lib/azure_mgmt_web/global_domain_registration.rb +351 -0
- data/lib/azure_mgmt_web/global_resource_groups.rb +91 -0
- data/lib/azure_mgmt_web/hosting_environments.rb +2629 -0
- data/lib/azure_mgmt_web/managed_hosting_environments.rb +652 -0
- data/lib/azure_mgmt_web/models/access_control_entry_action.rb +16 -0
- data/lib/azure_mgmt_web/models/address.rb +101 -0
- data/lib/azure_mgmt_web/models/address_response.rb +105 -0
- data/lib/azure_mgmt_web/models/api_definition_info.rb +56 -0
- data/lib/azure_mgmt_web/models/application_logs_config.rb +97 -0
- data/lib/azure_mgmt_web/models/arm_plan.rb +92 -0
- data/lib/azure_mgmt_web/models/auto_heal_action_type.rb +17 -0
- data/lib/azure_mgmt_web/models/auto_heal_actions.rb +89 -0
- data/lib/azure_mgmt_web/models/auto_heal_custom_action.rb +66 -0
- data/lib/azure_mgmt_web/models/auto_heal_rules.rb +80 -0
- data/lib/azure_mgmt_web/models/auto_heal_triggers.rb +122 -0
- data/lib/azure_mgmt_web/models/azure_blob_storage_application_logs_config.rb +82 -0
- data/lib/azure_mgmt_web/models/azure_blob_storage_http_logs_config.rb +78 -0
- data/lib/azure_mgmt_web/models/azure_resource_type.rb +16 -0
- data/lib/azure_mgmt_web/models/azure_table_storage_application_logs_config.rb +70 -0
- data/lib/azure_mgmt_web/models/backup_item.rb +92 -0
- data/lib/azure_mgmt_web/models/backup_item_collection.rb +85 -0
- data/lib/azure_mgmt_web/models/backup_item_properties.rb +215 -0
- data/lib/azure_mgmt_web/models/backup_item_status.rb +24 -0
- data/lib/azure_mgmt_web/models/backup_request.rb +92 -0
- data/lib/azure_mgmt_web/models/backup_request_properties.rb +136 -0
- data/lib/azure_mgmt_web/models/backup_restore_operation_type.rb +17 -0
- data/lib/azure_mgmt_web/models/backup_schedule.rb +118 -0
- data/lib/azure_mgmt_web/models/built_in_authentication_provider.rb +19 -0
- data/lib/azure_mgmt_web/models/certificate.rb +92 -0
- data/lib/azure_mgmt_web/models/certificate_collection.rb +85 -0
- data/lib/azure_mgmt_web/models/certificate_properties.rb +194 -0
- data/lib/azure_mgmt_web/models/channels.rb +18 -0
- data/lib/azure_mgmt_web/models/classic_mobile_service.rb +92 -0
- data/lib/azure_mgmt_web/models/classic_mobile_service_collection.rb +85 -0
- data/lib/azure_mgmt_web/models/classic_mobile_service_properties.rb +56 -0
- data/lib/azure_mgmt_web/models/clone_ability_result.rb +17 -0
- data/lib/azure_mgmt_web/models/cloning_info.rb +152 -0
- data/lib/azure_mgmt_web/models/compute_mode_options.rb +16 -0
- data/lib/azure_mgmt_web/models/conn_string_info.rb +79 -0
- data/lib/azure_mgmt_web/models/conn_string_value_type_pair.rb +70 -0
- data/lib/azure_mgmt_web/models/connection_string_dictionary.rb +102 -0
- data/lib/azure_mgmt_web/models/contact.rb +136 -0
- data/lib/azure_mgmt_web/models/cors_settings.rb +59 -0
- data/lib/azure_mgmt_web/models/csm_move_resource_envelope.rb +66 -0
- data/lib/azure_mgmt_web/models/csm_publishing_profile_options.rb +59 -0
- data/lib/azure_mgmt_web/models/csm_site_recovery_entity.rb +80 -0
- data/lib/azure_mgmt_web/models/csm_slot_entity.rb +67 -0
- data/lib/azure_mgmt_web/models/csm_usage_quota.rb +102 -0
- data/lib/azure_mgmt_web/models/csm_usage_quota_collection.rb +85 -0
- data/lib/azure_mgmt_web/models/csr.rb +92 -0
- data/lib/azure_mgmt_web/models/csr_properties.rb +110 -0
- data/lib/azure_mgmt_web/models/custom_host_name_dns_record_type.rb +16 -0
- data/lib/azure_mgmt_web/models/database_backup_setting.rb +91 -0
- data/lib/azure_mgmt_web/models/database_server_type.rb +18 -0
- data/lib/azure_mgmt_web/models/deleted_site.rb +92 -0
- data/lib/azure_mgmt_web/models/deleted_site_collection.rb +85 -0
- data/lib/azure_mgmt_web/models/deleted_site_properties.rb +365 -0
- data/lib/azure_mgmt_web/models/deployment.rb +92 -0
- data/lib/azure_mgmt_web/models/deployment_collection.rb +85 -0
- data/lib/azure_mgmt_web/models/deployment_properties.rb +142 -0
- data/lib/azure_mgmt_web/models/domain.rb +92 -0
- data/lib/azure_mgmt_web/models/domain_availablility_check_result.rb +79 -0
- data/lib/azure_mgmt_web/models/domain_collection.rb +85 -0
- data/lib/azure_mgmt_web/models/domain_control_center_sso_request.rb +75 -0
- data/lib/azure_mgmt_web/models/domain_properties.rb +262 -0
- data/lib/azure_mgmt_web/models/domain_purchase_consent.rb +79 -0
- data/lib/azure_mgmt_web/models/domain_recommendation_search_parameters.rb +67 -0
- data/lib/azure_mgmt_web/models/domain_registration_input.rb +92 -0
- data/lib/azure_mgmt_web/models/domain_registration_input_properties.rb +271 -0
- data/lib/azure_mgmt_web/models/domain_status.rb +35 -0
- data/lib/azure_mgmt_web/models/domain_type.rb +16 -0
- data/lib/azure_mgmt_web/models/enabled_config.rb +56 -0
- data/lib/azure_mgmt_web/models/experiments.rb +77 -0
- data/lib/azure_mgmt_web/models/file_system_application_logs_config.rb +60 -0
- data/lib/azure_mgmt_web/models/file_system_http_logs_config.rb +82 -0
- data/lib/azure_mgmt_web/models/frequency_unit.rb +16 -0
- data/lib/azure_mgmt_web/models/geo_region.rb +92 -0
- data/lib/azure_mgmt_web/models/geo_region_collection.rb +85 -0
- data/lib/azure_mgmt_web/models/geo_region_properties.rb +74 -0
- data/lib/azure_mgmt_web/models/handler_mapping.rb +79 -0
- data/lib/azure_mgmt_web/models/host_name.rb +120 -0
- data/lib/azure_mgmt_web/models/host_name_binding.rb +92 -0
- data/lib/azure_mgmt_web/models/host_name_binding_collection.rb +85 -0
- data/lib/azure_mgmt_web/models/host_name_binding_properties.rb +124 -0
- data/lib/azure_mgmt_web/models/host_name_ssl_state.rb +98 -0
- data/lib/azure_mgmt_web/models/host_name_type.rb +16 -0
- data/lib/azure_mgmt_web/models/hosting_environment.rb +92 -0
- data/lib/azure_mgmt_web/models/hosting_environment_collection.rb +85 -0
- data/lib/azure_mgmt_web/models/hosting_environment_diagnostics.rb +65 -0
- data/lib/azure_mgmt_web/models/hosting_environment_profile.rb +78 -0
- data/lib/azure_mgmt_web/models/hosting_environment_properties.rb +452 -0
- data/lib/azure_mgmt_web/models/hosting_environment_status.rb +18 -0
- data/lib/azure_mgmt_web/models/http_logs_config.rb +80 -0
- data/lib/azure_mgmt_web/models/internal_load_balancing_mode.rb +17 -0
- data/lib/azure_mgmt_web/models/key_value_pair_string_string.rb +65 -0
- data/lib/azure_mgmt_web/models/localizable_string.rb +65 -0
- data/lib/azure_mgmt_web/models/log_level.rb +19 -0
- data/lib/azure_mgmt_web/models/managed_hosting_environment.rb +92 -0
- data/lib/azure_mgmt_web/models/managed_hosting_environment_collection.rb +85 -0
- data/lib/azure_mgmt_web/models/managed_hosting_environment_properties.rb +179 -0
- data/lib/azure_mgmt_web/models/managed_hosting_environment_status.rb +17 -0
- data/lib/azure_mgmt_web/models/managed_pipeline_mode.rb +16 -0
- data/lib/azure_mgmt_web/models/metric_availabilily.rb +66 -0
- data/lib/azure_mgmt_web/models/metric_definition.rb +92 -0
- data/lib/azure_mgmt_web/models/metric_definition_collection.rb +85 -0
- data/lib/azure_mgmt_web/models/metric_definition_properties.rb +113 -0
- data/lib/azure_mgmt_web/models/name_identifier.rb +56 -0
- data/lib/azure_mgmt_web/models/name_identifier_collection.rb +85 -0
- data/lib/azure_mgmt_web/models/name_value_pair.rb +65 -0
- data/lib/azure_mgmt_web/models/network_access_control_entry.rb +88 -0
- data/lib/azure_mgmt_web/models/network_features.rb +94 -0
- data/lib/azure_mgmt_web/models/network_features_properties.rb +102 -0
- data/lib/azure_mgmt_web/models/notification_level.rb +18 -0
- data/lib/azure_mgmt_web/models/premier_add_on_request.rb +107 -0
- data/lib/azure_mgmt_web/models/provisioning_state.rb +19 -0
- data/lib/azure_mgmt_web/models/ramp_up_rule.rb +147 -0
- data/lib/azure_mgmt_web/models/recommendation.rb +210 -0
- data/lib/azure_mgmt_web/models/recommendation_rule.rb +146 -0
- data/lib/azure_mgmt_web/models/relay_service_connection_entity.rb +92 -0
- data/lib/azure_mgmt_web/models/relay_service_connection_entity_properties.rb +111 -0
- data/lib/azure_mgmt_web/models/requests_based_trigger.rb +66 -0
- data/lib/azure_mgmt_web/models/resource_metric.rb +171 -0
- data/lib/azure_mgmt_web/models/resource_metric_collection.rb +85 -0
- data/lib/azure_mgmt_web/models/resource_metric_name.rb +65 -0
- data/lib/azure_mgmt_web/models/resource_metric_value.rb +106 -0
- data/lib/azure_mgmt_web/models/resource_name_availability.rb +78 -0
- data/lib/azure_mgmt_web/models/resource_name_availability_request.rb +74 -0
- data/lib/azure_mgmt_web/models/restore_request.rb +92 -0
- data/lib/azure_mgmt_web/models/restore_request_properties.rb +162 -0
- data/lib/azure_mgmt_web/models/restore_response.rb +92 -0
- data/lib/azure_mgmt_web/models/restore_response_properties.rb +57 -0
- data/lib/azure_mgmt_web/models/routing_rule.rb +58 -0
- data/lib/azure_mgmt_web/models/server_farm_collection.rb +85 -0
- data/lib/azure_mgmt_web/models/server_farm_with_rich_sku.rb +108 -0
- data/lib/azure_mgmt_web/models/server_farm_with_rich_sku_properties.rb +164 -0
- data/lib/azure_mgmt_web/models/site.rb +92 -0
- data/lib/azure_mgmt_web/models/site_auth_settings.rb +379 -0
- data/lib/azure_mgmt_web/models/site_availability_state.rb +17 -0
- data/lib/azure_mgmt_web/models/site_cloneability.rb +157 -0
- data/lib/azure_mgmt_web/models/site_cloneability_criterion.rb +65 -0
- data/lib/azure_mgmt_web/models/site_collection.rb +85 -0
- data/lib/azure_mgmt_web/models/site_config.rb +92 -0
- data/lib/azure_mgmt_web/models/site_config_properties.rb +554 -0
- data/lib/azure_mgmt_web/models/site_instance.rb +92 -0
- data/lib/azure_mgmt_web/models/site_instance_collection.rb +85 -0
- data/lib/azure_mgmt_web/models/site_instance_properties.rb +56 -0
- data/lib/azure_mgmt_web/models/site_limits.rb +77 -0
- data/lib/azure_mgmt_web/models/site_load_balancing.rb +19 -0
- data/lib/azure_mgmt_web/models/site_logs_config.rb +92 -0
- data/lib/azure_mgmt_web/models/site_logs_config_properties.rb +110 -0
- data/lib/azure_mgmt_web/models/site_properties.rb +354 -0
- data/lib/azure_mgmt_web/models/site_source_control.rb +92 -0
- data/lib/azure_mgmt_web/models/site_source_control_properties.rb +92 -0
- data/lib/azure_mgmt_web/models/sku_capacity.rb +89 -0
- data/lib/azure_mgmt_web/models/sku_description.rb +93 -0
- data/lib/azure_mgmt_web/models/sku_info.rb +87 -0
- data/lib/azure_mgmt_web/models/sku_info_collection.rb +85 -0
- data/lib/azure_mgmt_web/models/slot_config_names.rb +69 -0
- data/lib/azure_mgmt_web/models/slot_config_names_resource.rb +92 -0
- data/lib/azure_mgmt_web/models/slot_config_names_resource_properties.rb +66 -0
- data/lib/azure_mgmt_web/models/slot_difference.rb +93 -0
- data/lib/azure_mgmt_web/models/slot_difference_collection.rb +85 -0
- data/lib/azure_mgmt_web/models/slot_difference_properties.rb +113 -0
- data/lib/azure_mgmt_web/models/slow_requests_based_trigger.rb +75 -0
- data/lib/azure_mgmt_web/models/source_control.rb +92 -0
- data/lib/azure_mgmt_web/models/source_control_collection.rb +85 -0
- data/lib/azure_mgmt_web/models/source_control_properties.rb +94 -0
- data/lib/azure_mgmt_web/models/ssl_state.rb +17 -0
- data/lib/azure_mgmt_web/models/stamp_capacity.rb +155 -0
- data/lib/azure_mgmt_web/models/stamp_capacity_collection.rb +85 -0
- data/lib/azure_mgmt_web/models/status_codes_based_trigger.rb +96 -0
- data/lib/azure_mgmt_web/models/status_options.rb +16 -0
- data/lib/azure_mgmt_web/models/string_dictionary.rb +86 -0
- data/lib/azure_mgmt_web/models/tld_legal_agreement.rb +83 -0
- data/lib/azure_mgmt_web/models/tld_legal_agreement_collection.rb +85 -0
- data/lib/azure_mgmt_web/models/top_level_domain.rb +92 -0
- data/lib/azure_mgmt_web/models/top_level_domain_agreement_option.rb +57 -0
- data/lib/azure_mgmt_web/models/top_level_domain_collection.rb +85 -0
- data/lib/azure_mgmt_web/models/top_level_domain_properties.rb +66 -0
- data/lib/azure_mgmt_web/models/unauthenticated_client_action.rb +16 -0
- data/lib/azure_mgmt_web/models/usage.rb +92 -0
- data/lib/azure_mgmt_web/models/usage_collection.rb +85 -0
- data/lib/azure_mgmt_web/models/usage_properties.rb +136 -0
- data/lib/azure_mgmt_web/models/usage_state.rb +16 -0
- data/lib/azure_mgmt_web/models/user.rb +92 -0
- data/lib/azure_mgmt_web/models/user_properties.rb +74 -0
- data/lib/azure_mgmt_web/models/virtual_application.rb +103 -0
- data/lib/azure_mgmt_web/models/virtual_directory.rb +65 -0
- data/lib/azure_mgmt_web/models/virtual_ipmapping.rb +85 -0
- data/lib/azure_mgmt_web/models/virtual_network_profile.rb +83 -0
- data/lib/azure_mgmt_web/models/vnet_gateway.rb +93 -0
- data/lib/azure_mgmt_web/models/vnet_gateway_properties.rb +65 -0
- data/lib/azure_mgmt_web/models/vnet_info.rb +93 -0
- data/lib/azure_mgmt_web/models/vnet_info_properties.rb +106 -0
- data/lib/azure_mgmt_web/models/vnet_route.rb +92 -0
- data/lib/azure_mgmt_web/models/vnet_route_properties.rb +97 -0
- data/lib/azure_mgmt_web/models/worker_pool.rb +108 -0
- data/lib/azure_mgmt_web/models/worker_pool_collection.rb +85 -0
- data/lib/azure_mgmt_web/models/worker_pool_properties.rb +100 -0
- data/lib/azure_mgmt_web/models/worker_size_options.rb +18 -0
- data/lib/azure_mgmt_web/module_definition.rb +8 -0
- data/lib/azure_mgmt_web/provider.rb +346 -0
- data/lib/azure_mgmt_web/recommendations.rb +320 -0
- data/lib/azure_mgmt_web/server_farms.rb +1409 -0
- data/lib/azure_mgmt_web/sites.rb +11072 -0
- data/lib/azure_mgmt_web/top_level_domains.rb +226 -0
- data/lib/azure_mgmt_web/usage_operations.rb +88 -0
- data/lib/azure_mgmt_web/version.rb +8 -0
- data/lib/azure_mgmt_web/web_site_management_client.rb +118 -0
- metadata +346 -0
@@ -0,0 +1,16 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator 0.16.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
|
+
# Defines values for AccessControlEntryAction
|
10
|
+
#
|
11
|
+
module AccessControlEntryAction
|
12
|
+
Permit = "Permit"
|
13
|
+
Deny = "Deny"
|
14
|
+
end
|
15
|
+
end
|
16
|
+
end
|
@@ -0,0 +1,101 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator 0.16.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
|
+
# Address information for domain registration
|
10
|
+
#
|
11
|
+
class Address
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [String] Address 1
|
16
|
+
attr_accessor :address1
|
17
|
+
|
18
|
+
# @return [String] Address 2
|
19
|
+
attr_accessor :address2
|
20
|
+
|
21
|
+
# @return [String] City
|
22
|
+
attr_accessor :city
|
23
|
+
|
24
|
+
# @return [String] Country
|
25
|
+
attr_accessor :country
|
26
|
+
|
27
|
+
# @return [String] Postal code
|
28
|
+
attr_accessor :postal_code
|
29
|
+
|
30
|
+
# @return [String] State
|
31
|
+
attr_accessor :state
|
32
|
+
|
33
|
+
#
|
34
|
+
# Validate the object. Throws ValidationError if validation fails.
|
35
|
+
#
|
36
|
+
def validate
|
37
|
+
# Nothing to validate
|
38
|
+
end
|
39
|
+
|
40
|
+
#
|
41
|
+
# Serializes given Model object into Ruby Hash.
|
42
|
+
# @param object Model object to serialize.
|
43
|
+
# @return [Hash] Serialized object in form of Ruby Hash.
|
44
|
+
#
|
45
|
+
def self.serialize_object(object)
|
46
|
+
object.validate
|
47
|
+
output_object = {}
|
48
|
+
|
49
|
+
serialized_property = object.address1
|
50
|
+
output_object['address1'] = serialized_property unless serialized_property.nil?
|
51
|
+
|
52
|
+
serialized_property = object.address2
|
53
|
+
output_object['address2'] = serialized_property unless serialized_property.nil?
|
54
|
+
|
55
|
+
serialized_property = object.city
|
56
|
+
output_object['city'] = serialized_property unless serialized_property.nil?
|
57
|
+
|
58
|
+
serialized_property = object.country
|
59
|
+
output_object['country'] = serialized_property unless serialized_property.nil?
|
60
|
+
|
61
|
+
serialized_property = object.postal_code
|
62
|
+
output_object['postalCode'] = serialized_property unless serialized_property.nil?
|
63
|
+
|
64
|
+
serialized_property = object.state
|
65
|
+
output_object['state'] = serialized_property unless serialized_property.nil?
|
66
|
+
|
67
|
+
output_object
|
68
|
+
end
|
69
|
+
|
70
|
+
#
|
71
|
+
# Deserializes given Ruby Hash into Model object.
|
72
|
+
# @param object [Hash] Ruby Hash object to deserialize.
|
73
|
+
# @return [Address] Deserialized object.
|
74
|
+
#
|
75
|
+
def self.deserialize_object(object)
|
76
|
+
return if object.nil?
|
77
|
+
output_object = Address.new
|
78
|
+
|
79
|
+
deserialized_property = object['address1']
|
80
|
+
output_object.address1 = deserialized_property
|
81
|
+
|
82
|
+
deserialized_property = object['address2']
|
83
|
+
output_object.address2 = deserialized_property
|
84
|
+
|
85
|
+
deserialized_property = object['city']
|
86
|
+
output_object.city = deserialized_property
|
87
|
+
|
88
|
+
deserialized_property = object['country']
|
89
|
+
output_object.country = deserialized_property
|
90
|
+
|
91
|
+
deserialized_property = object['postalCode']
|
92
|
+
output_object.postal_code = deserialized_property
|
93
|
+
|
94
|
+
deserialized_property = object['state']
|
95
|
+
output_object.state = deserialized_property
|
96
|
+
|
97
|
+
output_object
|
98
|
+
end
|
99
|
+
end
|
100
|
+
end
|
101
|
+
end
|
@@ -0,0 +1,105 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator 0.16.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
|
+
# Describes main public ip address and any extra vips
|
10
|
+
#
|
11
|
+
class AddressResponse
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [String] Main public vip
|
16
|
+
attr_accessor :service_ip_address
|
17
|
+
|
18
|
+
# @return [String] VNET internal ip address of the hostingEnvironment
|
19
|
+
# (App Service Environment) if it is in internal load-balancing mode
|
20
|
+
attr_accessor :internal_ip_address
|
21
|
+
|
22
|
+
# @return [Array<String>] IP addresses appearing on outbound connections
|
23
|
+
attr_accessor :outbound_ip_addresses
|
24
|
+
|
25
|
+
# @return [Array<VirtualIPMapping>] Additional vips
|
26
|
+
attr_accessor :vip_mappings
|
27
|
+
|
28
|
+
#
|
29
|
+
# Validate the object. Throws ValidationError if validation fails.
|
30
|
+
#
|
31
|
+
def validate
|
32
|
+
@outbound_ip_addresses.each{ |e| e.validate if e.respond_to?(:validate) } unless @outbound_ip_addresses.nil?
|
33
|
+
@vip_mappings.each{ |e| e.validate if e.respond_to?(:validate) } unless @vip_mappings.nil?
|
34
|
+
end
|
35
|
+
|
36
|
+
#
|
37
|
+
# Serializes given Model object into Ruby Hash.
|
38
|
+
# @param object Model object to serialize.
|
39
|
+
# @return [Hash] Serialized object in form of Ruby Hash.
|
40
|
+
#
|
41
|
+
def self.serialize_object(object)
|
42
|
+
object.validate
|
43
|
+
output_object = {}
|
44
|
+
|
45
|
+
serialized_property = object.service_ip_address
|
46
|
+
output_object['serviceIpAddress'] = serialized_property unless serialized_property.nil?
|
47
|
+
|
48
|
+
serialized_property = object.internal_ip_address
|
49
|
+
output_object['internalIpAddress'] = serialized_property unless serialized_property.nil?
|
50
|
+
|
51
|
+
serialized_property = object.outbound_ip_addresses
|
52
|
+
output_object['outboundIpAddresses'] = serialized_property unless serialized_property.nil?
|
53
|
+
|
54
|
+
serialized_property = object.vip_mappings
|
55
|
+
unless serialized_property.nil?
|
56
|
+
serializedArray = []
|
57
|
+
serialized_property.each do |element1|
|
58
|
+
unless element1.nil?
|
59
|
+
element1 = VirtualIPMapping.serialize_object(element1)
|
60
|
+
end
|
61
|
+
serializedArray.push(element1)
|
62
|
+
end
|
63
|
+
serialized_property = serializedArray
|
64
|
+
end
|
65
|
+
output_object['vipMappings'] = serialized_property unless serialized_property.nil?
|
66
|
+
|
67
|
+
output_object
|
68
|
+
end
|
69
|
+
|
70
|
+
#
|
71
|
+
# Deserializes given Ruby Hash into Model object.
|
72
|
+
# @param object [Hash] Ruby Hash object to deserialize.
|
73
|
+
# @return [AddressResponse] Deserialized object.
|
74
|
+
#
|
75
|
+
def self.deserialize_object(object)
|
76
|
+
return if object.nil?
|
77
|
+
output_object = AddressResponse.new
|
78
|
+
|
79
|
+
deserialized_property = object['serviceIpAddress']
|
80
|
+
output_object.service_ip_address = deserialized_property
|
81
|
+
|
82
|
+
deserialized_property = object['internalIpAddress']
|
83
|
+
output_object.internal_ip_address = deserialized_property
|
84
|
+
|
85
|
+
deserialized_property = object['outboundIpAddresses']
|
86
|
+
output_object.outbound_ip_addresses = deserialized_property
|
87
|
+
|
88
|
+
deserialized_property = object['vipMappings']
|
89
|
+
unless deserialized_property.nil?
|
90
|
+
deserialized_array = []
|
91
|
+
deserialized_property.each do |element3|
|
92
|
+
unless element3.nil?
|
93
|
+
element3 = VirtualIPMapping.deserialize_object(element3)
|
94
|
+
end
|
95
|
+
deserialized_array.push(element3)
|
96
|
+
end
|
97
|
+
deserialized_property = deserialized_array
|
98
|
+
end
|
99
|
+
output_object.vip_mappings = deserialized_property
|
100
|
+
|
101
|
+
output_object
|
102
|
+
end
|
103
|
+
end
|
104
|
+
end
|
105
|
+
end
|
@@ -0,0 +1,56 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator 0.16.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
|
+
# Information about the formal API definition for the web app.
|
10
|
+
#
|
11
|
+
class ApiDefinitionInfo
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [String] The URL of the API definition.
|
16
|
+
attr_accessor :url
|
17
|
+
|
18
|
+
#
|
19
|
+
# Validate the object. Throws ValidationError if validation fails.
|
20
|
+
#
|
21
|
+
def validate
|
22
|
+
# Nothing to validate
|
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.url
|
35
|
+
output_object['url'] = serialized_property unless serialized_property.nil?
|
36
|
+
|
37
|
+
output_object
|
38
|
+
end
|
39
|
+
|
40
|
+
#
|
41
|
+
# Deserializes given Ruby Hash into Model object.
|
42
|
+
# @param object [Hash] Ruby Hash object to deserialize.
|
43
|
+
# @return [ApiDefinitionInfo] Deserialized object.
|
44
|
+
#
|
45
|
+
def self.deserialize_object(object)
|
46
|
+
return if object.nil?
|
47
|
+
output_object = ApiDefinitionInfo.new
|
48
|
+
|
49
|
+
deserialized_property = object['url']
|
50
|
+
output_object.url = deserialized_property
|
51
|
+
|
52
|
+
output_object
|
53
|
+
end
|
54
|
+
end
|
55
|
+
end
|
56
|
+
end
|
@@ -0,0 +1,97 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator 0.16.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
|
+
# Application logs configuration
|
10
|
+
#
|
11
|
+
class ApplicationLogsConfig
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [FileSystemApplicationLogsConfig] Application logs to file
|
16
|
+
# system configuration
|
17
|
+
attr_accessor :file_system
|
18
|
+
|
19
|
+
# @return [AzureTableStorageApplicationLogsConfig] Application logs to
|
20
|
+
# azure table storage configuration
|
21
|
+
attr_accessor :azure_table_storage
|
22
|
+
|
23
|
+
# @return [AzureBlobStorageApplicationLogsConfig] Application logs to
|
24
|
+
# blob storage configuration
|
25
|
+
attr_accessor :azure_blob_storage
|
26
|
+
|
27
|
+
#
|
28
|
+
# Validate the object. Throws ValidationError if validation fails.
|
29
|
+
#
|
30
|
+
def validate
|
31
|
+
@file_system.validate unless @file_system.nil?
|
32
|
+
@azure_table_storage.validate unless @azure_table_storage.nil?
|
33
|
+
@azure_blob_storage.validate unless @azure_blob_storage.nil?
|
34
|
+
end
|
35
|
+
|
36
|
+
#
|
37
|
+
# Serializes given Model object into Ruby Hash.
|
38
|
+
# @param object Model object to serialize.
|
39
|
+
# @return [Hash] Serialized object in form of Ruby Hash.
|
40
|
+
#
|
41
|
+
def self.serialize_object(object)
|
42
|
+
object.validate
|
43
|
+
output_object = {}
|
44
|
+
|
45
|
+
serialized_property = object.file_system
|
46
|
+
unless serialized_property.nil?
|
47
|
+
serialized_property = FileSystemApplicationLogsConfig.serialize_object(serialized_property)
|
48
|
+
end
|
49
|
+
output_object['fileSystem'] = serialized_property unless serialized_property.nil?
|
50
|
+
|
51
|
+
serialized_property = object.azure_table_storage
|
52
|
+
unless serialized_property.nil?
|
53
|
+
serialized_property = AzureTableStorageApplicationLogsConfig.serialize_object(serialized_property)
|
54
|
+
end
|
55
|
+
output_object['azureTableStorage'] = serialized_property unless serialized_property.nil?
|
56
|
+
|
57
|
+
serialized_property = object.azure_blob_storage
|
58
|
+
unless serialized_property.nil?
|
59
|
+
serialized_property = AzureBlobStorageApplicationLogsConfig.serialize_object(serialized_property)
|
60
|
+
end
|
61
|
+
output_object['azureBlobStorage'] = serialized_property unless serialized_property.nil?
|
62
|
+
|
63
|
+
output_object
|
64
|
+
end
|
65
|
+
|
66
|
+
#
|
67
|
+
# Deserializes given Ruby Hash into Model object.
|
68
|
+
# @param object [Hash] Ruby Hash object to deserialize.
|
69
|
+
# @return [ApplicationLogsConfig] Deserialized object.
|
70
|
+
#
|
71
|
+
def self.deserialize_object(object)
|
72
|
+
return if object.nil?
|
73
|
+
output_object = ApplicationLogsConfig.new
|
74
|
+
|
75
|
+
deserialized_property = object['fileSystem']
|
76
|
+
unless deserialized_property.nil?
|
77
|
+
deserialized_property = FileSystemApplicationLogsConfig.deserialize_object(deserialized_property)
|
78
|
+
end
|
79
|
+
output_object.file_system = deserialized_property
|
80
|
+
|
81
|
+
deserialized_property = object['azureTableStorage']
|
82
|
+
unless deserialized_property.nil?
|
83
|
+
deserialized_property = AzureTableStorageApplicationLogsConfig.deserialize_object(deserialized_property)
|
84
|
+
end
|
85
|
+
output_object.azure_table_storage = deserialized_property
|
86
|
+
|
87
|
+
deserialized_property = object['azureBlobStorage']
|
88
|
+
unless deserialized_property.nil?
|
89
|
+
deserialized_property = AzureBlobStorageApplicationLogsConfig.deserialize_object(deserialized_property)
|
90
|
+
end
|
91
|
+
output_object.azure_blob_storage = deserialized_property
|
92
|
+
|
93
|
+
output_object
|
94
|
+
end
|
95
|
+
end
|
96
|
+
end
|
97
|
+
end
|
@@ -0,0 +1,92 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator 0.16.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
|
+
# The plan object in an ARM, represents a marketplace plan
|
10
|
+
#
|
11
|
+
class ArmPlan
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [String] The name
|
16
|
+
attr_accessor :name
|
17
|
+
|
18
|
+
# @return [String] The publisher
|
19
|
+
attr_accessor :publisher
|
20
|
+
|
21
|
+
# @return [String] The product
|
22
|
+
attr_accessor :product
|
23
|
+
|
24
|
+
# @return [String] The promotion code
|
25
|
+
attr_accessor :promotion_code
|
26
|
+
|
27
|
+
# @return [String] Version of product
|
28
|
+
attr_accessor :version
|
29
|
+
|
30
|
+
#
|
31
|
+
# Validate the object. Throws ValidationError if validation fails.
|
32
|
+
#
|
33
|
+
def validate
|
34
|
+
# Nothing to validate
|
35
|
+
end
|
36
|
+
|
37
|
+
#
|
38
|
+
# Serializes given Model object into Ruby Hash.
|
39
|
+
# @param object Model object to serialize.
|
40
|
+
# @return [Hash] Serialized object in form of Ruby Hash.
|
41
|
+
#
|
42
|
+
def self.serialize_object(object)
|
43
|
+
object.validate
|
44
|
+
output_object = {}
|
45
|
+
|
46
|
+
serialized_property = object.name
|
47
|
+
output_object['name'] = serialized_property unless serialized_property.nil?
|
48
|
+
|
49
|
+
serialized_property = object.publisher
|
50
|
+
output_object['publisher'] = serialized_property unless serialized_property.nil?
|
51
|
+
|
52
|
+
serialized_property = object.product
|
53
|
+
output_object['product'] = serialized_property unless serialized_property.nil?
|
54
|
+
|
55
|
+
serialized_property = object.promotion_code
|
56
|
+
output_object['promotionCode'] = serialized_property unless serialized_property.nil?
|
57
|
+
|
58
|
+
serialized_property = object.version
|
59
|
+
output_object['version'] = serialized_property unless serialized_property.nil?
|
60
|
+
|
61
|
+
output_object
|
62
|
+
end
|
63
|
+
|
64
|
+
#
|
65
|
+
# Deserializes given Ruby Hash into Model object.
|
66
|
+
# @param object [Hash] Ruby Hash object to deserialize.
|
67
|
+
# @return [ArmPlan] Deserialized object.
|
68
|
+
#
|
69
|
+
def self.deserialize_object(object)
|
70
|
+
return if object.nil?
|
71
|
+
output_object = ArmPlan.new
|
72
|
+
|
73
|
+
deserialized_property = object['name']
|
74
|
+
output_object.name = deserialized_property
|
75
|
+
|
76
|
+
deserialized_property = object['publisher']
|
77
|
+
output_object.publisher = deserialized_property
|
78
|
+
|
79
|
+
deserialized_property = object['product']
|
80
|
+
output_object.product = deserialized_property
|
81
|
+
|
82
|
+
deserialized_property = object['promotionCode']
|
83
|
+
output_object.promotion_code = deserialized_property
|
84
|
+
|
85
|
+
deserialized_property = object['version']
|
86
|
+
output_object.version = deserialized_property
|
87
|
+
|
88
|
+
output_object
|
89
|
+
end
|
90
|
+
end
|
91
|
+
end
|
92
|
+
end
|