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
|
|
@@ -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
|
|
@@ -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
|
|
@@ -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
|
|
@@ -34,7 +34,7 @@ module Azure::ARM::Web
|
|
34
34
|
attr_accessor :next_reset_time
|
35
35
|
|
36
36
|
# @return [ComputeModeOptions] ComputeMode used for this usage. Possible
|
37
|
-
# values include: 'Shared', 'Dedicated'
|
37
|
+
# values include: 'Shared', 'Dedicated', 'Dynamic'
|
38
38
|
attr_accessor :compute_mode
|
39
39
|
|
40
40
|
# @return [String] SiteMode used for this usage
|
@@ -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
|
|
@@ -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
|
|
@@ -21,6 +21,10 @@ module Azure::ARM::Web
|
|
21
21
|
# @return [String] Password used for publishing
|
22
22
|
attr_accessor :publishing_password
|
23
23
|
|
24
|
+
# @return [String] Service Control Manager URI, including username and
|
25
|
+
# password
|
26
|
+
attr_accessor :scm_uri
|
27
|
+
|
24
28
|
#
|
25
29
|
# Validate the object. Throws ValidationError if validation fails.
|
26
30
|
#
|
@@ -46,6 +50,9 @@ module Azure::ARM::Web
|
|
46
50
|
serialized_property = object.publishing_password
|
47
51
|
output_object['publishingPassword'] = serialized_property unless serialized_property.nil?
|
48
52
|
|
53
|
+
serialized_property = object.scm_uri
|
54
|
+
output_object['scmUri'] = serialized_property unless serialized_property.nil?
|
55
|
+
|
49
56
|
output_object
|
50
57
|
end
|
51
58
|
|
@@ -67,6 +74,9 @@ module Azure::ARM::Web
|
|
67
74
|
deserialized_property = object['publishingPassword']
|
68
75
|
output_object.publishing_password = deserialized_property
|
69
76
|
|
77
|
+
deserialized_property = object['scmUri']
|
78
|
+
output_object.scm_uri = deserialized_property
|
79
|
+
|
70
80
|
output_object
|
71
81
|
end
|
72
82
|
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
|
|
@@ -41,6 +41,9 @@ module Azure::ARM::Web
|
|
41
41
|
serialized_property = object.name
|
42
42
|
output_object['name'] = serialized_property unless serialized_property.nil?
|
43
43
|
|
44
|
+
serialized_property = object.kind
|
45
|
+
output_object['kind'] = serialized_property unless serialized_property.nil?
|
46
|
+
|
44
47
|
serialized_property = object.type
|
45
48
|
output_object['type'] = serialized_property unless serialized_property.nil?
|
46
49
|
|
@@ -74,6 +77,9 @@ module Azure::ARM::Web
|
|
74
77
|
deserialized_property = object['name']
|
75
78
|
output_object.name = deserialized_property
|
76
79
|
|
80
|
+
deserialized_property = object['kind']
|
81
|
+
output_object.kind = deserialized_property
|
82
|
+
|
77
83
|
deserialized_property = object['type']
|
78
84
|
output_object.type = deserialized_property
|
79
85
|
|
@@ -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
|
|
@@ -41,6 +41,9 @@ module Azure::ARM::Web
|
|
41
41
|
serialized_property = object.name
|
42
42
|
output_object['name'] = serialized_property unless serialized_property.nil?
|
43
43
|
|
44
|
+
serialized_property = object.kind
|
45
|
+
output_object['kind'] = serialized_property unless serialized_property.nil?
|
46
|
+
|
44
47
|
serialized_property = object.type
|
45
48
|
output_object['type'] = serialized_property unless serialized_property.nil?
|
46
49
|
|
@@ -74,6 +77,9 @@ module Azure::ARM::Web
|
|
74
77
|
deserialized_property = object['name']
|
75
78
|
output_object.name = deserialized_property
|
76
79
|
|
80
|
+
deserialized_property = object['kind']
|
81
|
+
output_object.kind = deserialized_property
|
82
|
+
|
77
83
|
deserialized_property = object['type']
|
78
84
|
output_object.type = deserialized_property
|
79
85
|
|
@@ -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
|
|
@@ -27,6 +27,13 @@ module Azure::ARM::Web
|
|
27
27
|
# connection uses.
|
28
28
|
attr_accessor :routes
|
29
29
|
|
30
|
+
# @return [Boolean] Flag to determine if a resync is required
|
31
|
+
attr_accessor :resync_required
|
32
|
+
|
33
|
+
# @return [String] Dns servers to be used by this VNET. This should be a
|
34
|
+
# comma-separated list of IP addresses.
|
35
|
+
attr_accessor :dns_servers
|
36
|
+
|
30
37
|
#
|
31
38
|
# Validate the object. Throws ValidationError if validation fails.
|
32
39
|
#
|
@@ -65,6 +72,12 @@ module Azure::ARM::Web
|
|
65
72
|
end
|
66
73
|
output_object['routes'] = serialized_property unless serialized_property.nil?
|
67
74
|
|
75
|
+
serialized_property = object.resync_required
|
76
|
+
output_object['resyncRequired'] = serialized_property unless serialized_property.nil?
|
77
|
+
|
78
|
+
serialized_property = object.dns_servers
|
79
|
+
output_object['dnsServers'] = serialized_property unless serialized_property.nil?
|
80
|
+
|
68
81
|
output_object
|
69
82
|
end
|
70
83
|
|
@@ -99,6 +112,12 @@ module Azure::ARM::Web
|
|
99
112
|
end
|
100
113
|
output_object.routes = deserialized_property
|
101
114
|
|
115
|
+
deserialized_property = object['resyncRequired']
|
116
|
+
output_object.resync_required = deserialized_property
|
117
|
+
|
118
|
+
deserialized_property = object['dnsServers']
|
119
|
+
output_object.dns_servers = deserialized_property
|
120
|
+
|
102
121
|
output_object
|
103
122
|
end
|
104
123
|
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
|
|
@@ -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
|
|
@@ -44,6 +44,9 @@ module Azure::ARM::Web
|
|
44
44
|
serialized_property = object.name
|
45
45
|
output_object['name'] = serialized_property unless serialized_property.nil?
|
46
46
|
|
47
|
+
serialized_property = object.kind
|
48
|
+
output_object['kind'] = serialized_property unless serialized_property.nil?
|
49
|
+
|
47
50
|
serialized_property = object.type
|
48
51
|
output_object['type'] = serialized_property unless serialized_property.nil?
|
49
52
|
|
@@ -83,6 +86,9 @@ module Azure::ARM::Web
|
|
83
86
|
deserialized_property = object['name']
|
84
87
|
output_object.name = deserialized_property
|
85
88
|
|
89
|
+
deserialized_property = object['kind']
|
90
|
+
output_object.kind = deserialized_property
|
91
|
+
|
86
92
|
deserialized_property = object['type']
|
87
93
|
output_object.type = deserialized_property
|
88
94
|
|
@@ -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
|
|
@@ -16,7 +16,7 @@ module Azure::ARM::Web
|
|
16
16
|
attr_accessor :worker_size_id
|
17
17
|
|
18
18
|
# @return [ComputeModeOptions] Shared or dedicated web app hosting.
|
19
|
-
# Possible values include: 'Shared', 'Dedicated'
|
19
|
+
# Possible values include: 'Shared', 'Dedicated', 'Dynamic'
|
20
20
|
attr_accessor :compute_mode
|
21
21
|
|
22
22
|
# @return [String] VM size of the worker pool instances
|
@@ -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
|
|
@@ -32,13 +32,37 @@ module Azure::ARM::Web
|
|
32
32
|
#
|
33
33
|
# Gets the source controls available for Azure websites
|
34
34
|
#
|
35
|
-
# @param [Hash{String => String}]
|
36
|
-
#
|
35
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
36
|
+
# will be added to the HTTP request.
|
37
37
|
#
|
38
|
-
# @return [
|
39
|
-
# response.
|
38
|
+
# @return [SourceControlCollection] operation results.
|
40
39
|
#
|
41
40
|
def get_source_controls(custom_headers = nil)
|
41
|
+
response = get_source_controls_async(custom_headers).value!
|
42
|
+
response.body unless response.nil?
|
43
|
+
end
|
44
|
+
|
45
|
+
#
|
46
|
+
# Gets the source controls available for Azure websites
|
47
|
+
#
|
48
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
49
|
+
# will be added to the HTTP request.
|
50
|
+
#
|
51
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
52
|
+
#
|
53
|
+
def get_source_controls_with_http_info(custom_headers = nil)
|
54
|
+
get_source_controls_async(custom_headers).value!
|
55
|
+
end
|
56
|
+
|
57
|
+
#
|
58
|
+
# Gets the source controls available for Azure websites
|
59
|
+
#
|
60
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
61
|
+
# to the HTTP request.
|
62
|
+
#
|
63
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
64
|
+
#
|
65
|
+
def get_source_controls_async(custom_headers = nil)
|
42
66
|
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
43
67
|
request_headers = {}
|
44
68
|
|
@@ -51,7 +75,10 @@ module Azure::ARM::Web
|
|
51
75
|
query_params: {'api-version' => @client.api_version},
|
52
76
|
headers: request_headers.merge(custom_headers || {})
|
53
77
|
}
|
54
|
-
|
78
|
+
|
79
|
+
request_url = @base_url || @client.base_url
|
80
|
+
|
81
|
+
request = MsRest::HttpOperationRequest.new(request_url, path_template, :get, options)
|
55
82
|
promise = request.run_promise do |req|
|
56
83
|
@client.credentials.sign_request(req) unless @client.credentials.nil?
|
57
84
|
end
|
@@ -90,13 +117,39 @@ module Azure::ARM::Web
|
|
90
117
|
# Gets source control token
|
91
118
|
#
|
92
119
|
# @param source_control_type [String] Type of source control
|
93
|
-
# @param [Hash{String => String}]
|
94
|
-
#
|
120
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
121
|
+
# will be added to the HTTP request.
|
95
122
|
#
|
96
|
-
# @return [
|
97
|
-
# response.
|
123
|
+
# @return [SourceControl] operation results.
|
98
124
|
#
|
99
125
|
def get_source_control(source_control_type, custom_headers = nil)
|
126
|
+
response = get_source_control_async(source_control_type, custom_headers).value!
|
127
|
+
response.body unless response.nil?
|
128
|
+
end
|
129
|
+
|
130
|
+
#
|
131
|
+
# Gets source control token
|
132
|
+
#
|
133
|
+
# @param source_control_type [String] Type of source control
|
134
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
135
|
+
# will be added to the HTTP request.
|
136
|
+
#
|
137
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
138
|
+
#
|
139
|
+
def get_source_control_with_http_info(source_control_type, custom_headers = nil)
|
140
|
+
get_source_control_async(source_control_type, custom_headers).value!
|
141
|
+
end
|
142
|
+
|
143
|
+
#
|
144
|
+
# Gets source control token
|
145
|
+
#
|
146
|
+
# @param source_control_type [String] Type of source control
|
147
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
148
|
+
# to the HTTP request.
|
149
|
+
#
|
150
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
151
|
+
#
|
152
|
+
def get_source_control_async(source_control_type, custom_headers = nil)
|
100
153
|
fail ArgumentError, 'source_control_type is nil' if source_control_type.nil?
|
101
154
|
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
102
155
|
request_headers = {}
|
@@ -111,7 +164,10 @@ module Azure::ARM::Web
|
|
111
164
|
query_params: {'api-version' => @client.api_version},
|
112
165
|
headers: request_headers.merge(custom_headers || {})
|
113
166
|
}
|
114
|
-
|
167
|
+
|
168
|
+
request_url = @base_url || @client.base_url
|
169
|
+
|
170
|
+
request = MsRest::HttpOperationRequest.new(request_url, path_template, :get, options)
|
115
171
|
promise = request.run_promise do |req|
|
116
172
|
@client.credentials.sign_request(req) unless @client.credentials.nil?
|
117
173
|
end
|
@@ -151,13 +207,41 @@ module Azure::ARM::Web
|
|
151
207
|
#
|
152
208
|
# @param source_control_type [String] Type of source control
|
153
209
|
# @param request_message [SourceControl] Source control token information
|
154
|
-
# @param [Hash{String => String}]
|
155
|
-
#
|
210
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
211
|
+
# will be added to the HTTP request.
|
156
212
|
#
|
157
|
-
# @return [
|
158
|
-
# response.
|
213
|
+
# @return [SourceControl] operation results.
|
159
214
|
#
|
160
215
|
def update_source_control(source_control_type, request_message, custom_headers = nil)
|
216
|
+
response = update_source_control_async(source_control_type, request_message, custom_headers).value!
|
217
|
+
response.body unless response.nil?
|
218
|
+
end
|
219
|
+
|
220
|
+
#
|
221
|
+
# Updates source control token
|
222
|
+
#
|
223
|
+
# @param source_control_type [String] Type of source control
|
224
|
+
# @param request_message [SourceControl] Source control token information
|
225
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
226
|
+
# will be added to the HTTP request.
|
227
|
+
#
|
228
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
229
|
+
#
|
230
|
+
def update_source_control_with_http_info(source_control_type, request_message, custom_headers = nil)
|
231
|
+
update_source_control_async(source_control_type, request_message, custom_headers).value!
|
232
|
+
end
|
233
|
+
|
234
|
+
#
|
235
|
+
# Updates source control token
|
236
|
+
#
|
237
|
+
# @param source_control_type [String] Type of source control
|
238
|
+
# @param request_message [SourceControl] Source control token information
|
239
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
240
|
+
# to the HTTP request.
|
241
|
+
#
|
242
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
243
|
+
#
|
244
|
+
def update_source_control_async(source_control_type, request_message, custom_headers = nil)
|
161
245
|
fail ArgumentError, 'source_control_type is nil' if source_control_type.nil?
|
162
246
|
fail ArgumentError, 'request_message is nil' if request_message.nil?
|
163
247
|
request_message.validate unless request_message.nil?
|
@@ -173,7 +257,7 @@ module Azure::ARM::Web
|
|
173
257
|
unless request_message.nil?
|
174
258
|
request_message = SourceControl.serialize_object(request_message)
|
175
259
|
end
|
176
|
-
request_content = JSON.generate(request_message, quirks_mode: true)
|
260
|
+
request_content = request_message != nil ? JSON.generate(request_message, quirks_mode: true) : nil
|
177
261
|
path_template = '/providers/Microsoft.Web/sourcecontrols/{sourceControlType}'
|
178
262
|
options = {
|
179
263
|
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
@@ -182,7 +266,10 @@ module Azure::ARM::Web
|
|
182
266
|
body: request_content,
|
183
267
|
headers: request_headers.merge(custom_headers || {})
|
184
268
|
}
|
185
|
-
|
269
|
+
|
270
|
+
request_url = @base_url || @client.base_url
|
271
|
+
|
272
|
+
request = MsRest::HttpOperationRequest.new(request_url, path_template, :put, options)
|
186
273
|
promise = request.run_promise do |req|
|
187
274
|
@client.credentials.sign_request(req) unless @client.credentials.nil?
|
188
275
|
end
|
@@ -220,13 +307,37 @@ module Azure::ARM::Web
|
|
220
307
|
#
|
221
308
|
# Gets publishing user
|
222
309
|
#
|
223
|
-
# @param [Hash{String => String}]
|
224
|
-
#
|
310
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
311
|
+
# will be added to the HTTP request.
|
225
312
|
#
|
226
|
-
# @return [
|
227
|
-
# response.
|
313
|
+
# @return [User] operation results.
|
228
314
|
#
|
229
315
|
def get_publishing_user(custom_headers = nil)
|
316
|
+
response = get_publishing_user_async(custom_headers).value!
|
317
|
+
response.body unless response.nil?
|
318
|
+
end
|
319
|
+
|
320
|
+
#
|
321
|
+
# Gets publishing user
|
322
|
+
#
|
323
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
324
|
+
# will be added to the HTTP request.
|
325
|
+
#
|
326
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
327
|
+
#
|
328
|
+
def get_publishing_user_with_http_info(custom_headers = nil)
|
329
|
+
get_publishing_user_async(custom_headers).value!
|
330
|
+
end
|
331
|
+
|
332
|
+
#
|
333
|
+
# Gets publishing user
|
334
|
+
#
|
335
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
336
|
+
# to the HTTP request.
|
337
|
+
#
|
338
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
339
|
+
#
|
340
|
+
def get_publishing_user_async(custom_headers = nil)
|
230
341
|
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
231
342
|
request_headers = {}
|
232
343
|
|
@@ -239,7 +350,10 @@ module Azure::ARM::Web
|
|
239
350
|
query_params: {'api-version' => @client.api_version},
|
240
351
|
headers: request_headers.merge(custom_headers || {})
|
241
352
|
}
|
242
|
-
|
353
|
+
|
354
|
+
request_url = @base_url || @client.base_url
|
355
|
+
|
356
|
+
request = MsRest::HttpOperationRequest.new(request_url, path_template, :get, options)
|
243
357
|
promise = request.run_promise do |req|
|
244
358
|
@client.credentials.sign_request(req) unless @client.credentials.nil?
|
245
359
|
end
|
@@ -278,13 +392,39 @@ module Azure::ARM::Web
|
|
278
392
|
# Updates publishing user
|
279
393
|
#
|
280
394
|
# @param request_message [User] Details of publishing user
|
281
|
-
# @param [Hash{String => String}]
|
282
|
-
#
|
395
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
396
|
+
# will be added to the HTTP request.
|
283
397
|
#
|
284
|
-
# @return [
|
285
|
-
# response.
|
398
|
+
# @return [User] operation results.
|
286
399
|
#
|
287
400
|
def update_publishing_user(request_message, custom_headers = nil)
|
401
|
+
response = update_publishing_user_async(request_message, custom_headers).value!
|
402
|
+
response.body unless response.nil?
|
403
|
+
end
|
404
|
+
|
405
|
+
#
|
406
|
+
# Updates publishing user
|
407
|
+
#
|
408
|
+
# @param request_message [User] Details of publishing user
|
409
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
410
|
+
# will be added to the HTTP request.
|
411
|
+
#
|
412
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
413
|
+
#
|
414
|
+
def update_publishing_user_with_http_info(request_message, custom_headers = nil)
|
415
|
+
update_publishing_user_async(request_message, custom_headers).value!
|
416
|
+
end
|
417
|
+
|
418
|
+
#
|
419
|
+
# Updates publishing user
|
420
|
+
#
|
421
|
+
# @param request_message [User] Details of publishing user
|
422
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
423
|
+
# to the HTTP request.
|
424
|
+
#
|
425
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
426
|
+
#
|
427
|
+
def update_publishing_user_async(request_message, custom_headers = nil)
|
288
428
|
fail ArgumentError, 'request_message is nil' if request_message.nil?
|
289
429
|
request_message.validate unless request_message.nil?
|
290
430
|
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
@@ -299,7 +439,7 @@ module Azure::ARM::Web
|
|
299
439
|
unless request_message.nil?
|
300
440
|
request_message = User.serialize_object(request_message)
|
301
441
|
end
|
302
|
-
request_content = JSON.generate(request_message, quirks_mode: true)
|
442
|
+
request_content = request_message != nil ? JSON.generate(request_message, quirks_mode: true) : nil
|
303
443
|
path_template = '/providers/Microsoft.Web/publishingUsers/web'
|
304
444
|
options = {
|
305
445
|
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
@@ -307,7 +447,10 @@ module Azure::ARM::Web
|
|
307
447
|
body: request_content,
|
308
448
|
headers: request_headers.merge(custom_headers || {})
|
309
449
|
}
|
310
|
-
|
450
|
+
|
451
|
+
request_url = @base_url || @client.base_url
|
452
|
+
|
453
|
+
request = MsRest::HttpOperationRequest.new(request_url, path_template, :put, options)
|
311
454
|
promise = request.run_promise do |req|
|
312
455
|
@client.credentials.sign_request(req) unless @client.credentials.nil?
|
313
456
|
end
|